Requires any of the roles: | bookingsupplier-administrator-write, superadmin, bookingsupplier-administrator-read |
GET | /bookinguserqueue/company | Get all queue items for company |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | query | Guid? | No | |
ServiceId | query | int | No | |
DateStart | query | DateTime? | No | |
DateEnd | query | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BookingUserQueueResponseList | form | List<BookingUserQueueItemResponse> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BookingUserQueueId | form | int | No | |
CompanyId | form | Guid | No | |
CustomerId | form | Guid | No | |
ServiceId | form | int | No | |
From | form | DateTime | No | |
To | form | DateTime | No | |
StatusCode | form | int | No | |
StatusName | form | string | No | |
SendConfirmationTime | form | DateTime? | No | |
Quantities | form | List<BookingUserQueuePriceResponse> | No | |
Service | form | ServiceInfoResponse | No | |
Company | form | CompanyInfoResponse | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | form | Guid | No | |
Id | form | int | No | |
BookingUserQueueId | form | int | No | |
ServicePriceId | form | int? | No | |
Quantity | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Name | form | string | No | |
Description | form | string | No | |
ImageUrl | form | Uri | No | |
LengthInMinutes | form | int? | No | |
MaxNumberOfSpotsPerBooking | form | int | No | |
MinNumberOfSpotsPerBooking | form | int | No | |
GroupBooking | form | GroupBookingSettings | No | |
MultipleResource | form | MultipleResourceSettings | No | |
IsGroupBooking | form | bool | No | |
IsPaymentEnabled | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Active | form | bool | No | |
Min | form | int | No | |
Max | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Active | form | bool | No | |
Min | form | int | No | |
Max | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | Guid | No | |
Name | form | string | No | |
LogoType | form | Uri | No | |
Category | form | string | No | |
Street1 | form | string | No | |
Street2 | form | string | No | |
ZipCode | form | string | No | |
City | form | string | No | |
CountryId | form | string | No | |
Longitude | form | string | No | |
Latitude | form | string | No | |
Phone | form | string | No | |
form | string | No | ||
HomePage | form | string | No | |
SitePath | form | string | No |
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.
GET /bookinguserqueue/company HTTP/1.1 Host: api.bokamera.se Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"BookingUserQueueResponseList":[{"BookingUserQueueId":0,"ServiceId":0,"StatusCode":0,"StatusName":"String","SendConfirmationTime":"0001-01-01T00:00:00","Quantities":[{"Id":0,"BookingUserQueueId":0,"ServicePriceId":0,"Quantity":0}],"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","Category":"String","Street1":"String","Street2":"String","ZipCode":"String","City":"String","CountryId":"String","Longitude":"String","Latitude":"String","Phone":"String","Email":"String","HomePage":"String","SitePath":"String"}}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}