Raises a ticket (using basic authentication)
| Requires authentication? | Yes (HTTP authentication using user name and API key) |
| Post content type | application/json |
| Response formats | JSON |
{
"nodeKey":"TSM-ABC-01",
"priorityId":"2",
"statusId":"3",
"synopsis":"Ticket synopsis",
"detail":"Ticket details",
"assignedToName":"",
"assignedToType":"",
"incidentContactName":"User Name A",
"incidentContactType":"U"
}
api/ticket/raisepredatarticket
| Name | Description |
|---|---|
|
nodeKey required |
Predatar agent name against which a ticket is to be raised. |
|
synopsis required |
Short description of the ticket. |
|
detail required |
Detailed description of the ticket. |
|
priorityId required |
Priority id referes to urgency to raise the ticket. It can be 1, 2, 3 or 4 1 - critical 2 - severe 3 - moderate 4 - query |
|
statusId required |
StatusId refers to current status of the ticket. It can be 2,3 or 9 2- Customer: In progress 3 - Triage 9 - Customer: Unassigned |
|
assignedToName required |
Name of the User or Group to whom the ticket is initially assigned. If an invalid “AssignedtoName” group or user is specified then “AssignedtoName” field to be set to: (a) The companies “Default Incident User” (if one exists) or “Default Incident Group” (if one exists). If both are set, the “Default Incident User” takes precedence. (b) If neither of these are set then the “assigned to” field must be set to the group called "Default Group" Note: AssignedtoName is an empty string when status identifier of the ticket is 3 or 9 that is ticket is in Triage status or Customer: Unassigned status respectively. |
|
assignedToType required |
AssignedtoType can be "U" (for user) or "G" (for group). Note: AssignedtoType is an empty string when status identifier of the ticket is 3 or 9 that is ticket is in Triage status or Customer: Unassigned status respectively. |
|
incidentContactName required |
Name of User or Group who sets the incidentcontact field of Inc_Incident table. If an invalid "IncidentcontactName" group or user is specified I would like the "incident contact" field to be set to (a) The companies "Default Incident User" (if one exists) or "Default Incident Group" (if one exists). If both are set the "Default Incident User" takes precedence. (b) If neither of these are set then the "incident contact" field must be se to the group called "Default Group" |
|
incidentContactType required |
IncidentContactType can be "U" (for user) or "G" (for group). |
{
"TicketId": 2022,
"TicketNumber": 1966
}