GET api/bagapi/bag/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

BagViewModel
NameDescriptionTypeAdditional 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": "f60d430d-31e4-488a-b01e-3dffbddaab9f",
  "cleanroom_type_id": "d00287ae-b243-4763-86cc-0362bc928169",
  "code": 3,
  "date_hu": "2026-03-07T07:33:41.653767+00:00",
  "id": "6bf325b0-0506-463a-a7fb-001f7a93b4cd",
  "site_id": "f9f39ea1-5318-4405-82a3-ec94189b8691",
  "wash_count": 6,
  "position": 7,
  "pc_id": "a4dfa3b6-8635-46c3-9ea1-00185b7355b9"
}

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>f60d430d-31e4-488a-b01e-3dffbddaab9f</bag_status_id>
  <cleanroom_type_id>d00287ae-b243-4763-86cc-0362bc928169</cleanroom_type_id>
  <code>3</code>
  <date_hu>2026-03-07T07:33:41.653767+00:00</date_hu>
  <id>6bf325b0-0506-463a-a7fb-001f7a93b4cd</id>
  <pc_id>a4dfa3b6-8635-46c3-9ea1-00185b7355b9</pc_id>
  <position>7</position>
  <site_id>f9f39ea1-5318-4405-82a3-ec94189b8691</site_id>
  <wash_count>6</wash_count>
</bag>