POST eco/permits

Request Information

URI Parameters

None.

Body Parameters

OrderPermitPOST
NameDescriptionTypeAdditional information
PermitTypeId

integer

None.

Count

integer

None.

StartDate

date

None.

AdventurerUid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "permitTypeId": 1,
  "count": 2,
  "startDate": "2024-02-20T22:38:52.212593+02:00",
  "adventurerUid": "sample string 4"
}

application/xml, text/xml

Sample:
<OrderPermitPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism">
  <AdventurerUid>sample string 4</AdventurerUid>
  <Count>2</Count>
  <PermitTypeId>1</PermitTypeId>
  <StartDate>2024-02-20T22:38:52.212593+02:00</StartDate>
</OrderPermitPOST>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderPermitPOST'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>