POST Caravan/CaravanPriceEdit
Request Information
URI Parameters
None.
Body Parameters
CaravanPriceEditRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| weekly_rent_discount | integer |
None. |
|
| monthly_rent_discount | integer |
None. |
|
| min_rent_day | integer |
None. |
|
| daily_price | integer |
None. |
|
| is_long_term | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"weekly_rent_discount": 2,
"monthly_rent_discount": 3,
"min_rent_day": 4,
"daily_price": 5,
"is_long_term": 6
}
application/xml, text/xml
Sample:
<Caravan.CaravanPriceEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Models"> <daily_price>5</daily_price> <id>1</id> <is_long_term>6</is_long_term> <min_rent_day>4</min_rent_day> <monthly_rent_discount>3</monthly_rent_discount> <weekly_rent_discount>2</weekly_rent_discount> </Caravan.CaravanPriceEditRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject"> <message>sample string 2</message> <success>true</success> </AppSettings.GeneralResponse>