Access Resource Profile with Advanced Settings
    • PDF

    Access Resource Profile with Advanced Settings

    • PDF

    Article summary

    1. Search Tickets

    This GET method searches tickets using search text and the ITSM integration setting available for the profile.

    GET{{url}}/api/resource-manager/my-resources/profiles/{profileId}/itsm/{ticketType}/search

    Request Parameters

    The request parameters used in this method are shown in the following table:

    ParameterDescriptionData TypeRequired
    profileIdProfile ID to get Profile Access SettingStringMandatory
    tiketTypeTicket type for ITSM ticket searchingStringMandatory
    searchTextThe text for searchingStringOptional

    Request Example

    Shell
    curl --location -g --request GET '{{url}}/api/resource-manager/my-resources/profiles/{profileId}/itsm/{ticketType}/search'
    --header 'Authorization: TOKEN {{token}}'
    

    Response Example 

    Status: 200 OK
    JSON
    {
      "totalCount": 0,
      "maxResults": 0,
      "tickets": {}
    }

    2. Validate ITSM Ticket

    This GET method validates the ITSM ticket using the ITSM integration setting available for the resource profile.

    GET{{url}}/api/resource-manager/my-resources/profiles/{profileId}/itsm/{ticketType}/validate/{ticketId}

    Request Parameters

    The request parameters used in this method are shown in the following table:

    ParameterDescriptionData TypeRequired
    profileIdProfile ID to get resource profile access settingStringMandatory
    ticketTypeTicket type for ITSM ticket searchingStringMandatory
    ticketIdTicket ID for the validationStringMandatory

    Request Example

    Shell
    curl --location -g --request GET '{{url}}/api/resource-manager/my-resources/profiles/{profileId}/itsm/{ticketType}/validate/{ticketId}' 
    --header 'Authorization: TOKEN {{token}}'
    

    Response Example 

    Status: 200 OK
    JSON
    {
      "success": true,
      "message": "string",
      "ticketDetails": {}
    }

    Was this article helpful?