POST api/Valet/Activity/LicencePlateImage/Update
Request Information
URI Parameters
None.
Body Parameters
ValetImageUploadBindingModelName | 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": "1d1a93a9c8994e1f921c0aa3f9b15e04" }
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>1d1a93a9-c899-4e1f-921c-0aa3f9b15e04</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
ServiceResponseName | 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>