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": "263c7e94-54d6-4833-917f-dcdc12ac0e12",
"cleanroom_type_id": "6a9af329-a307-48ed-a329-3cffc2ddfee2",
"code": 3,
"date_hu": "2026-03-11T12:02:23.4101363+00:00",
"id": "b7d8e8a9-adf9-4d4d-8913-ba91c53f9ea5",
"site_id": "92119ea6-2112-423a-8138-1fdc1f7cabdd",
"wash_count": 6,
"position": 1,
"pc_id": "d28b1a02-3224-4103-9253-7b1f1eb8a07b"
},
{
"active": true,
"bag_status_id": "263c7e94-54d6-4833-917f-dcdc12ac0e12",
"cleanroom_type_id": "6a9af329-a307-48ed-a329-3cffc2ddfee2",
"code": 3,
"date_hu": "2026-03-11T12:02:23.4101363+00:00",
"id": "b7d8e8a9-adf9-4d4d-8913-ba91c53f9ea5",
"site_id": "92119ea6-2112-423a-8138-1fdc1f7cabdd",
"wash_count": 6,
"position": 1,
"pc_id": "d28b1a02-3224-4103-9253-7b1f1eb8a07b"
}
]
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>263c7e94-54d6-4833-917f-dcdc12ac0e12</bag_status_id>
<cleanroom_type_id>6a9af329-a307-48ed-a329-3cffc2ddfee2</cleanroom_type_id>
<code>3</code>
<date_hu>2026-03-11T12:02:23.4101363+00:00</date_hu>
<id>b7d8e8a9-adf9-4d4d-8913-ba91c53f9ea5</id>
<pc_id>d28b1a02-3224-4103-9253-7b1f1eb8a07b</pc_id>
<position>1</position>
<site_id>92119ea6-2112-423a-8138-1fdc1f7cabdd</site_id>
<wash_count>6</wash_count>
</bag>
<bag>
<active>true</active>
<bag_status_id>263c7e94-54d6-4833-917f-dcdc12ac0e12</bag_status_id>
<cleanroom_type_id>6a9af329-a307-48ed-a329-3cffc2ddfee2</cleanroom_type_id>
<code>3</code>
<date_hu>2026-03-11T12:02:23.4101363+00:00</date_hu>
<id>b7d8e8a9-adf9-4d4d-8913-ba91c53f9ea5</id>
<pc_id>d28b1a02-3224-4103-9253-7b1f1eb8a07b</pc_id>
<position>1</position>
<site_id>92119ea6-2112-423a-8138-1fdc1f7cabdd</site_id>
<wash_count>6</wash_count>
</bag>
</ArrayOfbag>