POST api/batchapi/add/loadingstep?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
Required |
Body Parameters
BatchLoadingStepViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| mediwave_id | globally unique identifier |
Required |
|
| batch_details | Collection of BatchDetailViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "0e106766-38b0-4b60-befe-dafe78725e60",
"mediwave_id": "d5fa2679-8fbb-4714-bc67-1479497181fb",
"batch_details": [
{
"id": "8bd671b6-6f48-451c-bee2-66bad077ca68",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T09:21:57.6150117+00:00",
"reference": "sample string 4"
},
{
"id": "8bd671b6-6f48-451c-bee2-66bad077ca68",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T09:21:57.6150117+00:00",
"reference": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<batch_loading_step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<batch_details>
<batch_detail>
<compartment>2</compartment>
<id>8bd671b6-6f48-451c-bee2-66bad077ca68</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T09:21:57.6150117+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
<batch_detail>
<compartment>2</compartment>
<id>8bd671b6-6f48-451c-bee2-66bad077ca68</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T09:21:57.6150117+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
</batch_details>
<id>0e106766-38b0-4b60-befe-dafe78725e60</id>
<mediwave_id>d5fa2679-8fbb-4714-bc67-1479497181fb</mediwave_id>
</batch_loading_step>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"e64fd370-0435-4f54-9df4-fa6ed9808542"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e64fd370-0435-4f54-9df4-fa6ed9808542</guid>