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": "9ff8f7a1-980d-4b37-b97d-b50902026170",
  "batch_id": "f7694185-9f2b-4650-a173-0f95749ee8b7",
  "medistream_id": "3a0bf878-60ac-4952-8375-34cd6f8a543a",
  "witness_id": "92739a4f-eb81-4066-91f3-cb8ad6135012",
  "compartment": 1,
  "temp_max": 1.1,
  "start_time": "2026-01-19T09:37:02.0839425+00:00",
  "stop_time": "2026-01-19T09:37:02.0839425+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>f7694185-9f2b-4650-a173-0f95749ee8b7</batch_id>
  <compartment>1</compartment>
  <id>9ff8f7a1-980d-4b37-b97d-b50902026170</id>
  <medistream_id>3a0bf878-60ac-4952-8375-34cd6f8a543a</medistream_id>
  <start_time>2026-01-19T09:37:02.0839425+00:00</start_time>
  <stop_time>2026-01-19T09:37:02.0839425+00:00</stop_time>
  <temp_max>1.1</temp_max>
  <witness_id>92739a4f-eb81-4066-91f3-cb8ad6135012</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:
"e386d764-0ade-4409-ba81-4137d53472e0"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e386d764-0ade-4409-ba81-4137d53472e0</guid>