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": "e959e668-d19e-4976-aa76-00db84860afe",
  "batch_id": "11f20eb1-26b8-4db0-ba87-dbde0103be31",
  "medistream_id": "c4117160-29af-4b1a-908f-8ac25ab35306",
  "witness_id": "24d3ab62-4ffb-498b-9113-b0e6e59ed276",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-03-09T15:33:20.348568+00:00",
  "stop_time": "2026-03-09T15:33:20.348568+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>11f20eb1-26b8-4db0-ba87-dbde0103be31</batch_id>
  <compartment>1</compartment>
  <id>e959e668-d19e-4976-aa76-00db84860afe</id>
  <medistream_id>c4117160-29af-4b1a-908f-8ac25ab35306</medistream_id>
  <start_time>2026-03-09T15:33:20.348568+00:00</start_time>
  <stop_time>2026-03-09T15:33:20.348568+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>24d3ab62-4ffb-498b-9113-b0e6e59ed276</witness_id>
</batch_medistream>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"8e1ba0e9-832e-4b65-b943-c5c9c1810bcd"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8e1ba0e9-832e-4b65-b943-c5c9c1810bcd</guid>