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": "e93cda64-12fa-46fa-9d5a-39557b491151",
"mediwave_id": "f403bfb4-6caa-4aca-b57f-7ae053dd469b",
"batch_details": [
{
"id": "f23e2994-53c5-4483-a7fe-79bd3cdb0fbb",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T11:22:36.054942+00:00",
"reference": "sample string 4"
},
{
"id": "f23e2994-53c5-4483-a7fe-79bd3cdb0fbb",
"compartment": 2,
"witness_code": 3,
"unload_time": "2026-01-19T11:22:36.054942+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>f23e2994-53c5-4483-a7fe-79bd3cdb0fbb</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T11:22:36.054942+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
<batch_detail>
<compartment>2</compartment>
<id>f23e2994-53c5-4483-a7fe-79bd3cdb0fbb</id>
<reference>sample string 4</reference>
<unload_time>2026-01-19T11:22:36.054942+00:00</unload_time>
<witness_code>3</witness_code>
</batch_detail>
</batch_details>
<id>e93cda64-12fa-46fa-9d5a-39557b491151</id>
<mediwave_id>f403bfb4-6caa-4aca-b57f-7ae053dd469b</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:
"03a74e84-a5b6-4291-b28e-788da771f657"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">03a74e84-a5b6-4291-b28e-788da771f657</guid>