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": "6636c271-8b65-4146-b728-2f4790112784",
  "cleanroom_type_id": "567b0e84-323e-4e6b-8220-d87a43eefb16",
  "code": 3,
  "date_hu": "2026-03-11T12:00:22.2524063+00:00",
  "id": "eef4fcba-f145-4431-8efd-419bda169cb8",
  "site_id": "8bb5215d-e0c4-461d-9987-60bf805edbe2",
  "wash_count": 6,
  "position": 1,
  "pc_id": "58d42bf4-2ebb-4101-9d13-02cda09940d4"
}

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>6636c271-8b65-4146-b728-2f4790112784</bag_status_id>
  <cleanroom_type_id>567b0e84-323e-4e6b-8220-d87a43eefb16</cleanroom_type_id>
  <code>3</code>
  <date_hu>2026-03-11T12:00:22.2524063+00:00</date_hu>
  <id>eef4fcba-f145-4431-8efd-419bda169cb8</id>
  <pc_id>58d42bf4-2ebb-4101-9d13-02cda09940d4</pc_id>
  <position>1</position>
  <site_id>8bb5215d-e0c4-461d-9987-60bf805edbe2</site_id>
  <wash_count>6</wash_count>
</bag>