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": "ce539db6-6ecb-4671-b89b-5e5f2798be8c",
  "witness_id": "d1a72b10-97bb-4e05-ad08-6058ee31ab23"
}

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>ce539db6-6ecb-4671-b89b-5e5f2798be8c</batch_id>
  <witness_id>d1a72b10-97bb-4e05-ad08-6058ee31ab23</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:
"c7c76e8d-ecc3-479b-887d-861c10733302"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c7c76e8d-ecc3-479b-887d-861c10733302</guid>