GET api/bagapi/bagsbysite/{siteId}?active={active}&lastUpdate={lastUpdate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of BagViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| bag_status_id | globally unique identifier |
Required |
|
| cleanroom_type_id | globally unique identifier |
Required |
|
| code | integer |
Required |
|
| date_hu | date |
None. |
|
| id | globally unique identifier |
None. |
|
| site_id | globally unique identifier |
Required |
|
| wash_count | integer |
None. |
|
| position | integer |
None. |
|
| pc_id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"active": true,
"bag_status_id": "b64bcb89-ddf2-4ed5-b599-074f0b23a409",
"cleanroom_type_id": "ff062c46-904c-47df-b1a2-e4d5b8ff7c14",
"code": 3,
"date_hu": "2026-06-10T01:07:32.656525+00:00",
"id": "9c382123-de7b-4470-9033-5e9ac48feec5",
"site_id": "88ffa5b4-56f7-40ab-b114-e6a66ab82cdc",
"wash_count": 6,
"position": 1,
"pc_id": "41306387-44ce-49c1-8b7c-ce5bbfc1c238"
},
{
"active": true,
"bag_status_id": "b64bcb89-ddf2-4ed5-b599-074f0b23a409",
"cleanroom_type_id": "ff062c46-904c-47df-b1a2-e4d5b8ff7c14",
"code": 3,
"date_hu": "2026-06-10T01:07:32.656525+00:00",
"id": "9c382123-de7b-4470-9033-5e9ac48feec5",
"site_id": "88ffa5b4-56f7-40ab-b114-e6a66ab82cdc",
"wash_count": 6,
"position": 1,
"pc_id": "41306387-44ce-49c1-8b7c-ce5bbfc1c238"
}
]
application/xml, text/xml
Sample:
<ArrayOfbag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<bag>
<active>true</active>
<bag_status_id>b64bcb89-ddf2-4ed5-b599-074f0b23a409</bag_status_id>
<cleanroom_type_id>ff062c46-904c-47df-b1a2-e4d5b8ff7c14</cleanroom_type_id>
<code>3</code>
<date_hu>2026-06-10T01:07:32.656525+00:00</date_hu>
<id>9c382123-de7b-4470-9033-5e9ac48feec5</id>
<pc_id>41306387-44ce-49c1-8b7c-ce5bbfc1c238</pc_id>
<position>1</position>
<site_id>88ffa5b4-56f7-40ab-b114-e6a66ab82cdc</site_id>
<wash_count>6</wash_count>
</bag>
<bag>
<active>true</active>
<bag_status_id>b64bcb89-ddf2-4ed5-b599-074f0b23a409</bag_status_id>
<cleanroom_type_id>ff062c46-904c-47df-b1a2-e4d5b8ff7c14</cleanroom_type_id>
<code>3</code>
<date_hu>2026-06-10T01:07:32.656525+00:00</date_hu>
<id>9c382123-de7b-4470-9033-5e9ac48feec5</id>
<pc_id>41306387-44ce-49c1-8b7c-ce5bbfc1c238</pc_id>
<position>1</position>
<site_id>88ffa5b4-56f7-40ab-b114-e6a66ab82cdc</site_id>
<wash_count>6</wash_count>
</bag>
</ArrayOfbag>