POST api/Valet/Activity/LicencePlateImage/Update

Request Information

URI Parameters

None.

Body Parameters

ValetImageUploadBindingModel
NameDescriptionTypeAdditional 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": "bc3f0f7d47d94705b2933d5569ac49e1"
}

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>bc3f0f7d-47d9-4705-b293-3d5569ac49e1</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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ValetImageUploadBindingModel'.

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultiPartMediaTypeFormatter`1' to write type 'ValetImageUploadBindingModel'.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional 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>