POST api/Settings
Request Information
URI Parameters
None.
Body Parameters
GetSetting| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": 1
}
application/xml, text/xml
Sample:
<GetSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <CompanyId>1</CompanyId> </GetSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetSettingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AmountPerKM | decimal number |
None. |
|
| BaseAmount | decimal number |
None. |
|
| WaitAmountPerMin | decimal number |
None. |
|
| CarClass_Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"AmountPerKM": 1.1,
"BaseAmount": 1.1,
"WaitAmountPerMin": 1.1,
"CarClass_Id": 1
}
application/xml, text/xml
Sample:
<GetSettingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <AmountPerKM>1.1</AmountPerKM> <BaseAmount>1.1</BaseAmount> <CarClass_Id>1</CarClass_Id> <WaitAmountPerMin>1.1</WaitAmountPerMin> </GetSettingResponse>