<back to all web services


The following routes are available for this service:
POST/bookinglogAdd a new event to booking logAdd a new event to the booking of the company of the currently logged in user, only administrators are allowed to add items to event log.
CreateBookingLogItem Parameters:
NameParameterData TypeRequiredDescription
CompanyIdbodyGuid?NoThe company id, if empty will use the company id for the user you are logged in with.
BookingIdbodyintYesThe booking id
EventTypeIdbodyintYesThe type of event
CommentsbodystringYesComments that could be added to the event log item
CreatedbodyDateTime?YesThen date when the event occured, leave blank if current datetime
BookingLogQueryResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe booking log id
BookingIdformintNoThe booking id
EventTypeIdformintNoThe type of event
EventTypeformBookingLogEventTypeResponseNoThe type of event
CommentsformstringNoComments that could be added to the event log item
UserNameformstringNoThe user created the event
CreatedformDateTimeNoThen date when the event occured
BookingLogEventTypeResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe event type id
NameformstringNoThe event type name
DescriptionformstringNoThe event type description

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

To embed the response in a jsonp callback, append ?callback=myCallback


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

POST /bookinglog HTTP/1.1 
Accept: application/json
Content-Type: application/json
Content-Length: length

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length