POST api/Bookings/Update

Request Information

URI Parameters

None.

Body Parameters

Booking
NameDescriptionTypeAdditional information
Id

integer

None.

SiteId

integer

Required

Reference

string

Required

BookingDate

date

Required

CollectionDate

date

None.

LastName

string

Required

TelNo

string

None.

Email

string

None.

IdNumber

string

None.

BagCount

integer

Required

BookingType

string

Required

BookingDuration

integer

Required

LuggagePricingPerBag

decimal number

Required

LuggageCover

decimal number

None.

LuggageCoverCharge

decimal number

None.

LargeLuggagePricingPerBag

decimal number

None.

LargeLuggage_BagCount

integer

None.

TotalDueFromCustomer

decimal number

Required

Collected

boolean

None.

HasLateCollection

boolean

None.

BookingTerms

string

None.

LateCollection

LateCollection

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SiteId": 2,
  "Reference": "sample string 3",
  "BookingDate": "2026-01-04T01:52:15.615661+00:00",
  "CollectionDate": "2026-01-04T01:52:15.615661+00:00",
  "LastName": "sample string 6",
  "TelNo": "sample string 7",
  "Email": "sample string 8",
  "IdNumber": "sample string 9",
  "BagCount": 10,
  "BookingType": "sample string 11",
  "BookingDuration": 1,
  "LuggagePricingPerBag": 1.0,
  "LuggageCover": 1.0,
  "LuggageCoverCharge": 1.0,
  "LargeLuggagePricingPerBag": 1.0,
  "LargeLuggage_BagCount": 12,
  "TotalDueFromCustomer": 1.0,
  "Collected": true,
  "HasLateCollection": true,
  "BookingTerms": "sample string 14",
  "LateCollection": {
    "Id": 1,
    "SiteId": 1,
    "OriginalBookingId": 1,
    "LateTransactionDate": "2026-01-04T01:52:15.615661+00:00",
    "CustomerName": "sample string 2",
    "BagCount": 1,
    "HoursLate": 1,
    "LateFeePaid": 1.0
  }
}

application/xml, text/xml

Sample:
<Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LuggageDrop.Models">
  <BagCount>10</BagCount>
  <BookingDate>2026-01-04T01:52:15.615661+00:00</BookingDate>
  <BookingDuration>1</BookingDuration>
  <BookingTerms>sample string 14</BookingTerms>
  <BookingType>sample string 11</BookingType>
  <Collected>true</Collected>
  <CollectionDate>2026-01-04T01:52:15.615661+00:00</CollectionDate>
  <Email>sample string 8</Email>
  <HasLateCollection>true</HasLateCollection>
  <Id>1</Id>
  <IdNumber>sample string 9</IdNumber>
  <LargeLuggagePricingPerBag>1</LargeLuggagePricingPerBag>
  <LargeLuggage_BagCount>12</LargeLuggage_BagCount>
  <LastName>sample string 6</LastName>
  <LateCollection>
    <BagCount>1</BagCount>
    <CustomerName>sample string 2</CustomerName>
    <HoursLate>1</HoursLate>
    <Id>1</Id>
    <LateFeePaid>1</LateFeePaid>
    <LateTransactionDate>2026-01-04T01:52:15.615661+00:00</LateTransactionDate>
    <OriginalBookingId>1</OriginalBookingId>
    <SiteId>1</SiteId>
  </LateCollection>
  <LuggageCover>1</LuggageCover>
  <LuggageCoverCharge>1</LuggageCoverCharge>
  <LuggagePricingPerBag>1</LuggagePricingPerBag>
  <Reference>sample string 3</Reference>
  <SiteId>2</SiteId>
  <TelNo>sample string 7</TelNo>
  <TotalDueFromCustomer>1</TotalDueFromCustomer>
</Booking>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.