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": "7f5056f3-c959-44f9-99eb-595a10884947",
  "batch_id": "54b08342-f83d-4547-beaa-8521ac1b4b9f",
  "medistream_id": "50645e02-7d45-465f-af0f-bcb060ccb431",
  "witness_id": "b7440555-ccf1-467c-be91-c916f4e49576",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-01-19T09:35:32.562262+00:00",
  "stop_time": "2026-01-19T09:35:32.562262+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>54b08342-f83d-4547-beaa-8521ac1b4b9f</batch_id>
  <compartment>1</compartment>
  <id>7f5056f3-c959-44f9-99eb-595a10884947</id>
  <medistream_id>50645e02-7d45-465f-af0f-bcb060ccb431</medistream_id>
  <start_time>2026-01-19T09:35:32.562262+00:00</start_time>
  <stop_time>2026-01-19T09:35:32.562262+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>b7440555-ccf1-467c-be91-c916f4e49576</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:
"2e963b8e-55f7-4f4c-92a5-a6c3bcb3823d"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2e963b8e-55f7-4f4c-92a5-a6c3bcb3823d</guid>