Field "presence_status" meaning

I’m using https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli to request a phonebook from Zoom Rooms instance. Among others, there is presence_status field in the response. What does it mean?

Response example:

{
  "PhonebookListResult": {
    "Contacts": [
      {
        "avatarURL": "https://lh6.googleusercontent.com/--KVzUGyNsKs/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucl_w8-49rEuzjV-cSGW6PYC9K2ANA/photo.jpg",
        "email": "xxx",
        "firstName": "Alexander",
        "isLegacy": false,
        "isZoomRoom": false,
        "jid": "xxx@xmpp.zoom.us",
        "lastName": "Zarubkin",
        "onDesktop": true,
        "onMobile": false,
        "phoneNumber": "",
        "presence": "PRESENCE_ONLINE",
        "presence_status": 0,  <-------------------------------- this one
        "screenName": "Alexander Zarubkin",
        "sip_phone_number": ""
      }
    ],
    "Limit": 500,
    "Offset": 0
  },
  "Status": {
    "message": "",
    "state": "OK"
  },
  "Sync": true,
  "topKey": "PhonebookListResult",
  "type": "zCommand"
}

Hey @alexander.zarubkin,

Happy to help. @shrijana.g can you help clarify what this property means?

Thanks,
Tommy

1 Like

Hey @alexander.zarubkin,

Here is the presence_status reference:

presence_status  is only usefult when presence is PRESENCE_BUSY.    

0 -> PRESENCE_STATUS_NA
1 -> PRESENCE_STATUS_ZOOMMEETING     //in a zoom meeting
2 -> PRESENCE_STATUS_MEETING                //in a normal calendar event
3 -> PRESENCE_STATUS_PBX                         //on call
4 -> PRESENCE_STATUS_PRESENTING          //is sharing

Thanks,
Tommy

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.