CA Service Management

  • 1.  Update existing Incident ticket using REST API

    Posted Jan 04, 2018 05:31 AM

    Hi All ,

     

    We are trying to update the incident ticket using REST API using the ref_num value but that does not seems to be working, however when we use cr value that works fine.

     

    could you let us know if using ref_num for PUT method is possible ?

    also suggest us the document which can help us in future.



  • 2.  Re: Update existing Incident ticket using REST API
    Best Answer

    Posted Jan 04, 2018 07:05 AM

    Even though it is not officially supported, see documentation

    the following seems to work for ref_num=43

     

     

    Hope this helps.

    Regards

    ...........Michael



  • 3.  Re: Update existing Incident ticket using REST API

    Posted Jan 08, 2018 05:12 AM

    One more question for you Michael

    can we also update the "affected_service" on an ticket using @coman_name attribute ?

     

    if yes please help me with some example



  • 4.  Re: Update existing Incident ticket using REST API

    Posted Jan 08, 2018 06:07 AM

    Hi.

    I'm not aware of such a capability. You first need to get the internal id of the referenced record with a simple GET request using the COMMON_NAME (be aware, that the common name must be unique to have that working), and then  you can use this id to set the SREL Attribute in the ticket.

    Regards

    ...........Michael



  • 5.  Re: Update existing Incident ticket using REST API

    Posted Jan 08, 2018 06:32 AM

    thanks for the response Michael