GET api/bagapi/bag/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "5ea8c2d1-fd98-44d7-badb-dd03a8631d01",
"cleanroom_type_id": "cdfa3370-1f84-4b8a-b570-5684a5e1df0d",
"code": 3,
"date_hu": "2026-01-19T09:24:00.3880979+00:00",
"id": "214a4d4f-d2e0-4732-89cc-38b0c3d925ef",
"site_id": "d1252c50-d523-4f59-a99f-dd87e5a328d5",
"wash_count": 6,
"position": 1,
"pc_id": "ddf57d8d-0117-42f3-8a31-e1649f617517"
}
application/xml, text/xml
Sample:
<bag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <bag_status_id>5ea8c2d1-fd98-44d7-badb-dd03a8631d01</bag_status_id> <cleanroom_type_id>cdfa3370-1f84-4b8a-b570-5684a5e1df0d</cleanroom_type_id> <code>3</code> <date_hu>2026-01-19T09:24:00.3880979+00:00</date_hu> <id>214a4d4f-d2e0-4732-89cc-38b0c3d925ef</id> <pc_id>ddf57d8d-0117-42f3-8a31-e1649f617517</pc_id> <position>1</position> <site_id>d1252c50-d523-4f59-a99f-dd87e5a328d5</site_id> <wash_count>6</wash_count> </bag>