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": "17303893-029a-44f8-b761-882c2515959d",
  "batch_id": "03dab7ee-d9fc-43b5-aba1-8c786f945dbf",
  "medistream_id": "d0a059f1-62fb-4e14-b482-d33c6a214cc2",
  "witness_id": "a618345a-df50-4e55-960f-d4a843d3301c",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-03-07T07:31:24.4635497+00:00",
  "stop_time": "2026-03-07T07:31:24.4635497+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>03dab7ee-d9fc-43b5-aba1-8c786f945dbf</batch_id>
  <compartment>1</compartment>
  <id>17303893-029a-44f8-b761-882c2515959d</id>
  <medistream_id>d0a059f1-62fb-4e14-b482-d33c6a214cc2</medistream_id>
  <start_time>2026-03-07T07:31:24.4635497+00:00</start_time>
  <stop_time>2026-03-07T07:31:24.4635497+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>a618345a-df50-4e55-960f-d4a843d3301c</witness_id>
</batch_medistream>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BatchMedistreamViewModel'.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"41893cfb-1343-42ca-bdd3-7a3dc0e47b00"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">41893cfb-1343-42ca-bdd3-7a3dc0e47b00</guid>