GET LookupListValue/LookupList?listID={listID}&lookup={lookup}

Returns a list of values based on the lookup text provided

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listID

Lists

Required

lookup

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LookupListValueDTO
NameDescriptionTypeAdditional information
ListId

List of id's

Lists

None.

CategoryId

Return Category id

integer

None.

ItemName

Item Name

string

None.

ItemCode

Item Code

string

None.

ItemCodeWithNoPeriod

Item code with No Period

string

None.

ExpireDate

Item code Expiration date

date

None.

ID

Returns ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "ListId": 1,
      "CategoryId": 1,
      "ItemName": "sample string 2",
      "ItemCode": "sample string 3",
      "ItemCodeWithNoPeriod": "sample string 4",
      "ExpireDate": "2024-05-14T07:03:45Z",
      "ID": 5
    },
    {
      "ListId": 1,
      "CategoryId": 1,
      "ItemName": "sample string 2",
      "ItemCode": "sample string 3",
      "ItemCodeWithNoPeriod": "sample string 4",
      "ExpireDate": "2024-05-14T07:03:45Z",
      "ID": 5
    }
  ]
}

text/javascript

Sample:
{"results":[{"ListId":1,"CategoryId":1,"ItemName":"sample string 2","ItemCode":"sample string 3","ItemCodeWithNoPeriod":"sample string 4","ExpireDate":"2024-05-14T07:03:45Z","ID":5},{"ListId":1,"CategoryId":1,"ItemName":"sample string 2","ItemCode":"sample string 3","ItemCodeWithNoPeriod":"sample string 4","ExpireDate":"2024-05-14T07:03:45Z","ID":5}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfLookupListValueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <LookupListValueDTO>
    <CategoryId>1</CategoryId>
    <ExpireDate>2024-05-14T07:03:45.7119678-04:00</ExpireDate>
    <ID>5</ID>
    <ItemCode>sample string 3</ItemCode>
    <ItemCodeWithNoPeriod>sample string 4</ItemCodeWithNoPeriod>
    <ItemName>sample string 2</ItemName>
    <ListId>GenericName</ListId>
  </LookupListValueDTO>
  <LookupListValueDTO>
    <CategoryId>1</CategoryId>
    <ExpireDate>2024-05-14T07:03:45.7119678-04:00</ExpireDate>
    <ID>5</ID>
    <ItemCode>sample string 3</ItemCode>
    <ItemCodeWithNoPeriod>sample string 4</ItemCodeWithNoPeriod>
    <ItemName>sample string 2</ItemName>
    <ListId>GenericName</ListId>
  </LookupListValueDTO>
</ArrayOfLookupListValueDTO>