POST api/Valet/Activity/CarDelivery/Accept

Request Information

URI Parameters

None.

Body Parameters

AcceptCarDeliveryBindingModel
NameDescriptionTypeAdditional information
EstimatedDeliveryTime

integer

None.

SessionToken

string

None.

SessionId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "EstimatedDeliveryTime": 1,
  "SessionToken": "sample string 2",
  "SessionId": "b02cd30472814491894ff5ca79fe20af"
}

application/xml, text/xml

Sample:
<AcceptCarDeliveryBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <SessionId>b02cd304-7281-4491-894f-f5ca79fe20af</SessionId>
  <SessionToken>sample string 2</SessionToken>
  <EstimatedDeliveryTime>1</EstimatedDeliveryTime>
</AcceptCarDeliveryBindingModel>

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 'AcceptCarDeliveryBindingModel'.

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>