ClubReady Api

<back to all web services

BookingStatusUpdateRequest

The following routes are available for this service:
POST/scheduling/booking-status-updateUpdate a Booking Status
BookingStatusUpdateRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyquerystringYesApi Key - grants access to resources
StoreIdquerystringYesStoreId
UserIdquerystringYesUserID
StatusIdqueryintegerYesStatus ID
BookingIdqueryintegerYesBooking ID
RestrictedIdbodyint?No
RestrictedResourceTypebodyRestrictedResourceTypeNo
BookingStatusUpdateRequestDto Parameters:
NameParameterData TypeRequiredDescription
UserIdformint?No
StatusIdformintNo
BookingIdformintNo
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined
BookingStatusUpdateResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo
BookingStatusUpdateResponseDto Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /scheduling/booking-status-update HTTP/1.1 
Host: clubready.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ApiKey":"String","StoreId":0,"UserId":0,"StatusId":0,"BookingId":0,"RestrictedId":0,"RestrictedResourceType":"Store","ChainId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Message":"String"}