PUT eco/permits?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PermitPATCH
NameDescriptionTypeAdditional information
ValidFrom

date

None.

ValidTo

date

None.

Status

Status

None.

Request Formats

application/json, text/json

Sample:
{
  "validFrom": "2024-02-21T07:30:57.0737427+02:00",
  "validTo": "2024-02-21T07:30:57.0737427+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-02-21T07:30:57.0737427+02:00</ValidFrom>
  <ValidTo>2024-02-21T07:30:57.0737427+02:00</ValidTo>
</PermitPATCH>

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 'PermitPATCH'.

Response Information

Resource Description

None.