POST api/user/bookings/claim/request-otp

Requests an OTP sent to the order contact email when order number, registration, and email match a claimable booking.

Request Information

URI Parameters

None.

Body Parameters

BookingClaimRequestOtpDTO
NameDescriptionTypeAdditional information
OrderNumber

integer

Required

Range: inclusive between 1 and 2147483647

RegistrationNumber

string

Required

Max length: 20

Email

string

Required

DeviceIdentifier

string

Required

Max length: 128

Request Formats

application/json, text/json

Sample:
{
  "orderNumber": 1,
  "registrationNumber": "sample string 2",
  "email": "sample string 3",
  "deviceIdentifier": "sample string 4"
}

application/xml, text/xml

Sample:
<BookingClaimRequestOtpDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models">
  <DeviceIdentifier>sample string 4</DeviceIdentifier>
  <Email>sample string 3</Email>
  <OrderNumber>1</OrderNumber>
  <RegistrationNumber>sample string 2</RegistrationNumber>
</BookingClaimRequestOtpDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.