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": "2024-09-08T06:43:26.8165904+02:00", "validTo": "2024-09-08T06:43:26.8165904+02: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>2024-09-08T06:43:26.8165904+02:00</ValidFrom> <ValidTo>2024-09-08T06:43:26.8165904+02:00</ValidTo> </PermitPATCH>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.