GET api/Company/Lookup/{description}
Get a list of records for the given lookup description
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
description |
Department, Division, Cost Centre, Job Title, Title, Method of Payment |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CompanyLookupDetailName | Description | Type | Additional information |
---|---|---|---|
Key | string |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Key": "90", "Description": "AnotherDivision" }, { "Key": "91", "Description": "TestDivision" }, { "Key": "92", "Description": "DivisionOfDivisons" }, { "Key": "93", "Description": "CentralDivision" } ]
application/xml, text/xml
Sample:
<ArrayOfCompanyLookupDetail> <CompanyLookupDetail> <Description>AnotherDivision</Description> <Key>90</Key> </CompanyLookupDetail> <CompanyLookupDetail> <Description>TestDivision</Description> <Key>91</Key> </CompanyLookupDetail> <CompanyLookupDetail> <Description>DivisionOfDivisons</Description> <Key>92</Key> </CompanyLookupDetail> <CompanyLookupDetail> <Description>CentralDivision</Description> <Key>93</Key> </CompanyLookupDetail> </ArrayOfCompanyLookupDetail>