Fleet Snapshot
AEMP Fleet Snapshot
Get the AEMP 2.0 (ISO 15143-3 v.20190501) compliant Fleet Snapshot. Note that equipment is paged and returned in order of creation time. Snapshot timestamp is consistent within a single page but is not guaranteed across pages. Response type is JSON.
get/v1/api/aemp/fleet/{page_number}
Request
- Base URLhttps://api-production.infra.moxionpower.com
- URLhttps://api-production.infra.moxionpower.com/v1/api/aemp/fleet/{page_number}
- AuthAPI key in header authorization
Path parameters
page_numberinteger required
Page number of Fleet Snapshot to fetch. Note that the number of available pages is determined by the requested page size.
Query parameters
page_sizeinteger
Optional. Number of Equipment records to return per request. Defaults to 100.
Response
OK
Example response
{
"Fleet": {
"Links": [
{
"rel": "self",
"href": "/aemp/fleet/1"
},
{
"rel": "next",
"href": "/aemp/fleet/2"
},
{
"rel": "last",
"href": "/aemp/fleet/11"
}
],
"Equipment": [
{
"EquipmentHeader": {
"datetime": "2023-05-11T18:34:30.068Z",
"Make": "Moxion",
"Model": "MP-75",
"EquipmentID": "fbadf8ad-182f-47f0-9dd1-472a0094b231",
"ExternalID": "abc1234",
"SerialNumber": "00001"
},
"Location": {
"datetime": "2023-04-12T19:04:40.000Z",
"Latitude": 45.1123,
"Longitude": -122.21551
}
},
{
"EquipmentHeader": {
"datetime": "2023-05-11T18:34:30.068Z",
"Make": "Moxion",
"Model": "MP-75",
"EquipmentID": "865c6cbf-996a-46c0-9772-4c57f5ee019a",
"ExternalID": "def4567",
"SerialNumber": "00002"
},
"Location": {
"datetime": "2023-04-12T19:04:40.000Z",
"Latitude": 37.766402,
"Longitude": -122.49492
}
}
],
"version": "20190501",
"snapshotTime": "2023-05-04T18:34:30.068Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.