GET api/v3/CallPriorities/GetAllCallPriorites

Returns all the call priorities (including deleted ones) for a department

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of CallPriorityResult objects for each call priority in the department

Collection of CallPriorityResult
NameDescriptionTypeAdditional information
Id

integer

None.

DepartmentId

integer

None.

Name

string

None.

Color

string

None.

Sort

integer

None.

IsDeleted

boolean

None.

IsDefault

boolean

None.

Response Formats

application/json

Sample:
[
  {
    "Id": 1,
    "DepartmentId": 2,
    "Name": "sample string 3",
    "Color": "sample string 4",
    "Sort": 5,
    "IsDeleted": true,
    "IsDefault": true
  },
  {
    "Id": 1,
    "DepartmentId": 2,
    "Name": "sample string 3",
    "Color": "sample string 4",
    "Sort": 5,
    "IsDeleted": true,
    "IsDefault": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCallPriorityResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.CallPriorities">
  <CallPriorityResult>
    <Color>sample string 4</Color>
    <DepartmentId>2</DepartmentId>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
    <Sort>5</Sort>
  </CallPriorityResult>
  <CallPriorityResult>
    <Color>sample string 4</Color>
    <DepartmentId>2</DepartmentId>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
    <Sort>5</Sort>
  </CallPriorityResult>
</ArrayOfCallPriorityResult>