PATCH Bookings by id

Overview

Request

PATCH /Bookings/[id]

Request Information

Request Parameters

Name
Type
Requirement
Description
id
Integer
Mandatory
ContextId in Request URI should be Booking ID
agentReferenceNumber
String
Optional
Agent's reference number
fullPaymentDueDate
String
Optional
Date

Request Example

{
  "agentReferenceNumber": "23424855",
  "fullPaymentDueDate": "2023-12-21"
}

Response Information

Response Codes

HTTP status code
Description
200 OK
The resource was updated successfully
202 Accepted
The request was accepted
400 Bad Request
The resource was malformed
401 Unauthorized
Missing or invalid API key
403 Forbidden
One or more parameters has already been set on the resource record and cannot be updated
404 Not Found
The specified resource was not found
500 Internal Server Error
An unexpected error occurred on the API server