Automic Community Integrations

 View Only

WEB SERVICE REST API RESPONSE

  • 1.  WEB SERVICE REST API RESPONSE

    Posted May 26, 2022 05:49 AM
    Hi everyone,

    I want to save Author values as variable, using JSON Code. I used Webservice Rest Job.


    JSON Code that I used:

    {
    "store": {
    "book": [
    { "category": "reference",
    "author": "Nigel Rees",
    "title": "Sayings of the Century",
    "price": 8.95
    },
    { "category": "fiction",
    "author": "Evelyn Waugh",
    "title": "Sword of Honour",
    "price": 12.99
    },
    { "category": "fiction",
    "author": "J. R. R. Tolkien",
    "title": "The Lord of the Rings",
    "isbn": "0-395-19395-8",
    "price": 22.99
    }
    ],
    "bicycle": {
    "color": "red",
    "price": 19.95
    }
    }
    }

    When I execute this job, I am getting this error.

    And variable values is empty in reports. 

    How can I achieve this problem?
    Thanks for your comments.