GET v1/Inventory/GetItemTypes?active={active}

Retrieves a list of item types based on their active status.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
active

A boolean indicating whether to retrieve active or inactive item types.

boolean

Required

Body Parameters

None.

Response Information

Resource Description

An HTTP response message containing: - A list of if successful. - A if there is a bad request. - A 404 Not Found response if no item types are found. - A 500 Internal Server Error response in case of an exception.

Collection of ItemTypeDTO
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

ModifiedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ModifiedDate": "2025-07-01T01:54:05.3332189+00:00"
  },
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ModifiedDate": "2025-07-01T01:54:05.3332189+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfItemTypeDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ItemTypeDTO>
    <Name>sample string 1</Name>
    <Description>sample string 2</Description>
    <ModifiedDate>2025-07-01T01:54:05.3332189+00:00</ModifiedDate>
  </ItemTypeDTO>
  <ItemTypeDTO>
    <Name>sample string 1</Name>
    <Description>sample string 2</Description>
    <ModifiedDate>2025-07-01T01:54:05.3332189+00:00</ModifiedDate>
  </ItemTypeDTO>
</ArrayOfItemTypeDTO>