POST api/Valet/ReceiveGuestUserCar

Request Information

URI Parameters

None.

Body Parameters

ReceiveGuestUserCarBindingModel
NameDescriptionTypeAdditional information
GuestCarId

integer

None.

GuestUserId

integer

None.

QrCardCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GuestCarId": 1,
  "GuestUserId": 2,
  "QrCardCode": "sample string 3"
}

application/xml, text/xml

Sample:
<ReceiveGuestUserCarBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.BindingModels">
  <GuestCarId>1</GuestCarId>
  <GuestUserId>2</GuestUserId>
  <QrCardCode>sample string 3</QrCardCode>
</ReceiveGuestUserCarBindingModel>

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

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>