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": "20e8ddb2-ed1d-4519-a2ab-2a0ad93c594b",
"mediwave_id": "4a05e88e-54e8-41be-b625-fc2c7876b757",
"batch_details": [
{
"id": "60ac62f1-5307-4d9e-811e-4f9e9de44b47",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T09:36:30.526715+00:00",
"reference": "sample string 4"
},
{
"id": "60ac62f1-5307-4d9e-811e-4f9e9de44b47",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T09:36:30.526715+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>60ac62f1-5307-4d9e-811e-4f9e9de44b47</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T09:36:30.526715+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
<batch_detail>
<compartment>2</compartment>
<id>60ac62f1-5307-4d9e-811e-4f9e9de44b47</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T09:36:30.526715+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
</batch_details>
<id>20e8ddb2-ed1d-4519-a2ab-2a0ad93c594b</id>
<mediwave_id>4a05e88e-54e8-41be-b625-fc2c7876b757</mediwave_id>
</batch_loading_step>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"e52b3091-1949-4db2-9a99-54cff9b00696"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e52b3091-1949-4db2-9a99-54cff9b00696</guid>