| GET | /api/bookings |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Includes | query | string[] | No | |
| BranchId | query | int? | No | |
| Available | query | bool | No | |
| PartnerIds | query | List<long> | No | |
| OnlyToday | query | bool? | No | |
| RoomId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Orderby | form | string | No | |
| Select | form | string | No | |
| Filter | form | string | No | |
| Skip | form | int? | No | |
| Top | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| __count | form | int | No | |
| results | form | IList<T> | No | |
| Filter | form | Object | No | |
| Timestamp | form | DateTime | No | |
| CustomVaule1 | form | Object | No | |
| CustomVaule2 | form | Object | No | |
| CustomVaule3 | form | Object | 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 /api/bookings HTTP/1.1 Host: api.pos365.vn Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"__count":0,"filter":{},"Timestamp":"2025-10-29T01:48:51.6851507Z","CustomVaule1":{},"CustomVaule2":{},"CustomVaule3":{}}