POST api/Configurazioni/TogglePermitType

Request Information

URI Parameters

None.

Body Parameters

PermitTypeActivation
NameDescriptionTypeAdditional information
PermitTypeId

integer

None.

Application

string

None.

State

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PermitTypeId": 1,
  "Application": "sample string 2",
  "State": true
}

application/xml, text/xml

Sample:
<PermitTypeActivation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.Models.UserConfiguration">
  <Application>sample string 2</Application>
  <PermitTypeId>1</PermitTypeId>
  <State>true</State>
</PermitTypeActivation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.