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