Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
GET | /webhook/messages | List webhook message |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | query | Guid? | Yes | The company id, if empty will use the company id for the user you are logged in with. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Before | form | DateTime? | No | |
After | form | DateTime? | No | |
Channel | form | string | No | |
Iterator | form | string | No | |
Limit | form | int? | No | |
Order | form | Ordering? | No | |
EventTypes | form | List<string> | No | |
WithContent | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientId | form | Guid | No |
Name | Value | |
---|---|---|
Ascending | ascending | |
Descending | descending |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | GetMessageResponseDto[] | Yes | |
Done | form | bool | No | |
Iterator | form | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | Yes | |
Channels | form | List<string> | Yes | |
EventType | form | string | Yes | |
Metadata | form | Dictionary<string, string> | No | |
Payload | form | Object | Yes | |
EventId | form | string | Yes | |
Timestamp | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /webhook/messages HTTP/1.1 Host: testapi.bokamera.se Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Data: [ { Id: String, Channels: [ String ], EventType: String, Metadata: { String: String }, Payload: {}, EventId: String } ], Done: False, Iterator: String }