POST api/batchapi/add/unloadingstep

Request Information

URI Parameters

None.

Body Parameters

BatchUnloadingStepViewModel
NameDescriptionTypeAdditional information
batch_id

globally unique identifier

Required

witness_id

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "batch_id": "7da30e8d-4423-43e8-9d3a-cc4b3ea7ab6b",
  "witness_id": "0c442245-3ae3-4b2b-9b91-40947193185c"
}

application/xml, text/xml

Sample:
<batch_unloading_step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <batch_id>7da30e8d-4423-43e8-9d3a-cc4b3ea7ab6b</batch_id>
  <witness_id>0c442245-3ae3-4b2b-9b91-40947193185c</witness_id>
</batch_unloading_step>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"fb94fdf8-ac30-4c58-81d5-d955bec15fe7"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">fb94fdf8-ac30-4c58-81d5-d955bec15fe7</guid>