BokaMera.API.Host

<back to all web services

GetAllBookingQueue

Requires Authentication
The following routes are available for this service:
GET/bookinguserqueue/userGet all (future) queue items for the logged in user
GetAllBookingQueue Parameters:
NameParameterData TypeRequiredDescription
UserIdqueryGuid?NoThe user id for your profile. If not set it will set it automatically from your session
DateStartquerydateTimeNoOptional start date for the search interval. If not set it will default to todays date.
DateEndquerydateTimeNoOptional end date for the search interval. If not set all future queue items will be returned.
CompanyQueueItemsquerybooleanNoSet to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this.
ServiceIdqueryintNoOptional filter for a specific service id.
CustomerIdqueryGuidNoOptional filter for a specific customer id.
IncludeServiceInformationquerybooleanNoIf you want to include the service information for the booking
IncludeCompanyInformationquerybooleanNoIf you want to include the company information for the booking
IncludeCustomerInformationquerybooleanNoIf you want to include the customer information for the booking
SkipqueryintNoNumber of records to skip (for pagination)
TakequeryintNoMaximum number of records to return (for pagination)

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

HTTP + JSON

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

GET /bookinguserqueue/user HTTP/1.1 
Host: api.bookmore.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"BookingUserQueueId":0,"ServiceId":0,"StatusCode":0,"StatusName":"String","SendConfirmationTime":"0001-01-01T00:00:00","Quantities":[{"Id":0,"BookingUserQueueId":0,"ServicePriceId":0,"Quantity":0,"Price":0,"PriceText":"String"}],"Service":{"Id":0,"Name":"String","Description":"String","LengthInMinutes":0,"MaxNumberOfSpotsPerBooking":0,"MinNumberOfSpotsPerBooking":0,"GroupBooking":{"Active":false,"Min":0,"Max":0},"MultipleResource":{"Active":false,"Min":0,"Max":0},"IsGroupBooking":false,"IsPaymentEnabled":false},"Company":{"Name":"String","SitePath":"String"},"Customer":{"Firstname":"String","Lastname":"String","Email":"String","Phone":"String","FacebookUserName":"String","ImageUrl":"String","PersonalIdentityNumber":"String","CorporateIdentityNumber":"String","InvoiceAddress1":"String","InvoiceAddress2":"String","InvoiceCity":"String","InvoicePostalCode":"String","InvoiceCountryCode":"String"}}]