PUT eco/permits?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PermitPATCHName | Description | Type | Additional information |
---|---|---|---|
ValidFrom | date |
None. |
|
ValidTo | date |
None. |
|
Status | Status |
None. |
Request Formats
application/json, text/json
Sample:
{ "validFrom": "2025-04-03T19:17:02.7376361+00:00", "validTo": "2025-04-03T19:17:02.7376361+00:00", "status": { "id": 1, "name": "sample string 2" } }
application/xml, text/xml
Sample:
<PermitPATCH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Ecotourism"> <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Status> <ValidFrom>2025-04-03T19:17:02.7376361+00:00</ValidFrom> <ValidTo>2025-04-03T19:17:02.7376361+00:00</ValidTo> </PermitPATCH>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.