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": "f1442fbc-5197-4f3c-9a6c-89a77c7bd4be",
  "batch_id": "f58828e2-c23d-476d-bfb7-7b583e29dec1",
  "medistream_id": "8c7501e0-82cf-42e8-b047-fc0e4271e120",
  "witness_id": "9245b0ec-f461-4dba-aba6-c804fd994f5b",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-06-09T05:18:07.9369237+00:00",
  "stop_time": "2026-06-09T05:18:07.9369237+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>f58828e2-c23d-476d-bfb7-7b583e29dec1</batch_id>
  <compartment>1</compartment>
  <id>f1442fbc-5197-4f3c-9a6c-89a77c7bd4be</id>
  <medistream_id>8c7501e0-82cf-42e8-b047-fc0e4271e120</medistream_id>
  <start_time>2026-06-09T05:18:07.9369237+00:00</start_time>
  <stop_time>2026-06-09T05:18:07.9369237+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>9245b0ec-f461-4dba-aba6-c804fd994f5b</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:
"a666aa44-8554-4f2c-8d40-4ce0e4f95817"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a666aa44-8554-4f2c-8d40-4ce0e4f95817</guid>