GET api/Spireon/GetAssetStatuses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SpireonAssetStatus
NameDescriptionTypeAdditional information
AssetStatusId

integer

None.

address

string

Max length: 256

cargoLoaded

boolean

None.

city

string

Max length: 128

deviceId

integer

None.

evendDateTime

date

None.

eventTypeName

string

Max length: 128

gpsTrackedDistance

decimal number

None.

heading

decimal number

None.

id

integer

None.

idle

boolean

None.

idleStartTime

date

None.

LandmarkId

integer

None.

landmarkName

string

Max length: 128

lat

decimal number

None.

lng

decimal number

None.

moving

boolean

None.

movingStartTime

date

None.

name

string

Max length: 10

serial

string

Max length: 20

stopped

boolean

None.

stoppedStartTime

date

None.

typeId

integer

None.

typeName

string

None.

state

string

None.

zip

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AssetStatusId": 1,
    "address": "sample string 2",
    "cargoLoaded": true,
    "city": "sample string 4",
    "deviceId": 1,
    "evendDateTime": "2024-11-22T23:32:47.8882711-06:00",
    "eventTypeName": "sample string 6",
    "gpsTrackedDistance": 1.1,
    "heading": 1.1,
    "id": 1,
    "idle": true,
    "idleStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "LandmarkId": 1,
    "landmarkName": "sample string 7",
    "lat": 8.1,
    "lng": 9.1,
    "moving": true,
    "movingStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "name": "sample string 10",
    "serial": "sample string 11",
    "stopped": true,
    "stoppedStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "typeId": 1,
    "typeName": "sample string 12",
    "state": "sample string 13",
    "zip": "sample string 14"
  },
  {
    "AssetStatusId": 1,
    "address": "sample string 2",
    "cargoLoaded": true,
    "city": "sample string 4",
    "deviceId": 1,
    "evendDateTime": "2024-11-22T23:32:47.8882711-06:00",
    "eventTypeName": "sample string 6",
    "gpsTrackedDistance": 1.1,
    "heading": 1.1,
    "id": 1,
    "idle": true,
    "idleStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "LandmarkId": 1,
    "landmarkName": "sample string 7",
    "lat": 8.1,
    "lng": 9.1,
    "moving": true,
    "movingStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "name": "sample string 10",
    "serial": "sample string 11",
    "stopped": true,
    "stoppedStartTime": "2024-11-22T23:32:47.8882711-06:00",
    "typeId": 1,
    "typeName": "sample string 12",
    "state": "sample string 13",
    "zip": "sample string 14"
  }
]

text/html

Sample:
[{"AssetStatusId":1,"address":"sample string 2","cargoLoaded":true,"city":"sample string 4","deviceId":1,"evendDateTime":"2024-11-22T23:32:47.8882711-06:00","eventTypeName":"sample string 6","gpsTrackedDistance":1.1,"heading":1.1,"id":1,"idle":true,"idleStartTime":"2024-11-22T23:32:47.8882711-06:00","LandmarkId":1,"landmarkName":"sample string 7","lat":8.1,"lng":9.1,"moving":true,"movingStartTime":"2024-11-22T23:32:47.8882711-06:00","name":"sample string 10","serial":"sample string 11","stopped":true,"stoppedStartTime":"2024-11-22T23:32:47.8882711-06:00","typeId":1,"typeName":"sample string 12","state":"sample string 13","zip":"sample string 14"},{"AssetStatusId":1,"address":"sample string 2","cargoLoaded":true,"city":"sample string 4","deviceId":1,"evendDateTime":"2024-11-22T23:32:47.8882711-06:00","eventTypeName":"sample string 6","gpsTrackedDistance":1.1,"heading":1.1,"id":1,"idle":true,"idleStartTime":"2024-11-22T23:32:47.8882711-06:00","LandmarkId":1,"landmarkName":"sample string 7","lat":8.1,"lng":9.1,"moving":true,"movingStartTime":"2024-11-22T23:32:47.8882711-06:00","name":"sample string 10","serial":"sample string 11","stopped":true,"stoppedStartTime":"2024-11-22T23:32:47.8882711-06:00","typeId":1,"typeName":"sample string 12","state":"sample string 13","zip":"sample string 14"}]

application/xml, text/xml

Sample:
<ArrayOfSpireonAssetStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExtranetDB_DNF.Models.Spireon">
  <SpireonAssetStatus>
    <AssetStatusId>1</AssetStatusId>
    <LandmarkId>1</LandmarkId>
    <address>sample string 2</address>
    <cargoLoaded>true</cargoLoaded>
    <city>sample string 4</city>
    <deviceId>1</deviceId>
    <evendDateTime>2024-11-22T23:32:47.8882711-06:00</evendDateTime>
    <eventTypeName>sample string 6</eventTypeName>
    <gpsTrackedDistance>1.1</gpsTrackedDistance>
    <heading>1.1</heading>
    <id>1</id>
    <idle>true</idle>
    <idleStartTime>2024-11-22T23:32:47.8882711-06:00</idleStartTime>
    <landmarkName>sample string 7</landmarkName>
    <lat>8.1</lat>
    <lng>9.1</lng>
    <moving>true</moving>
    <movingStartTime>2024-11-22T23:32:47.8882711-06:00</movingStartTime>
    <name>sample string 10</name>
    <serial>sample string 11</serial>
    <state>sample string 13</state>
    <stopped>true</stopped>
    <stoppedStartTime>2024-11-22T23:32:47.8882711-06:00</stoppedStartTime>
    <typeId>1</typeId>
    <typeName>sample string 12</typeName>
    <zip>sample string 14</zip>
  </SpireonAssetStatus>
  <SpireonAssetStatus>
    <AssetStatusId>1</AssetStatusId>
    <LandmarkId>1</LandmarkId>
    <address>sample string 2</address>
    <cargoLoaded>true</cargoLoaded>
    <city>sample string 4</city>
    <deviceId>1</deviceId>
    <evendDateTime>2024-11-22T23:32:47.8882711-06:00</evendDateTime>
    <eventTypeName>sample string 6</eventTypeName>
    <gpsTrackedDistance>1.1</gpsTrackedDistance>
    <heading>1.1</heading>
    <id>1</id>
    <idle>true</idle>
    <idleStartTime>2024-11-22T23:32:47.8882711-06:00</idleStartTime>
    <landmarkName>sample string 7</landmarkName>
    <lat>8.1</lat>
    <lng>9.1</lng>
    <moving>true</moving>
    <movingStartTime>2024-11-22T23:32:47.8882711-06:00</movingStartTime>
    <name>sample string 10</name>
    <serial>sample string 11</serial>
    <state>sample string 13</state>
    <stopped>true</stopped>
    <stoppedStartTime>2024-11-22T23:32:47.8882711-06:00</stoppedStartTime>
    <typeId>1</typeId>
    <typeName>sample string 12</typeName>
    <zip>sample string 14</zip>
  </SpireonAssetStatus>
</ArrayOfSpireonAssetStatus>