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": "0be1e54e-ba56-4f7e-a31c-e5dae34f4da3",
"cleanroom_type_id": "c42f090f-a602-4493-9938-dacb39c18b5e",
"code": 3,
"date_hu": "2026-01-19T11:25:12.7710135+00:00",
"id": "37f1d770-8470-4f19-b0dd-04a41a2ee7a0",
"site_id": "fbe1cd8d-4a4d-43cd-8e7d-e9e63938eb2a",
"wash_count": 6,
"position": 7,
"pc_id": "a3bf3242-f624-41f6-b795-63337eb8df27"
},
{
"active": true,
"bag_status_id": "0be1e54e-ba56-4f7e-a31c-e5dae34f4da3",
"cleanroom_type_id": "c42f090f-a602-4493-9938-dacb39c18b5e",
"code": 3,
"date_hu": "2026-01-19T11:25:12.7710135+00:00",
"id": "37f1d770-8470-4f19-b0dd-04a41a2ee7a0",
"site_id": "fbe1cd8d-4a4d-43cd-8e7d-e9e63938eb2a",
"wash_count": 6,
"position": 7,
"pc_id": "a3bf3242-f624-41f6-b795-63337eb8df27"
}
]
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>0be1e54e-ba56-4f7e-a31c-e5dae34f4da3</bag_status_id>
<cleanroom_type_id>c42f090f-a602-4493-9938-dacb39c18b5e</cleanroom_type_id>
<code>3</code>
<date_hu>2026-01-19T11:25:12.7710135+00:00</date_hu>
<id>37f1d770-8470-4f19-b0dd-04a41a2ee7a0</id>
<pc_id>a3bf3242-f624-41f6-b795-63337eb8df27</pc_id>
<position>7</position>
<site_id>fbe1cd8d-4a4d-43cd-8e7d-e9e63938eb2a</site_id>
<wash_count>6</wash_count>
</bag>
<bag>
<active>true</active>
<bag_status_id>0be1e54e-ba56-4f7e-a31c-e5dae34f4da3</bag_status_id>
<cleanroom_type_id>c42f090f-a602-4493-9938-dacb39c18b5e</cleanroom_type_id>
<code>3</code>
<date_hu>2026-01-19T11:25:12.7710135+00:00</date_hu>
<id>37f1d770-8470-4f19-b0dd-04a41a2ee7a0</id>
<pc_id>a3bf3242-f624-41f6-b795-63337eb8df27</pc_id>
<position>7</position>
<site_id>fbe1cd8d-4a4d-43cd-8e7d-e9e63938eb2a</site_id>
<wash_count>6</wash_count>
</bag>
</ArrayOfbag>