Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  How to find the bespoke ID's needed

    Posted 27 days ago

    Hi all,

    first post on the community and hopefully someone can help or point me in the right direction. I am learning about API's and want to get a list activity codes that a  business unit has. The API though asks for a businessUnitId and I have searched the system, searched for forums and cannot see how you get the unique id that is assigend to a business unit. It seems nearly everything has a unique identfiier, but trying to get that seems impossible (could be my access levels though). 


    Any thoughts?


    #API/Integrations

    ------------------------------
    Mike Morris
    BCD Travel Germany GmbH
    ------------------------------


  • 2.  RE: How to find the bespoke ID's needed
    Best Answer

    Posted 27 days ago

    Hi,

    You might first get the business units with /api/v2/workforcemanagement/businessunits and then find and use the desired businessUnitId for the next /api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes

    Regards,

    Antti



    ------------------------------
    Antti Mikkola
    Common Product Manager
    Telia Company
    ------------------------------



  • 3.  RE: How to find the bespoke ID's needed

    Posted 27 days ago

    Thank you, I will try that now :-)



    ------------------------------
    Mike Morris
    BCD Travel Germany GmbH
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources