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:
Parameter | Description | Data Type | Required |
profileId | Profile ID to get Profile Access Setting | String | Mandatory |
tiketType | Ticket type for ITSM ticket searching | String | Mandatory |
searchText | The text for searching | String | Optional |
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:
Parameter | Description | Data Type | Required |
profileId | Profile ID to get resource profile access setting | String | Mandatory |
ticketType | Ticket type for ITSM ticket searching | String | Mandatory |
ticketId | Ticket ID for the validation | String | Mandatory |
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": {}
}