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": "dfc29c28-3cb5-4c16-b979-91612025a118",
  "witness_id": "14654b97-e567-43e8-8a15-0577a5a5122c"
}

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>dfc29c28-3cb5-4c16-b979-91612025a118</batch_id>
  <witness_id>14654b97-e567-43e8-8a15-0577a5a5122c</witness_id>
</batch_unloading_step>

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

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"3c3adf34-b3b8-4ba7-879b-fe6eaa49c70b"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3c3adf34-b3b8-4ba7-879b-fe6eaa49c70b</guid>