POST api/batchapi/add/enddryingstep

Request Information

URI Parameters

None.

Body Parameters

BatchMedistreamViewModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

batch_id

globally unique identifier

Required

medistream_id

globally unique identifier

Required

witness_id

globally unique identifier

Required

compartment

integer

Required

temp_max

decimal number

None.

start_time

date

None.

stop_time

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "e1196f8a-259c-43b1-b7d9-eaa0d623e6f0",
  "batch_id": "b641fed2-5f39-4905-afd3-9960da053720",
  "medistream_id": "35feb614-8b57-4622-8d34-678e6a79dd11",
  "witness_id": "e3a90905-7d26-47de-b3f7-53ce87f92cd5",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-01-19T11:21:23.3877753+00:00",
  "stop_time": "2026-01-19T11:21:23.3877753+00:00"
}

application/xml, text/xml

Sample:
<batch_medistream xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <batch_id>b641fed2-5f39-4905-afd3-9960da053720</batch_id>
  <compartment>1</compartment>
  <id>e1196f8a-259c-43b1-b7d9-eaa0d623e6f0</id>
  <medistream_id>35feb614-8b57-4622-8d34-678e6a79dd11</medistream_id>
  <start_time>2026-01-19T11:21:23.3877753+00:00</start_time>
  <stop_time>2026-01-19T11:21:23.3877753+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>e3a90905-7d26-47de-b3f7-53ce87f92cd5</witness_id>
</batch_medistream>

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

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"ed2476f5-0ceb-4886-b20a-476a5b07c6e0"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">ed2476f5-0ceb-4886-b20a-476a5b07c6e0</guid>