GET api/v3/Personnel/GetPersonnelStatuses

Get's all the personnel in a department and their current status and staffing information

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of PersonnelStatusResult objects, with status and staffing information for each user.

Collection of PersonnelStatusResultV3
NameDescriptionTypeAdditional information
Uid

The UserId GUID/UUID for the user state/staffing level being return

string

None.

Atp

The current action/status type for the user

integer

None.

Atm

The timestamp of the last action. This is converted UTC to the departments, or users, TimeZone.

date

None.

Did

The current action/status destination id for the user

string

None.

Ste

The current staffing level (state) type for the user

integer

None.

Stm

The timestamp of the last state/staffing level. This is converted UTC to the departments, or users, TimeZone.

date

None.

Response Formats

application/json

Sample:
[
  {
    "Uid": "sample string 1",
    "Atp": 2,
    "Atm": "2017-08-21T02:31:33.4055344+00:00",
    "Did": "sample string 4",
    "Ste": 5,
    "Stm": "2017-08-21T02:31:33.4055344+00:00"
  },
  {
    "Uid": "sample string 1",
    "Atp": 2,
    "Atm": "2017-08-21T02:31:33.4055344+00:00",
    "Did": "sample string 4",
    "Ste": 5,
    "Stm": "2017-08-21T02:31:33.4055344+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPersonnelStatusResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Personnel">
  <PersonnelStatusResult>
    <Atm>2017-08-21T02:31:33.4055344+00:00</Atm>
    <Atp>2</Atp>
    <Did>sample string 4</Did>
    <Ste>5</Ste>
    <Stm>2017-08-21T02:31:33.4055344+00:00</Stm>
    <Uid>sample string 1</Uid>
  </PersonnelStatusResult>
  <PersonnelStatusResult>
    <Atm>2017-08-21T02:31:33.4055344+00:00</Atm>
    <Atp>2</Atp>
    <Did>sample string 4</Did>
    <Ste>5</Ste>
    <Stm>2017-08-21T02:31:33.4055344+00:00</Stm>
    <Uid>sample string 1</Uid>
  </PersonnelStatusResult>
</ArrayOfPersonnelStatusResult>