POST api/User/CarPark/Payment/Commit

Request Information

URI Parameters

None.

Body Parameters

CommitPaymentBindingModel
NameDescriptionTypeAdditional information
DeliveryLocationId

globally unique identifier

None.

Token

string

None.

SessionId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryLocationId": "28ec69130c374824b4461d38a24b8af0",
  "Token": "sample string 1",
  "SessionId": "6d5a73e2c3314f9c821190df3648e61c"
}

application/xml, text/xml

Sample:
<CommitPaymentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <SessionId>6d5a73e2-c331-4f9c-8211-90df3648e61c</SessionId>
  <DeliveryLocationId>28ec6913-0c37-4824-b446-1d38a24b8af0</DeliveryLocationId>
  <Token>sample string 1</Token>
</CommitPaymentBindingModel>

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

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>