GET 17.0/app/system/lookup/{sourceid}?groupid={groupid}&includeinactive={includeinactive}&selectedrecordid={selectedrecordid}

Description

Gets a list of records for the passed lookup source

URI Parameters

Name Description Type Additional information
sourceId

Id of the Lookup Source

byte

Required

groupId

Id of the lookup group

integer

Default value is -99

includeInactive

Flag to include/exclude inactive records in the response

boolean

Default value is False

selectedRecordId

Id of the currently selected lookup record

integer

Default value is -99

None.

None.

Collection of IDDescriptionPair
Name Description Type Additional information
ID

integer

None.

Description

string

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "description": "sample string 2"
  },
  {
    "id": 1,
    "description": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIDDescriptionPair xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IDDescriptionPair>
    <ID>1</ID>
    <Description>sample string 2</Description>
  </IDDescriptionPair>
  <IDDescriptionPair>
    <ID>1</ID>
    <Description>sample string 2</Description>
  </IDDescriptionPair>
</ArrayOfIDDescriptionPair>