POST api/Photo
Request Information
URI Parameters
None.
Body Parameters
CarRentLoadImage| Name | Description | Type | Additional information |
|---|---|---|---|
| base64string | string |
None. |
|
| extension | string |
None. |
|
| photo_from | integer |
None. |
|
| rent_type | integer |
None. |
|
| rent_id | integer |
None. |
|
| photo_type | integer |
None. |
|
| advID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"base64string": "sample string 1",
"extension": "sample string 2",
"photo_from": 3,
"rent_type": 4,
"rent_id": 5,
"photo_type": 6,
"advID": 7
}
application/xml, text/xml
Sample:
<PhotoController.CarRentLoadImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <advID>7</advID> <base64string>sample string 1</base64string> <extension>sample string 2</extension> <photo_from>3</photo_from> <photo_type>6</photo_type> <rent_id>5</rent_id> <rent_type>4</rent_type> </PhotoController.CarRentLoadImage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UploadImageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| filePath | string |
None. |
|
| UID | string |
None. |
|
| FTip | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"filePath": "sample string 1",
"UID": "sample string 2",
"FTip": "sample string 3"
}
application/xml, text/xml
Sample:
<PhotoController.UploadImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <FTip>sample string 3</FTip> <UID>sample string 2</UID> <filePath>sample string 1</filePath> </PhotoController.UploadImageModel>