Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetProgramInventoryItemListByProgramTypeId?programtypeid={programtypeid}

Description

Get List Of Program Inventory Item By Program Type Id

Request Information

Parameters

NameDescriptionAdditional information
programtypeid
Program Type Id

Define this parameter in the request URI.

Response Information

List of Program Inventory Item

Response body formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "programtypeid": 2,
    "itemid": 3,
    "utctimestamp": "2025-02-23T06:14:34.9293595+00:00",
    "utclastchanged": "2025-02-23T06:14:34.9293595+00:00",
    "lastchangedby": "sample string 5"
  },
  {
    "id": 1,
    "programtypeid": 2,
    "itemid": 3,
    "utctimestamp": "2025-02-23T06:14:34.9293595+00:00",
    "utclastchanged": "2025-02-23T06:14:34.9293595+00:00",
    "lastchangedby": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfsetupprograminventoryitemmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <setupprograminventoryitemmodel>
    <id>1</id>
    <itemid>3</itemid>
    <lastchangedby>sample string 5</lastchangedby>
    <programtypeid>2</programtypeid>
    <utclastchanged>2025-02-23T06:14:34.9293595+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:14:34.9293595+00:00</utctimestamp>
  </setupprograminventoryitemmodel>
  <setupprograminventoryitemmodel>
    <id>1</id>
    <itemid>3</itemid>
    <lastchangedby>sample string 5</lastchangedby>
    <programtypeid>2</programtypeid>
    <utclastchanged>2025-02-23T06:14:34.9293595+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:14:34.9293595+00:00</utctimestamp>
  </setupprograminventoryitemmodel>
</ArrayOfsetupprograminventoryitemmodel>