POST api/GetAllSettings
Request Information
URI Parameters
None.
Body Parameters
GetAllSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": 1
}
application/xml, text/xml
Sample:
<GetAllSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <CompanyId>1</CompanyId> </GetAllSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllSettingResponses| Name | Description | Type | Additional information |
|---|---|---|---|
| AllSettings | Collection of GetSettingsResponses |
None. |
Response Formats
application/json, text/json
Sample:
{
"AllSettings": [
{
"SettingId": 1,
"AmountPerKM": 1.1,
"BaseAmount": 1.1,
"WaitAmountPerMin": 1.1,
"CompanyId": 1,
"RideTypeName": "sample string 2",
"RideTypeId": 1
},
{
"SettingId": 1,
"AmountPerKM": 1.1,
"BaseAmount": 1.1,
"WaitAmountPerMin": 1.1,
"CompanyId": 1,
"RideTypeName": "sample string 2",
"RideTypeId": 1
}
]
}
application/xml, text/xml
Sample:
<GetAllSettingResponses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models">
<AllSettings>
<GetSettingsResponses>
<AmountPerKM>1.1</AmountPerKM>
<BaseAmount>1.1</BaseAmount>
<CompanyId>1</CompanyId>
<RideTypeId>1</RideTypeId>
<RideTypeName>sample string 2</RideTypeName>
<SettingId>1</SettingId>
<WaitAmountPerMin>1.1</WaitAmountPerMin>
</GetSettingsResponses>
<GetSettingsResponses>
<AmountPerKM>1.1</AmountPerKM>
<BaseAmount>1.1</BaseAmount>
<CompanyId>1</CompanyId>
<RideTypeId>1</RideTypeId>
<RideTypeName>sample string 2</RideTypeName>
<SettingId>1</SettingId>
<WaitAmountPerMin>1.1</WaitAmountPerMin>
</GetSettingsResponses>
</AllSettings>
</GetAllSettingResponses>