POST API/Document/GetWriteOffAct

Request Information

URI Parameters

None.

Body Parameters

WriteOffActRequest
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Department_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "c98d2142-c597-43bd-b6ad-72d6dd9cf9e5",
  "Department_ID": 1
}

application/xml, text/xml

Sample:
<WriteOffActRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Interaction">
  <Department_ID>1</Department_ID>
  <ID>c98d2142-c597-43bd-b6ad-72d6dd9cf9e5</ID>
</WriteOffActRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ByteResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

result

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "result": "QEA="
}

application/xml, text/xml

Sample:
<ByteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Interaction">
  <message>sample string 2</message>
  <result>QEA=</result>
  <success>true</success>
</ByteResponse>