POST api/Booking/MakeBooking

Request Information

URI Parameters

None.

Body Parameters

BookingCreateRequest
NameDescriptionTypeAdditional information
DealerID

integer

Required

Title

string

None.

FirstName

string

Required

LastName

string

Required

EmailAddress

string

Required

PhoneNumber

string

Required

VehicleID

integer

Required

Begin

date

Required

End

date

Required

License_upload

Collection of byte

Required

Request Formats

application/json, text/json

Sample:
{
  "DealerID": 1,
  "Title": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "EmailAddress": "sample string 5",
  "PhoneNumber": "sample string 6",
  "VehicleID": 7,
  "Begin": "2026-06-18T09:13:35.996096+02:00",
  "End": "2026-06-18T09:13:35.996096+02:00",
  "License_upload": "QEA="
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BookingResponse
NameDescriptionTypeAdditional information
Message

string

None.

Booking_ID

integer

None.

Status

string

None.

emailSent

boolean

None.

salesForceLeadCreated

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Booking_ID": 2,
  "Status": "sample string 3",
  "emailSent": true,
  "salesForceLeadCreated": true
}

application/xml, text/xml

Sample:
<BookingResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Message>sample string 1</Message>
  <Booking_ID>2</Booking_ID>
  <Status>sample string 3</Status>
  <emailSent>true</emailSent>
  <salesForceLeadCreated>true</salesForceLeadCreated>
  <BOOKINGSDto>
    <ID>1</ID>
    <VB_VEHICLE_ID>1</VB_VEHICLE_ID>
    <DEALER_ID>2</DEALER_ID>
    <USER_ID>sample string 3</USER_ID>
    <CONTACT_NO>4</CONTACT_NO>
    <CONTACT>sample string 5</CONTACT>
    <CONTACT_PHONE>sample string 6</CONTACT_PHONE>
    <START_DATE>2026-06-18T09:13:36.0117234+02:00</START_DATE>
    <END_DATE>2026-06-18T09:13:36.0117234+02:00</END_DATE>
    <VENUE>sample string 9</VENUE>
    <REASON>sample string 10</REASON>
    <GATE_PASS>sample string 11</GATE_PASS>
    <NOTES>sample string 12</NOTES>
    <STATUS>sample string 13</STATUS>
    <COMPLETED_YN>sample string 14</COMPLETED_YN>
    <BOOKING_STATUS>sample string 15</BOOKING_STATUS>
    <COMMENT>sample string 16</COMMENT>
    <ODOMETER_READING>1</ODOMETER_READING>
    <REMINDER_DATE>2026-06-18T09:13:36.0117234+02:00</REMINDER_DATE>
    <TASK_ID>1</TASK_ID>
    <LeadId>1</LeadId>
    <IdVbOdometerReading>1</IdVbOdometerReading>
    <IdContact>1</IdContact>
    <IdStock>1</IdStock>
    <IdUser>1</IdUser>
    <ACTUAL_START>2026-06-18T09:13:36.0117234+02:00</ACTUAL_START>
    <ACTUAL_END>2026-06-18T09:13:36.0117234+02:00</ACTUAL_END>
    <IS_BackDated>sample string 17</IS_BackDated>
    <Needs_Auth>true</Needs_Auth>
    <Authenticated>true</Authenticated>
    <License_upload>QEA=</License_upload>
    <Created_By>sample string 18</Created_By>
    <BRAND>sample string 19</BRAND>
    <MODEL_DESC>sample string 20</MODEL_DESC>
  </BOOKINGSDto>
</BookingResponse>