Legacy Dev Forum Posts

 View Only

Sign Up

Error when creating data actions for creating a Phone using API

  • 1.  Error when creating data actions for creating a Phone using API

    Posted 06-05-2025 18:45

    Khurshid_Ali | 2024-05-01 14:07:57 UTC | #1

    I was currently working on the project for automating user ID creation in Genesys based on web messages.

    I am able to create user, assign roles, division, titles and departments using user APIs.

    I am facing challenge in creating data action for creating phones.

    I have used below link and APIs to create phones, but it fails on data actions (though I am ABLE TO CREATE it on DEV Center without issues). I am not able to understand the right way of collecting data in Input contaract.

    [additionally, Is there any video/book tutorial to explain step-by-step guide to interpret schema and how to write them in the input/output/response body?]

    Though I have created lot of data actions which works just fine but this is giving me difficult time to configure it rightly. I must be doing some silly mistake for sure, which I am not able to track. Your expertise should be able to help me look in right direction.

    Can someoneplease help me in this matter?

    The page I am accessing to create phone is here: create-phone

    POST /api/v2/telephony/providers/edges/phones

    Create a new Phone

    ![image

    690x317](upload://iiZcOWxSZhNfVMo9pnpa6uv6nUh.png)

    ![image

    690x316](upload://8qCLc0YtKOXT9k6rM4QUM2yObIt.png)

    Another way:

    ![image

    690x318](upload://brney9LaWbtZxwwK99djJMqYyO8.png)

    ![image

    690x323](upload://5ewgEX2VI9KGeQZngyMOImRDmYu.png)


    Khurshid_Ali | 2024-05-04 04:51:56 UTC | #2

    Kindly ignore. I was able to fix this. Great Learning!


    system | 2024-06-04 04:52:36 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 26016