GET api/Lookup/lstGearType
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of GearTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Description | string |
None. |
|
| DefaultServiceInterval_KM | integer |
None. |
|
| DefaultServiceInterval_Hours | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Description": "sample string 2",
"DefaultServiceInterval_KM": 3,
"DefaultServiceInterval_Hours": 4
},
{
"ID": 1,
"Description": "sample string 2",
"DefaultServiceInterval_KM": 3,
"DefaultServiceInterval_Hours": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfGearTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO">
<GearTypeModel>
<DefaultServiceInterval_Hours>4</DefaultServiceInterval_Hours>
<DefaultServiceInterval_KM>3</DefaultServiceInterval_KM>
<Description>sample string 2</Description>
<ID>1</ID>
</GearTypeModel>
<GearTypeModel>
<DefaultServiceInterval_Hours>4</DefaultServiceInterval_Hours>
<DefaultServiceInterval_KM>3</DefaultServiceInterval_KM>
<Description>sample string 2</Description>
<ID>1</ID>
</GearTypeModel>
</ArrayOfGearTypeModel>