• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

GET List/TicketPriority/Items/{id}

Some tooltip text!
• 6 minutes to read
 • 6 minutes to read
GET /api/v1/List/TicketPriority/Items/{id}

Gets a TicketPriorityEntity list item.

Calls the List agent service GetTicketPriorityEntity.

Path Part Type Description
id int32 The id of the TicketPriority to return. Required

Request Headers

Parameter Name Description
Authorization Supports 'Basic', 'SoTicket' and 'Bearer' schemes, depending on installation type.
X-XSRF-TOKEN If not using Authorization header, you must provide XSRF value from cookie or hidden input field
Accept Content-type(s) you would like the response in: application/json, text/json, application/xml, text/xml, application/json-patch+json, application/merge-patch+json
Accept-Language Convert string references and multi-language values into a specified language (iso2) code.
SO-Language Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
SO-Culture Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
SO-TimeZone Specify the timezone code that you would like date/time responses converted to.
SO-AppToken The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Response:

OK

Response Description
200 OK
404 Not Found.

Response body: TicketPriorityEntity

Property Name Type Description
TicketPriorityId int32 The primary key (auto-incremented)
Name string The name of the priority.
Status string The status (normal/deleted) of the priority.
Flags string A bitmask of flags.
SortOrder int32 Indicates the sort order for this priority. 1 is first, 100 is last
TicketRead string This field indicates what to do with the escalation chain when the request is read
ChangedOwner string This field indicates what to do with the escalation chain when the request changes owner (manually)
TicketNewinfo string This field indicates what to do with the escalation chain when the request gets new info
TicketClosed string This field indicates what to do with the escalation chain when the request is closed
TicketChangedPriority string This field indicates what to do with the escalation chain when the request is changed into this priority
TicketNew string This field indicates what to do with the escalation chain when a new request is registered
Deadline int32 Deadline to add if escalated (minutes)
MonStart date-time The work hour start for Mondays. Note that only the time part of the DateTime is used
MonStop date-time The work hour start for Mondays. Note that only the time part of the DateTime is used
TueStart date-time The work hour start for Tuesdays. Note that only the time part of the DateTime is used
TueStop date-time The work hour stop for Tuesdays. Note that only the time part of the DateTime is used
WedStart date-time The work hour start for Wednesdays. Note that only the time part of the DateTime is used
WedStop date-time The work hour stop for Wednesdays. Note that only the time part of the DateTime is used
ThuStart date-time The work hour start for Thursdays. Note that only the time part of the DateTime is used
ThuStop date-time The work hour stop for Thursdays. Note that only the time part of the DateTime is used
FriStart date-time The work hour start for Fridays. Note that only the time part of the DateTime is used
FriStop date-time The work hour stop for Fridays. Note that only the time part of the DateTime is used
SatStart date-time The work hour start for Saturdays. Note that only the time part of the DateTime is used
SatStop date-time The work hour stop for Saturdays. Note that only the time part of the DateTime is used
SunStart date-time The work hour start for Sundays. Note that only the time part of the DateTime is used
SunStop date-time The work hour stop for Sundays. Note that only the time part of the DateTime is used
NonDates array Dates which the escalation time should not be running. Note that only the day of the year (day and month) is used. So the year and time part is not used even if this is a DateTime. Exception - it IS possible to include a year here, for dates that should not repeat every year
EscalationLevels array Escalation levels bound to the parent priority
TableRight TableRight The carrier's table right
FieldProperties object Field property dictionary mapping field names to field access rights.

Sample request

GET /api/v1/List/TicketPriority/Items/{id}
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: en

Sample response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "TicketPriorityId": 774,
  "Name": "Dooley, Jast and Hickle",
  "Status": "Deleted",
  "Flags": "AlertSchedule",
  "SortOrder": 931,
  "TicketRead": "Continue",
  "ChangedOwner": "Continue",
  "TicketNewinfo": "Continue",
  "TicketClosed": "Continue",
  "TicketChangedPriority": "Continue",
  "TicketNew": "Continue",
  "Deadline": 23,
  "MonStart": "2017-11-27T17:54:09.148042+01:00",
  "MonStop": "2009-08-28T17:54:09.148042+02:00",
  "TueStart": "2012-02-01T17:54:09.148042+01:00",
  "TueStop": "2021-04-14T17:54:09.148042+02:00",
  "WedStart": "1999-10-09T17:54:09.148042+02:00",
  "WedStop": "2017-01-22T17:54:09.148042+01:00",
  "ThuStart": "1999-11-13T17:54:09.148042+01:00",
  "ThuStop": "2016-02-26T17:54:09.148042+01:00",
  "FriStart": "2021-05-28T17:54:09.148042+02:00",
  "FriStop": "2016-03-31T17:54:09.148042+02:00",
  "SatStart": "2015-04-28T17:54:09.148042+02:00",
  "SatStop": "2013-05-04T17:54:09.148042+02:00",
  "SunStart": "2012-01-31T17:54:09.148042+01:00",
  "SunStop": "2008-01-13T17:54:09.148042+01:00",
  "NonDates": [
    "dolore",
    "dicta"
  ],
  "EscalationLevels": [
    {
      "TicketAlertId": 578,
      "AlertLevel": 671,
      "AlertTimeout": 230,
      "Action": 161,
      "DelegateTo": 570,
      "ScriptId": 652,
      "EmailTo": "justice_batz@oberbrunnerturcotte.uk",
      "SmsTo": "unde",
      "ReplyTemplateIdCustomer": 634,
      "ReplyTemplateIdUser": 412,
      "ReplyTemplateIdCatmast": 428,
      "ReplyTemplateIdEmail": 118,
      "RtiCustomerSms": 722,
      "ReplyTemplateIdUserSms": 65,
      "ReplyTemplateIdCatmastSms": 678,
      "ReplyTemplateIdSms": 500,
      "TableRight": null,
      "FieldProperties": {
        "fieldName": {
          "FieldRight": null,
          "FieldType": "System.String",
          "FieldLength": 572
        }
      }
    }
  ],
  "TableRight": null,
  "FieldProperties": {
    "fieldName": {
      "FieldRight": null,
      "FieldType": "System.Int32",
      "FieldLength": 744
    }
  }
}
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top