Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
Forum Index » Avaya Breeze » Presence REST API - Creating PUBSUB Container   XML
Author Message


Joined: 29/04/2015 05:16:49
Messages: 13

Hello there,

I am able to send Long Poll Requests to the Presence Services REST API. But when I send the PUBSUB Container request, I only get "" as an Answer.

PUBSUB Request:
  "pubSubContainer": {
    "additionalResources": {
      "capabilitiesPublication": {},
      "presencePublication": {},
      "serviceCapabilitiesSubscription": {},
      "presenceSubscriptions": [ {}, {} ],
      "watcherAuthReqSubscription": {},
      "imSubscription": {},
      "sentImSubscription": {},
      "presentity": {}
    "restPostbackUri": "https://<server-url>/test.php"

Answer from Event Delivery:
HTTP/1.1 415 Unsupported Media Type
Server: web
Date: Tue, 01 Jun 2021 13:13:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Language: en-US
Set-Cookie: JSESSIONID=00009WS6u33YXV5VIPNsLfXzDHQ:-1; Path=/; HttpOnly
Set-Cookie: ibmappid=local.1622548124626
Strict-Transport-Security: max-age=31536000; includeSubdomains

I just updates to the latest versions for Presence and EventDelivery (8.1.4)

This message was edited 2 times. Last update was at 01/06/2021 08:20:46


Joined: 05/05/2020 02:51:49
Messages: 3


Error is 415 Unsupported Media Type.
Might be something to do with http headers, usually it should be like this:

Accept: application/vnd.avaya.presence-im.container.v1+json, application/vnd.avaya.presence-im.error.v1+json

Can you confirm headers you are using with the request?



Joined: 29/04/2015 05:16:49
Messages: 13


my headers to Presence always include this:

Accept: application/vnd.avaya.presence-im.container.v1+json, application/vnd.avaya.presence-im.error.v1+json

But it seems like I found a better solution. I will use the AdHoc Presence Request. This is all I need.

Thank you. :)

Joined: 30/06/2021 06:17:30
Messages: 1

I am making a data pipeline where several apis are integrated into a single database schema. This is for retail purposes. Every hour or so the api's are queried and say 1000-2000 records come back. Maybe a quarter are duplicate records because the api doesn't allow you to exclude already fetched items.

official website

This message was edited 1 time. Last update was at 01/07/2021 06:11:05

Go to: