POST api/Booking

Request Information

URI Parameters

None.

Body Parameters

BookingRequest
NameDescriptionTypeAdditional information
QuotaId

integer

None.

Instructions

string

None.

PaymentType

PaymentType

None.

CreditCardId

integer

None.

CreditCard

CreditCardDto

None.

PromoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "quotaId": 1,
  "instructions": "sample string 2",
  "paymentType": "Cash",
  "creditCardId": 1,
  "creditCard": {
    "id": 1,
    "customerId": 1,
    "externalCustomerId": "sample string 1",
    "isOrganization": true,
    "firstName": "sample string 3",
    "lastName": "sample string 4",
    "company": "sample string 5",
    "address": "sample string 6",
    "city": "sample string 7",
    "state": "sample string 8",
    "zip": "sample string 9",
    "country": "sample string 10",
    "phoneNumber": "sample string 11",
    "cardNumber": "XXXXXXXXXXXXg 12",
    "expirationDate": "sample string 13",
    "cardCode": "XXXXXXXXXXXXXXXX",
    "cardType": "sample string 15"
  },
  "promoCode": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.