POST api/TaxiBooking/TaxiBooking

Request Information

URI Parameters

None.

Body Parameters

TaxiBookingFormDto
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyName

string

None.

LastName

string

None.

ForeName

string

None.

FirstLineAddress

string

None.

SecondLineAddress

string

None.

PostCode

string

None.

ContactNumber

string

None.

Reason

string

None.

IsPublic

boolean

None.

BookingDate

string

None.

BookingTime

string

None.

EmailAddress

string

None.

EmailGuid

globally unique identifier

None.

AppointmentTypeId

integer

None.

Status

integer

None.

LastUpdated

date

None.

IsTestPaidFor

boolean

None.

PaymentAuthorisationCode

string

None.

IncomeManagementReceiptNumber

string

None.

OriginatorsReference

string

None.

CardScheme

string

None.

AmountPaid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyName": "sample string 2",
  "LastName": "sample string 3",
  "ForeName": "sample string 4",
  "FirstLineAddress": "sample string 5",
  "SecondLineAddress": "sample string 6",
  "PostCode": "sample string 7",
  "ContactNumber": "sample string 8",
  "Reason": "sample string 9",
  "IsPublic": true,
  "BookingDate": "sample string 11",
  "BookingTime": "sample string 12",
  "EmailAddress": "sample string 13",
  "EmailGuid": "78a0c62c-03f0-417c-a282-bdfae9327259",
  "AppointmentTypeId": 14,
  "Status": 15,
  "LastUpdated": "2024-11-22T22:50:48.8473535+00:00",
  "IsTestPaidFor": true,
  "PaymentAuthorisationCode": "sample string 18",
  "IncomeManagementReceiptNumber": "sample string 19",
  "OriginatorsReference": "sample string 20",
  "CardScheme": "sample string 21",
  "AmountPaid": "sample string 22"
}

text/html

Sample:
{"Id":1,"CompanyName":"sample string 2","LastName":"sample string 3","ForeName":"sample string 4","FirstLineAddress":"sample string 5","SecondLineAddress":"sample string 6","PostCode":"sample string 7","ContactNumber":"sample string 8","Reason":"sample string 9","IsPublic":true,"BookingDate":"sample string 11","BookingTime":"sample string 12","EmailAddress":"sample string 13","EmailGuid":"78a0c62c-03f0-417c-a282-bdfae9327259","AppointmentTypeId":14,"Status":15,"LastUpdated":"2024-11-22T22:50:48.8473535+00:00","IsTestPaidFor":true,"PaymentAuthorisationCode":"sample string 18","IncomeManagementReceiptNumber":"sample string 19","OriginatorsReference":"sample string 20","CardScheme":"sample string 21","AmountPaid":"sample string 22"}

application/xml, text/xml

Sample:
<TaxiBookingFormDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.Service.TaxiBooking.DTOs">
  <AmountPaid>sample string 22</AmountPaid>
  <AppointmentTypeId>14</AppointmentTypeId>
  <BookingDate>sample string 11</BookingDate>
  <BookingTime>sample string 12</BookingTime>
  <CardScheme>sample string 21</CardScheme>
  <CompanyName>sample string 2</CompanyName>
  <ContactNumber>sample string 8</ContactNumber>
  <EmailAddress>sample string 13</EmailAddress>
  <EmailGuid>78a0c62c-03f0-417c-a282-bdfae9327259</EmailGuid>
  <FirstLineAddress>sample string 5</FirstLineAddress>
  <ForeName>sample string 4</ForeName>
  <Id>1</Id>
  <IncomeManagementReceiptNumber>sample string 19</IncomeManagementReceiptNumber>
  <IsPublic>true</IsPublic>
  <IsTestPaidFor>true</IsTestPaidFor>
  <LastName>sample string 3</LastName>
  <LastUpdated>2024-11-22T22:50:48.8473535+00:00</LastUpdated>
  <OriginatorsReference>sample string 20</OriginatorsReference>
  <PaymentAuthorisationCode>sample string 18</PaymentAuthorisationCode>
  <PostCode>sample string 7</PostCode>
  <Reason>sample string 9</Reason>
  <SecondLineAddress>sample string 6</SecondLineAddress>
  <Status>15</Status>
</TaxiBookingFormDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.