Gets all tickets
Requires authentication? | Yes (HTTP authentication using user name and API key) |
Response formats | JSON |
api/ticket/tickets?organisationId=55&nodeGuid=00000000-0000-0000-0000-000000000000&subscriberGroupId=0&ticketPriorityId=1&ticketTypeId=2&startDate=2017-01-06 00:00&endDate=2017-11-17 00:00&filter=TicketId,Status,Notes.Noteid
Name | Description |
---|---|
OrganisationId required |
Id of the organisation |
NodeGuid optional |
NodeGuid of the Node |
SubscriberGroupId optional |
Id of the Subscriber group |
TicketPriorityId optional |
Id of the ticket priority |
TicketTypeId optional |
Id of the ticket type |
StartDate optional |
Start date in the format yyyy-MM-dd HH:mm. If not specified, then the default value will be used, which will be the current date |
EndDate optional |
End date in the format yyyy-MM-dd HH:mm. If not specified, then the default value will be used, which will be the current date. If both startDate and endDate are not specified, then only last 7 days of data will be returned |
IncludeModified optional |
Boolean type parameter, which if passed as true, the data set will also include all the tickets that have been modified, if not passed or passed as false, the dataset will not include the tickes that have been modified |
Filter optional |
Commma separated values of fields to be retrieved. If not specified, then all the fields will be returned. |
[
{
"OrganisationName": "ABC_Inc.",
"TicketId": 1011,
"TicketReferenceNo": 2211,
"Synopsis": "Restore failed for TSM Node: ABC_Inc:WIN-2016",
"Status": "Triage",
"Priority": "4 - query",
"AssignedTo": null,
"TicketContact": "Windows Team",
"RaisedUserName": "PREDATAR",
"RaisedTime": "2017-11-16 00:00:00",
"TicketType": "Request",
"TicketSubType": "Not Assigned",
"LastModified": "2017-11-16 00:00:00",
"LastModifiedUserName": null,
"PredatarLastModified": null,
"CloseTime": null,
"HasChild": false,
"SubscriberGroupName": "Subscriber Group TSM",
"ParentTicketId": 0,
"ParentTicketNo": 0,
"ChildTickets": null,
"Notes": [
{
"NoteId": 510021,
"Description": "Restore failed for TSM Node: ABC_DEV:DEV-WIN-2016",
"CreatedDate": "2017-11-16 00:00:00",
"UserName": "PREDATAR",
"ReminderTime": "0001-01-01 00:00:00",
"NextAction": null
}
]
},
{
"OrganisationName": "ABC_Inc.",
"TicketId": 1012,
"TicketReferenceNo": 2212,
"Synopsis": "PROBLEM: Server TSM-ABC-01 (ABC_TSM01) not available",
"Status": "Customer: Unassigned",
"Priority": "3 - moderate",
"AssignedTo": null,
"TicketContact": "Windows Team",
"RaisedUserName": "PREDATAR",
"RaisedTime": "2017-08-19 00:10:55.083",
"TicketType": "Problem",
"TicketSubType": "Not Assigned",
"LastModified": null,
"LastModifiedUserName": null,
"PredatarLastModified": "2017-09-19 10:27:05.6",
"CloseTime": null,
"HasChild": true,
"SubscriberGroupName": null,
"ParentTicketId": 0,
"ParentTicketNo": 0,
"ChildTickets": [
{
"TicketId": 1253,
"TicketReferenceNo": 1200,
"Synopsis": "Server TSM-ABC-01 (ABC_TSM01) not available"
}
],
"Notes": [
{
"NoteId": 520098,
"Description": "The event has been occurring for last 2 days.",
"CreatedDate": "2017-09-19T10:27:05.597",
"UserName": "PREDATAR",
"ReminderTime": "0001-01-01 00:00:00",
"NextAction": null
},
{
"NoteId": 520099,
"Description": "The event has been occurring for last 2 days.",
"CreatedDate": "2017-09-19 10:06:53.65",
"UserName": "PREDATAR",
"ReminderTime": "0001-01-01 00:00:00",
"NextAction": null
}
]
},
{
"OrganisationName": "ABC_Inc.",
"TicketId": 1013,
"TicketReferenceNo": 2213,
"Synopsis": "XYZ New node requires schedule",
"Status": "Triage",
"Priority": "4 - query",
"AssignedTo": null,
"TicketContact": "Windows Team",
"RaisedUserName": "PREDATAR",
"RaisedTime": "2017-05-09 16:31:43.583",
"TicketType": "Request",
"TicketSubType": "Not Assigned",
"LastModified": null,
"LastModifiedUserName": null,
"PredatarLastModified": null,
"CloseTime": null,
"HasChild": false,
"SubscriberGroupName": "SG_Analytics",
"ParentTicketId": 0,
"ParentTicketNo": 0,
"ChildTickets": null,
"Notes": [ ]
}
]