Field Service

Get Involved. Join the Conversation.

Topic

    Megha Jain
    JSON example for subscription of collaboration events
    Topic posted August 14, 2018 by Megha JainRed Ribbon: 250+ Points 
    55 Views, 4 Comments
    Title:
    JSON example for subscription of collaboration events
    Content:

    Hi,

    I am trying to subscribe for Collaboration events using REST API. Could someone provide a JSON example structure for collaboration events?

    Thanks,

    Megha

    Comment

     

    • Ravi Shankar

      Megha,

      Are you encountering issues during collaboration event creation or looking for a starter? If it is the latter, check the below.

      {
        "subscriptionTitle": "Collaboration_Subscription",
        "subscriptionConfig": [
          {
            "events": [
              "chatMessageSent",
              "chatUpdated",
              "broadcastStatusUpdate",
              "transactionUpdated"
            ]
          }
        ]
      }

      Ravi

    • Megha Jain
      Hi Ravi, Thanks for the response. I am specifically looking at transactionUpdated event. In the Oracle docs for collaboration events, i could see sections like fields, message, transaction. So will these be part of Request object or Response? If Request, then could you please share a sample of the JSON object. Thanks, Megha
    • Ravi Shankar

      Megha,

      To my knowledge (till 18B; yet to look at 18C release notes), collaboration events do not have any customization features like Activity events. Fields listed in the documentation are related to the response. Hope this helps.

      Ravi

    • shankar

      Ravi, Wanted to check if you have tried creating the subscription with filter event & monitor changes. I am assuming it should work similar to activity events example