GET api/v3/Stations/GetStationResources

Returns all the available responding options (Calls/Stations) for the department

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of RecipientResult objects for each responding option in the department

Collection of StationResultV3
NameDescriptionTypeAdditional information
Id

The Id value of the resource, it will be a Guid value for Users and an Int for all others

string

None.

Typ

The type of the Resource (User or Unit)

integer

None.

Sts

The current action/status type for the resrouce

integer

None.

Stm

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

date

None.

Did

The current action/status destination id for the resrouce

integer

None.

Dnm

The current action/status destination name for the resrouce

string

None.

Ste

The current staffing level (state) type for the user (if the resrouce is a user)

integer

None.

Stt

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:
[
  {
    "Id": "sample string 1",
    "Typ": 2,
    "Sts": 3,
    "Stm": "2017-08-21T04:35:04.2617701+00:00",
    "Did": 5,
    "Dnm": "sample string 6",
    "Ste": 7,
    "Stt": "2017-08-21T04:35:04.2617701+00:00"
  },
  {
    "Id": "sample string 1",
    "Typ": 2,
    "Sts": 3,
    "Stm": "2017-08-21T04:35:04.2617701+00:00",
    "Did": 5,
    "Dnm": "sample string 6",
    "Ste": 7,
    "Stt": "2017-08-21T04:35:04.2617701+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Stations">
  <StationResult>
    <Did>5</Did>
    <Dnm>sample string 6</Dnm>
    <Id>sample string 1</Id>
    <Ste>7</Ste>
    <Stm>2017-08-21T04:35:04.2617701+00:00</Stm>
    <Sts>3</Sts>
    <Stt>2017-08-21T04:35:04.2617701+00:00</Stt>
    <Typ>2</Typ>
  </StationResult>
  <StationResult>
    <Did>5</Did>
    <Dnm>sample string 6</Dnm>
    <Id>sample string 1</Id>
    <Ste>7</Ste>
    <Stm>2017-08-21T04:35:04.2617701+00:00</Stm>
    <Sts>3</Sts>
    <Stt>2017-08-21T04:35:04.2617701+00:00</Stt>
    <Typ>2</Typ>
  </StationResult>
</ArrayOfStationResult>