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": "15f320ee-894a-4c32-81df-e57b88ed2a17",
  "batch_id": "104eb3b4-bc04-4ce9-b500-7a54f317995e",
  "medistream_id": "52da3c40-ca7d-47b7-858e-62219d46640e",
  "witness_id": "621e8183-ad9f-443a-8968-e766a5d8800d",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-01-19T06:21:08.6080803+00:00",
  "stop_time": "2026-01-19T06:21:08.6080803+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>104eb3b4-bc04-4ce9-b500-7a54f317995e</batch_id>
  <compartment>1</compartment>
  <id>15f320ee-894a-4c32-81df-e57b88ed2a17</id>
  <medistream_id>52da3c40-ca7d-47b7-858e-62219d46640e</medistream_id>
  <start_time>2026-01-19T06:21:08.6080803+00:00</start_time>
  <stop_time>2026-01-19T06:21:08.6080803+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>621e8183-ad9f-443a-8968-e766a5d8800d</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:
"2053535e-3d44-4a3b-b2ca-392f93dd10a7"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2053535e-3d44-4a3b-b2ca-392f93dd10a7</guid>