GET api/v3/Staffing/GetCurrentStaffing

Gets the current staffing level (state) for the user

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StateResult object with the users current staffing level

StaffingResultV3
NameDescriptionTypeAdditional information
Uid

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

string

None.

Nme

The full name of the user for the state/staffing level being returned

string

None.

Typ

The current staffing level (state) type for the user

integer

None.

Tms

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

date

None.

Not

Staffing note for the User's staffing

string

None.

Response Formats

application/json

Sample:
{
  "Uid": "sample string 1",
  "Nme": "sample string 2",
  "Typ": 3,
  "Tms": "2017-08-21T04:04:30.2422083+00:00",
  "Not": "sample string 5"
}

application/xml, text/xml

Sample:
<StaffingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Staffing">
  <Nme>sample string 2</Nme>
  <Not>sample string 5</Not>
  <Tms>2017-08-21T04:04:30.2422083+00:00</Tms>
  <Typ>3</Typ>
  <Uid>sample string 1</Uid>
</StaffingResult>