POST api/fdc/NewPermitConfigurations
Request Information
URI Parameters
None.
Body Parameters
GetNewPermitConfigurationsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| PermitTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"PermitTypeId": 2
}
application/xml, text/xml
Sample:
<GetNewPermitConfigurationsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Areas.Genova.Models.Fdc"> <CustomerId>1</CustomerId> <PermitTypeId>2</PermitTypeId> </GetNewPermitConfigurationsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetNewPermitConfigurationsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Sectors | Collection of Sector |
None. |
|
| Validity | Validity |
None. |
Response Formats
application/json, text/json
Sample:
{
"Sectors": [
{
"Id": 1,
"Description": "sample string 1",
"Ordinal": 1,
"Selected": true
},
{
"Id": 1,
"Description": "sample string 1",
"Ordinal": 1,
"Selected": true
}
],
"Validity": {
"ValidFromDate": "2026-05-24T14:21:36.2419849+02:00",
"ValidToDate": "2026-05-24T14:21:36.2419849+02:00",
"Duration": {
"Id": 1,
"Description": "sample string 1"
}
}
}
application/xml, text/xml
Sample:
<GetNewPermitConfigurationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Areas.Genova.Models.Fdc">
<Sectors>
<Sector>
<Description>sample string 1</Description>
<Id>1</Id>
<Ordinal>1</Ordinal>
<Selected>true</Selected>
</Sector>
<Sector>
<Description>sample string 1</Description>
<Id>1</Id>
<Ordinal>1</Ordinal>
<Selected>true</Selected>
</Sector>
</Sectors>
<Validity>
<Duration>
<Description>sample string 1</Description>
<Id>1</Id>
</Duration>
<ValidFromDate>2026-05-24T14:21:36.2419849+02:00</ValidFromDate>
<ValidToDate>2026-05-24T14:21:36.2419849+02:00</ValidToDate>
</Validity>
</GetNewPermitConfigurationsResponse>