GET api/OTA/GetLookups
Retrieve list of general lookup values Notes: VehicleType is the same as RigType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OTALookupName | Description | Type | Additional information |
---|---|---|---|
Type | string |
None. |
|
Name | string |
None. |
|
Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Type": "sample string 1", "Name": "sample string 2", "Value": "sample string 3" }, { "Type": "sample string 1", "Name": "sample string 2", "Value": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfOTALookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CGA.Web.API.Models"> <OTALookup> <Name>sample string 2</Name> <Type>sample string 1</Type> <Value>sample string 3</Value> </OTALookup> <OTALookup> <Name>sample string 2</Name> <Type>sample string 1</Type> <Value>sample string 3</Value> </OTALookup> </ArrayOfOTALookup>