GET api/Priority/GetPriority/{id}

Gets priority and its values.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetPriorityResult
NameDescriptionTypeAdditional information
Id

Priority id

integer

None.

PriorityValues

Priority values

Collection of PriorityValue

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PriorityValues": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Color": "sample string 3",
      "Order": 4
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Color": "sample string 3",
      "Order": 4
    }
  ]
}

application/xml, text/xml

Sample:
<GetPriorityResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <Id>1</Id>
  <PriorityValues>
    <PriorityValue>
      <Color>sample string 3</Color>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Order>4</Order>
    </PriorityValue>
    <PriorityValue>
      <Color>sample string 3</Color>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Order>4</Order>
    </PriorityValue>
  </PriorityValues>
</GetPriorityResult>