Discussions

Ask a Question
Back to All

User License type mapping

Hi,

I am using https://developers.dialpad.com/reference/planavailable_licensesget api to retrieve licenses


Sample response:

{
"additional_number_lines": "0",
"contact_center_lines": "0",
"fax_lines": "0",
"ppu_address": {
"country": "jp"
},
"room_lines": "0",
"sell_lines": "0",
"talk_lines": "3",
"tollfree_additional_number_lines": "0",
"tollfree_room_lines": "0",
"tollfree_uberconference_lines": "0",
"uberconference_lines": "0"
}

Using this users api to get licenses assigned to each user. I can see license filed in each user object
it will be enum (admins agents dpde_all dpde_one lite_lines lite_support_agents magenta_lines talk)

Untitled

How do we map this license in user api and licenses we are getting in licenses api.

Please help.