POST Car/EditPhoto
Request Information
URI Parameters
None.
Body Parameters
CarEditPhotoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| car_id | integer |
None. |
|
| photo_type | integer |
None. |
|
| base64_image | string |
None. |
|
| ext | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"car_id": 1,
"photo_type": 2,
"base64_image": "sample string 3",
"ext": "sample string 4"
}
application/xml, text/xml
Sample:
<CarEditPhotoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <base64_image>sample string 3</base64_image> <car_id>1</car_id> <ext>sample string 4</ext> <photo_type>2</photo_type> </CarEditPhotoRequest>
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>