You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

running a query in Postman but getting error

Question
25
Views
0
Comments
edited Jun 4, 2019 3:15AM in Integrations and APIs

Summary

i am trying to generate a JSON file for the below query but not able to , can someone suggest what is wrong with my request, i have looped filter used, hope i have set it correct

Content

Request:

{

    "id": 100443,

    "filters": [

        {

            "name": "Survey",

             "values":{

                "EnergyAustralia":{

               "Email Surveys":

               [

                "Billing Episode Survey- Email",

                "Billing Episode Survey- Email_June2017",

                "Episode -Power of Choice",

                "First Bill Survey",

                "Move Home",

                "Transactional Survey",

                "Transactional Survey-Email-V1.1"

            ]

                                                }

                                                }

        },

        {

            "name": "Survey Completed Date",

            "values": [

               "2018-09-01T12:00:00.000Z",

                "2018-09-02T12:00:00.000Z"

            ]

        }

    ]

}

 

Response:

 

{

    "type": "https://energyaustralia--tst.custhelp.com/services/rest/connect/exceptions/OSC-CREST-00006",

    "title": "An attempt to write a resource failed",

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!