POST api/batchapi/add/begindryingstep

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": "5b951a52-41e0-4cf2-b6bd-fb582e5ef532",
  "batch_id": "a68f9c61-d8eb-4380-80d4-657adc14a472",
  "medistream_id": "c2bb312b-fdd7-4448-bc95-5f067759a9ec",
  "witness_id": "313f8951-0e02-4b1a-baad-9c8282c6c1fe",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-06-09T06:47:22.904161+00:00",
  "stop_time": "2026-06-09T06:47:22.904161+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>a68f9c61-d8eb-4380-80d4-657adc14a472</batch_id>
  <compartment>1</compartment>
  <id>5b951a52-41e0-4cf2-b6bd-fb582e5ef532</id>
  <medistream_id>c2bb312b-fdd7-4448-bc95-5f067759a9ec</medistream_id>
  <start_time>2026-06-09T06:47:22.904161+00:00</start_time>
  <stop_time>2026-06-09T06:47:22.904161+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>313f8951-0e02-4b1a-baad-9c8282c6c1fe</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:
"d8616c31-a4d6-4e1b-bb48-ec10b3077537"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d8616c31-a4d6-4e1b-bb48-ec10b3077537</guid>