Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  About Input items for data actions

    Posted 09-26-2024 05:31
    No replies, thread closed.

    Hello,All

    I am currently using a translation service, so I do apologize for any grammatical, or translation errors. 
    Also, please forgive me if this isn't the correct place to ask this question.

    Data action sample prepared by the Genesys.
    ※https://help.mypurecloud.com/articles/example-architect-flows-and-custom-data-actions-for-direct-routing/
     DataAction:"Get User by Address"
    ------------------------------------------------
    Request URL Template
    /api/v2/users/search

    Request Body Template
    {"query":[{"value":"${input.value}","fields":[${input.fields}],"type":"${input.type}","operator":"${input.operator}"}]}
    ------------------------------------------------

    Not sure what can be entered in the "fields".
    Only two test functions that worked were "email" and "name".

    If you have any other valid words, please let me know.

    Kind Regards


    #API/Integrations

    ------------------------------
    Katsuya Yamasaki
    Kanden CS Forum Inc.
    ------------------------------


  • 2.  RE: About Input items for data actions
    Best Answer

    Posted 09-27-2024 04:20
    No replies, thread closed.

    Hello Katsuya,
    You should be able to find a list of the "fields" in the API Exlorer: post /api/v2/users/search, but if you still cant find an answer, this would probably be a good question for the Genesys Cloud Developer Forum



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: About Input items for data actions

    Posted 10-04-2024 03:00
    No replies, thread closed.

    thank you Samuel,

    I looked at the api and it's very difficult, couldn't find a list.
    I used small pockets of time to check the api, but it will take more time
    , will try to ask question in the Genesys Cloud Developer Forum.



    ------------------------------
    Katsuya Yamasaki
    Kanden CS Forum Inc.
    ------------------------------