ServiceDesk

 View Only

REST API - How create Changes thru templates attribute using REST WS?

  • 1.  REST API - How create Changes thru templates attribute using REST WS?

    Posted Jan 20, 2022 12:47 PM
    Anyone created change tickets using the 'templates' attribute in REST API? Its BREL attribute and not sure how to use collection_chg_tpl on REST Call.
    When I try this below in SOAP UI and got the Error:  java.beans.IntrospectionException: Method not found: is__relAttr__
     
    {
    "chg": {

    "requestor": {
    "@COMMON_NAME": "SDM, WS User"
    },
    "affected_contact": {
    "@COMMON_NAME": "SDM, WS User"
    },
    "templates": {
    'collection' : '[ "chg_tpl" : {"@COMMON_NAME": "Change Template Name"} ]'
    }
    }
    }