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": "7ddffbe9-c75a-4ceb-8532-403d8494360f",
"mediwave_id": "bdab99d6-9dbb-457e-bab2-a607ffe30b4f",
"batch_details": [
{
"id": "4896cef6-03f5-4eef-8d81-865f2826d4a9",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-03-07T07:31:25.3854272+00:00",
"reference": "sample string 4"
},
{
"id": "4896cef6-03f5-4eef-8d81-865f2826d4a9",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-03-07T07:31:25.3854272+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>4896cef6-03f5-4eef-8d81-865f2826d4a9</id>
<reference>sample string 4</reference>
<unload_time>2026-03-07T07:31:25.3854272+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
<batch_detail>
<compartment>2</compartment>
<id>4896cef6-03f5-4eef-8d81-865f2826d4a9</id>
<reference>sample string 4</reference>
<unload_time>2026-03-07T07:31:25.3854272+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
</batch_details>
<id>7ddffbe9-c75a-4ceb-8532-403d8494360f</id>
<mediwave_id>bdab99d6-9dbb-457e-bab2-a607ffe30b4f</mediwave_id>
</batch_loading_step>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"aa034c82-7fee-42b6-9ccb-8538fcc648cc"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">aa034c82-7fee-42b6-9ccb-8538fcc648cc</guid>