Hello,
we have build an application that uses the presence rest api.
Connecting to the the Event Delivery Snapin and receiving updates work fine with:
Event Delivery Snapin: 7.1.2.0.9
Presence Services Snapin: 7.1.2.0.233
We are able to authenticate, create a pubSub container and long poll the events.
Here a part of the response from presence after login:
{
"presenceImResources": {
"userId": "502",
"clientId": "clientCustomer",
"resources": {
"notificationService": {
"longPolling": {
"method": "GET",
"href": "https://PresenceServer/services/EventDelivery/event-delivery/channels/long-polling/users/502/clients/clientCustomer"
}
}......
But with the following snapin versions, the long polling request result in a "400 Bad Request":
Event Delivery Snapin: 8.1.2.0.3
Presence Services Snapin: 8.1.2.0.23
Here a part of the response after login (login and pubSub container works):
{
"presenceImResources": {
"bsid": "57f2ef45-61ea-4079-bdc3-1a94a1569501",
"clientId": "clientCustomer",
"resources": {
"notificationService": {
"longPolling": {
"method": "GET",
"href": "https://PresenceServer/services/EventDelivery/event-delivery/channels/long-polling/bsid/57f2ef45-61ea-4079-bdc3-1a94a15695/clients/clientCustomer"
}
}...
I dont understand why userid is not in the response, and what the bsid is used for.
The latest documentation that i have found was "Release 8.1.0 March 2019". In this document the bsid is not described.
Kind regards,
Domenic