question

Greg Rossi avatar image
Greg Rossi asked Phong Vu answered

Account Telephony Sessions Event - body["parties"] Primary Key

We have subscriptions set up to get the party information from the Account Telephony Sessions Event Notifications (https://developers.ringcentral.com/api-reference/Account-Telephony-Sessions-Event). I see that the body["parties"] is a list which means we could see more than one party for a given UUID. If that is the case then what fields would make the body["parties"] unique? In database terms, what is the Primary key of the body["parties"]?

phonesubscriptionpubnub
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

The parties array will always have only 1 item. So it's safe to use body.parties[0].xxx

Read this article for more about the telephony session event notification.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys