This documentation supports the 22.1 version of BMC Helix ITSM.To view an earlier version, select the version from the Product version menu.

Example of using the platform REST API to modify an incident entry


You can use the PUT method to modify an incident entry.

  1. Open the Postman - REST Client.
  2. Create a token. 
  3. Set the Request URL as http://serverName:port/api/arsys/v1/entry/HPD:IncidentInterface/RequestIDOfAnIncidentOnHPD:IncidentInterface, for example:
    http://serverName:port/api/arsys/v1/entry/HPD:IncidentInterface/INC000000000806|INC000000000806
  4. Select the operation as PUT.
  5. Click Headers.
    Enter the following data as key value pair in the header:

    Key

    Value

    Authorization

    AR-JWT <tokengenerated>

    Content-Type

    application/json

  6. Select raw.
  7. From the list, select JSON.
  8. Enter the JSON input for creating an entry.
    Refer to the following sample code.

    {
     "values": {                                               
    "Description" : "Rest API: Resolve Incident using Rest
    API"
    ,                                               
    "Status" : "Resolved",                                               
    "Status_Reason" : "Future Enhancement",                                               
    "Resolution" : "Resolve through Rest API"
    }
    }
  9. Click Send.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*