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": "a6112ca5-fc6d-4703-9077-32818c2759f9",
"cleanroom_type_id": "1e23386e-4fcf-4ecc-80d9-2fb6b445b9a0",
"code": 3,
"date_hu": "2026-01-19T06:20:20.3717439+00:00",
"id": "7a79ed73-6026-4195-b6bb-2be43cc1b822",
"site_id": "8bcfec4d-6f4c-42ad-99b3-1f5b6356d07a",
"wash_count": 6,
"position": 1,
"pc_id": "0ff2c78f-d0b8-41b7-9c01-00188b694d39"
},
{
"active": true,
"bag_status_id": "a6112ca5-fc6d-4703-9077-32818c2759f9",
"cleanroom_type_id": "1e23386e-4fcf-4ecc-80d9-2fb6b445b9a0",
"code": 3,
"date_hu": "2026-01-19T06:20:20.3717439+00:00",
"id": "7a79ed73-6026-4195-b6bb-2be43cc1b822",
"site_id": "8bcfec4d-6f4c-42ad-99b3-1f5b6356d07a",
"wash_count": 6,
"position": 1,
"pc_id": "0ff2c78f-d0b8-41b7-9c01-00188b694d39"
}
]
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>a6112ca5-fc6d-4703-9077-32818c2759f9</bag_status_id>
<cleanroom_type_id>1e23386e-4fcf-4ecc-80d9-2fb6b445b9a0</cleanroom_type_id>
<code>3</code>
<date_hu>2026-01-19T06:20:20.3717439+00:00</date_hu>
<id>7a79ed73-6026-4195-b6bb-2be43cc1b822</id>
<pc_id>0ff2c78f-d0b8-41b7-9c01-00188b694d39</pc_id>
<position>1</position>
<site_id>8bcfec4d-6f4c-42ad-99b3-1f5b6356d07a</site_id>
<wash_count>6</wash_count>
</bag>
<bag>
<active>true</active>
<bag_status_id>a6112ca5-fc6d-4703-9077-32818c2759f9</bag_status_id>
<cleanroom_type_id>1e23386e-4fcf-4ecc-80d9-2fb6b445b9a0</cleanroom_type_id>
<code>3</code>
<date_hu>2026-01-19T06:20:20.3717439+00:00</date_hu>
<id>7a79ed73-6026-4195-b6bb-2be43cc1b822</id>
<pc_id>0ff2c78f-d0b8-41b7-9c01-00188b694d39</pc_id>
<position>1</position>
<site_id>8bcfec4d-6f4c-42ad-99b3-1f5b6356d07a</site_id>
<wash_count>6</wash_count>
</bag>
</ArrayOfbag>