curl --request PATCH \
--url http://localhost:8000/v1/tickets/mark-duplicate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"duplicateTicketId": "<string>",
"duplicateOfTicketId": "<string>"
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"accountId": "<string>",
"status": "<string>",
"priority": "<string>",
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"requestorEmail": "<string>",
"submitterEmail": "<string>",
"customFieldValues": [
"<string>"
],
"deletedAt": "<string>",
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
curl --request PATCH \
--url http://localhost:8000/v1/tickets/mark-duplicate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"duplicateTicketId": "<string>",
"duplicateOfTicketId": "<string>"
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"accountId": "<string>",
"status": "<string>",
"priority": "<string>",
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"requestorEmail": "<string>",
"submitterEmail": "<string>",
"customFieldValues": [
"<string>"
],
"deletedAt": "<string>",
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Enter the bearer token
Operation successful
The response is of type object
.