GET api/v3/Status/GetCurrentUserStatus

Gets the status/action for the current user. User credentials are supplied via the Auth header.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StatusResult object with the users current status

StatusResultV3
NameDescriptionTypeAdditional information
Uid

The UserId GUID/UUID for the user status being return

string

None.

Act

The current action/status type for the user

integer

None.

Ats

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

date

None.

Ste

The current staffing level (state) type for the user

integer

None.

Sts

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

date

None.

Did

The current action/status destination id for the user

integer

None.

Response Formats

application/json

Sample:
{
  "Uid": "sample string 1",
  "Act": 2,
  "Ats": "2017-12-12T09:28:05.3044899+00:00",
  "Ste": 4,
  "Sts": "2017-12-12T09:28:05.3044899+00:00",
  "Did": 6
}

application/xml, text/xml

Sample:
<StatusResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Status">
  <Act>2</Act>
  <Ats>2017-12-12T09:28:05.3044899+00:00</Ats>
  <Did>6</Did>
  <Ste>4</Ste>
  <Sts>2017-12-12T09:28:05.3044899+00:00</Sts>
  <Uid>sample string 1</Uid>
</StatusResult>