Hello,
With the introduction of global number management, we 've seen an issue with assignee id returned by the /phone/numbers/ and the new one /number_management/
If the assignee is a “commonArea”, we’ve to use the assignee ID returned by /number_management/ otherwise it doesn’t find it
But if the assignee is a “user” or “SharedLineGroup” or “callQueue”, we’ve to use the assignee ID returned by /phone/numbers/ otherwise it doesn’t find it
Example:
/number_management/numbers/Fu4k8_zFR3KW0cs_sn7BPw
{
“id”: “Fu4k8_zFR3KW0cs_sn7BPw”,
…
“assigned_list”: [
{
“assigned_to_id”: “rTavAyENTYu9c8KOJZb_zA”,
“assigned_to_type”: “CommonArea”,
…
}
],
/phone/numbers/Fu4k8_zFR3KW0cs_sn7BPw
{
“id”: “Fu4k8_zFR3KW0cs_sn7BPw”,
…
“assignee”: {
“id”: “v7UhImbxRf2opuYeb6FK_Q”,
“type”: “commonArea”
…
},
/phone/common_areas/rTavAyENTYu9c8KOJZb_zA
{
“id”: “rTavAyENTYu9c8KOJZb_zA”,
…
/phone/common_areas/v7UhImbxRf2opuYeb6FK_Q
{
“code”: 404,
“message”: “Common area does not exist: v7UhImbxRf2opuYeb6FK_Q.”
}
Best regards
1 Like
Hi @maxime.peccoux
Thanks for reaching out to us! While I take a closer look at this issue, could you try making a call to the List common areas endpoint and check if the id returned in your /number_management/numbers/Fu4k8_zFR3KW0cs_sn7BPw call is listed ?
1 Like
Hi @elisa.zoom ,
As mentionned, the ID returned by /number_management/numbers/Fu4k8_zFR3KW0cs_sn7BPw for common area is listed in /phone/common_areas/ and I can retry detail on it /phone/common_areas/Fu4k8_zFR3KW0cs_sn7BPw
But when the assigned is a “user” or “SharedLineGroup” or “callQueue”, the ID returned by /number_management/numbers/… doesn’t work (404) and I’ve to use the ID returned by “old” /phone/numbers/Fu4k8_zFR3KW0cs_sn7BPw
Thanks for that info @maxime.peccoux
Could you please share the tracking id for those requests please so I can share them with our Engineering team, as well as the request URL for each one including the IDs
Hi Elisa,
Please find Trackings ID. I’ve done the test with a User. For Common area, it’s opposite (
1/ NOT WORK : Assigned ID (user) gathered via new number_management way
- GET assigned_to_id from new number_management way
/number_management/numbers/_O-CVre3S9uqIRc3zsgSTA
Tracking ID = WEB_a68a06b6cfe97d7f4b1b5adb730605fc
"assigned_to_id": "ca1MgDljRNCQA7P9RfhtFw",
- GET Phone user with the id gather before
/phone/users/ca1MgDljRNCQA7P9RfhtFw
Tracking ID = WEB_a656a7f933d33fd5ff55a9c817f2fea6
{
"code": 1001,
"message": "User does not exist: ca1MgDljRNCQA7P9RfhtFw."
}
2/ WORK: Assigned ID (user) gathered via old number_management way
- GET assignee id from old number_management way
/phone/numbers/_O-CVre3S9uqIRc3zsgSTA
Tracking ID = WEB_6c98ecb48379ffa1250a311a32d401a5
"assignee": {
"id": "ubPo4NP3ToedRDGdJ-PXbg",
- GET Phone user with the id gather before
/phone/users/ubPo4NP3ToedRDGdJ-PXbg
Tracking ID = WEB_18f693ac0d912fac972868b2f81532a6
{
data on the phone user
}
Best regards
Maxime
1 Like
Thanks @maxime.peccoux
I have created an Engineering ticket so our team can look further into this (ZSEE-168654) I will update you as soon as I hear back from them
1 Like
Hey @maxime.peccoux
thanks for your patience here. Our Engineering team came back to me with an update and it seems like this might be a bug on our end, but as they continue to investigate this issue, they are asking for newer tracking IDS. Would you be able to replicate this issue and share some more recent tracking IDs so I can send those back to the team please
1 Like
Hi Elisa,
Please find new Trackings ID. I’ve done the test with a User. For Common area, it’s opposite (
1/ NOT WORK : Assigned ID (user) gathered via new number_management way
GET assigned_to_id from new number_management way
/number_management/numbers/_O-CVre3S9uqIRc3zsgSTA
Tracking ID = WEB_48dd5a9776a9fe0cba0a8d09737474bc
"assigned_to_id": "ca1MgDljRNCQA7P9RfhtFw",
GET Phone user with the id gather before
/phone/users/ca1MgDljRNCQA7P9RfhtFw
Tracking ID = WEB_fe0de105a87ab2266364d0c703815b1b
{
"code": 1001,
"message": "User does not exist: ca1MgDljRNCQA7P9RfhtFw."
}
2/ WORK: Assigned ID (user) gathered via old number_management way
GET assignee id from old number_management way
/phone/numbers/_O-CVre3S9uqIRc3zsgSTA
Tracking ID = WEB_39f22fb060e2c08f62972265b0415d03
"assignee": {
"id": "ubPo4NP3ToedRDGdJ-PXbg",
GET Phone user with the id gather before
/phone/users/ubPo4NP3ToedRDGdJ-PXbg
Tracking ID = WEB_2f8d528ccef4b9d84a1e03a5e1b13cef
{
data on the phone user
}
Best regards
Maxime
1 Like
Thanks a lot @maxime.peccoux !
I just shared this with our Engineering team again
1 Like