Legacy Dev Forum Posts

 View Only

Sign Up

POST Custom Data Action passing JSON as body

  • 1.  POST Custom Data Action passing JSON as body

    Posted 06-05-2025 18:40

    Mark_Mathis | 2017-12-06 18:50:55 UTC | #1

    Is it possible to use POST or PUT as the requestType? Need to save information to a local database for processing a batch file.

    Is it possible to setup the call to pass data in the body as a JSON object, if so, what would the action configuration request template look like

    { "requestUrlTemplate": "https://Purecld-intg.axa-equitable.com/api/selfservice/transaction/allocation, "requestType": "POST", "headers": { "Application": "EIBPurecloudWS" }, "requestTemplate": ???

    Thank you -Mark }


    Jason_Mathison | 2017-12-06 19:09:37 UTC | #2

    PUT and POST are supported: https://help.mypurecloud.com/articles/request-configuration-data-actions/

    Your requestTemplate would flesh out the body of the object, and use velocity template markup to insert input values inside of the object. Take a look at the linked page for examples.


    system | 2018-01-06 19:09:53 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: 2201