POST api/Valet/Activity/CarDamage/Image/Add
Request Information
URI Parameters
None.
Body Parameters
ValetImageUploadBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Image | CarDamageImage |
None. |
|
| UploadedImageFile | HttpPostedFileBase |
None. |
|
| PostedImageFile | Collection of byte |
Max length: 204800 |
|
| SessionId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Image": null,
"UploadedImageFile": null,
"PostedImageFile": "QEA=",
"SessionId": "eba9d9def9fc4bb2aa1a0826857e39b2"
}
application/xml, text/xml
Sample:
<ValetImageUploadBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels"> <SessionId>eba9d9de-f9fc-4bb2-aa1a-0826857e39b2</SessionId> <PostedImageFile>QEA=</PostedImageFile> <UploadedImageFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <Image xmlns:d2p1="http://schemas.datacontract.org/2004/07/ParkJet.Models" i:nil="true" /> </ValetImageUploadBindingModel>
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| MessageId | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"MessageId": 899,
"Message": "\r\n",
"Data": {}
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Services.Response">
<MessageLog xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string></d2p1:string>
<d2p1:string></d2p1:string>
</MessageLog>
</ServiceResponse>