Phone count per Edge

Hi Dev Forum, Is it possible to get Phone registration count per edge device via the API?
I am able to see Edge registration per Phone via GET /api/v2/telephony/providers/edges/phones/{phoneId} but this is not available when querying GET/api/v2/telephony/providers/edges/phones.

Ideally would be preferred to have this property included on GET /api/v2/telephony/providers/edges/{edgeId}.

GCM Tool appears to have this capability so would like to query if this can be made available on the Genesys UI and Public API.

Can you try GET /api/v2/telephony/providers/edges/phones and add the expand query parameter with values status.primaryEdgesStatus,status.secondaryEdgesStatus (comma separated values) then it will get you the primary and secondary edge that each phone is registered and active on.

I assume you have the edges already retrieved so you will iterate each phone and count+1 the phone registered to each of your edges.

Hope I got to your point

1 Like

Thank you for spotting! This has worked for me and have managed to utilize. :slightly_smiling_face:
I would still prefer the property in the return on GET /api/v2/telephony/providers/edges/{edgeId} as it feels like the right place but for now issue resolved.

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