POST api/emaar/requestcar

Request Information

URI Parameters

None.

Body Parameters

UserCarRequestModel
NameDescriptionTypeAdditional information
LicencePlate

string

None.

PhoneNumber

string

None.

LocationId

globally unique identifier

None.

ParkingLotId

globally unique identifier

None.

PaidAmount

decimal number

None.

PosResponse

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LicencePlate": "sample string 1",
  "PhoneNumber": "sample string 2",
  "LocationId": "6394b750c62f47838c6174dfb8ee6df0",
  "ParkingLotId": "2f0e1929179f499e846a618b25d7f37d",
  "PaidAmount": 5.0,
  "PosResponse": "sample string 6",
  "Email": "sample string 7"
}

application/xml, text/xml

Sample:
<UserCarRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models.ResponseModels">
  <Email>sample string 7</Email>
  <LicencePlate>sample string 1</LicencePlate>
  <LocationId>6394b750-c62f-4783-8c61-74dfb8ee6df0</LocationId>
  <PaidAmount>5</PaidAmount>
  <ParkingLotId>2f0e1929-179f-499e-846a-618b25d7f37d</ParkingLotId>
  <PhoneNumber>sample string 2</PhoneNumber>
  <PosResponse>sample string 6</PosResponse>
</UserCarRequestModel>

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

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>