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": "51692ade-623d-494e-be16-a80813beba3e",
  "batch_id": "e92c951e-3f2c-4ce3-94a0-8ce16ce2a531",
  "medistream_id": "1d105494-7eb6-4257-b22c-5b79b19990dc",
  "witness_id": "b5f37c09-5ce8-4e8a-a83e-7472a1cd41da",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-01-19T09:35:13.3276495+00:00",
  "stop_time": "2026-01-19T09:35:13.3276495+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>e92c951e-3f2c-4ce3-94a0-8ce16ce2a531</batch_id>
  <compartment>1</compartment>
  <id>51692ade-623d-494e-be16-a80813beba3e</id>
  <medistream_id>1d105494-7eb6-4257-b22c-5b79b19990dc</medistream_id>
  <start_time>2026-01-19T09:35:13.3276495+00:00</start_time>
  <stop_time>2026-01-19T09:35:13.3276495+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>b5f37c09-5ce8-4e8a-a83e-7472a1cd41da</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:
"0250a298-1cb5-4a55-9acd-6a90297c2318"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0250a298-1cb5-4a55-9acd-6a90297c2318</guid>