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": "57cca9af-be68-4bda-b7d8-e74c2d96c2a9",
  "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>57cca9af-be68-4bda-b7d8-e74c2d96c2a9</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>