{"openapi":"3.0.0","paths":{"/v1/api/organizations/{org_id}/devices/{device_id}/faults":{"get":{"operationId":"DeviceFaultsController_listFaults","summary":"Get Device Faults","description":"Gets a set of Timestamped Faults for a device. The time range of Faults is specified with the start and end parameters, including start and excluding end - [start, end). The max duration cannot exceed 1 day.","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}},{"name":"device_id","required":true,"in":"path","description":"ID of the Device","example":"c4a02f0a-ddcd-4f13-b68d-4213dd0c53c8","schema":{"type":"string"}},{"name":"start","required":true,"in":"query","description":"The start timestamp (inclusive) of the period to query.  Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-14T15:59:26Z","schema":{"type":"string","format":"date-time"}},{"name":"end","required":true,"in":"query","description":"The end timestamp (exlusive) of the period to query. Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-15T15:59:26Z","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TimestampedFault"}}}}},"400":{"description":"Bad Request"},"404":{"description":"Organization or device not found"}},"tags":["Faults"],"security":[{"api_key":[]}]}},"/v1/api/organizations/{org_id}/devices/{device_id}/locations":{"get":{"operationId":"DeviceLocationController_listLocations","summary":"Get Device Locations","description":"Gets a set of Timestamped Locations for a device. The time range of locations is specified with the start and end parameters, including start and excluding end - [start, end). The max duration cannot exceed 1 day.","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}},{"name":"device_id","required":true,"in":"path","description":"ID of the Device","example":"c4a02f0a-ddcd-4f13-b68d-4213dd0c53c8","schema":{"type":"string"}},{"name":"start","required":true,"in":"query","description":"The start timestamp (inclusive) of the period to query.  Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-14T15:59:26Z","schema":{"type":"string","format":"date-time"}},{"name":"end","required":true,"in":"query","description":"The end timestamp (exlusive) of the period to query. Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-15T15:59:26Z","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TimestampedLocation"}}}}},"400":{"description":"Bad Request"},"404":{"description":"Organization or device not found"}},"tags":["Location"],"security":[{"api_key":[]}]}},"/v1/api/organizations/{org_id}/devices/{device_id}/locations/latest":{"get":{"operationId":"DeviceLocationController_getLatestLocation","summary":"Get Latest Device Location","description":"Returns the most recent Timestamped Location for the specified device","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}},{"name":"device_id","required":true,"in":"path","description":"ID of the Device","example":"c4a02f0a-ddcd-4f13-b68d-4213dd0c53c8","schema":{"type":"string"}},{"name":"time","required":false,"in":"query","description":"Optional. Time before which the Location must be timestamped. If omitted, now() will be used.","example":"2023-03-14T15:59:26Z","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK. May return an empty body if the Device is found but no locations are available.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimestampedLocation"}}}},"400":{"description":"Bad Request. Likely unknown org_id or device_id."},"404":{"description":"Organization or device not found"}},"tags":["Location"],"security":[{"api_key":[]}]}},"/v1/api/organizations/{org_id}/devices/{device_id}/metrics":{"get":{"operationId":"DeviceMetricsController_listMetrics","summary":"Get Device Metrics","description":"Gets a set of Timestamped Metrics for a device. The time range of metrics is specified with the start and end parameters, including start and excluding end - [start, end). The max duration cannot exceed 1 day.","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}},{"name":"device_id","required":true,"in":"path","description":"ID of the Device","example":"c4a02f0a-ddcd-4f13-b68d-4213dd0c53c8","schema":{"type":"string"}},{"name":"start","required":true,"in":"query","description":"The start timestamp (inclusive) of the period to query.  Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-14T15:59:26Z","schema":{"type":"string","format":"date-time"}},{"name":"end","required":true,"in":"query","description":"The end timestamp (exlusive) of the period to query. Max duration between \"start\" and \"end\" is 1 day.","example":"2023-03-15T15:59:26Z","schema":{"type":"string","format":"date-time"}},{"name":"metric_names","required":true,"in":"query","description":"The names of metric types to fetch. Multiple values can be separated by commas or can be supplied through repeated query parameters","example":["packSoc","packVoltage","packPower_net","packEnergy_available","packEnergy_capacity","packEnergy_charge_total","packEnergy_discharge_total","packTime_to_empty_sec","packTime_to_full_sec","inputPower_charge","outputLine_1Voltage","outputLine_2Voltage","outputLine_3Voltage","outputLine_1Current","outputLine_2Current","outputLine_3Current","outputNeutralCurrent","outputLine_1Power","outputLine_2Power","outputLine_3Power","outputNeutralPower","cellularSignal_strength"],"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetricsByTimestamp"}}}}},"400":{"description":"Bad Request"},"404":{"description":"Organization or device not found"}},"tags":["Metrics"],"security":[{"api_key":[]}]}},"/v1/api/organizations/{org_id}/devices":{"get":{"operationId":"DevicesController_listDevices","summary":"List Devices","description":"Lists details about all devices belonging to an Organization","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Device"}}}}},"400":{"description":"Bad Request. Likely invalid org_id."},"404":{"description":"Organization not found"}},"tags":["Device"],"security":[{"api_key":[]}]}},"/v1/api/organizations/{org_id}/devices/{device_id}":{"get":{"operationId":"DevicesController_getDevice","summary":"Get Device Details","description":"Returns the details of a single device.","parameters":[{"name":"org_id","required":true,"in":"path","description":"ID of the Organazation that owns the Device","example":"e0825da3-c63b-4c06-8460-18590c81f289","schema":{"type":"string"}},{"name":"device_id","required":true,"in":"path","description":"ID of the Device","example":"c4a02f0a-ddcd-4f13-b68d-4213dd0c53c8","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}}}},"400":{"description":"Bad Request. Likely invalid org_id or device_id."},"404":{"description":"Organization or device not found"}},"tags":["Device"],"security":[{"api_key":[]}]}},"/v1/api/aemp-extended/faults/fleet/{page_number}":{"get":{"operationId":"FleetFaultSnapshotController_listEquipmentAEMPFaultSnapshot","summary":"AEMP Extended Fleet Faults Snapshot","description":"Get the extended AEMP 2.0 Fleet Fault Snapshot. This endpoint extends AEMP 2.0 outside of its specification as faults          are not typically included as a fleet snapshot. The API format follows that of the AEMP Snapshot.         See [https://developer.moxionpower.com](https://developer.moxionpower.com)          for additional included data and example responses.          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.                  This endpoint returns an array of Equipment and their associated Faults. Faults are only reported if they are currently          considered ACTIVE. If a zero-length array of Faults is returned, this suggests no Faults are currently known.                   Faults are considered ACTIVE when the Equipment reports them as such. Like all telemetry, environmental conditions such as cellular          network connectivity can affect the reporting of Fault status. The LastUpdate field indicates the last time the Equipment reported          the current instance of the given Fault, which can help discern between no connectivity and long lived faults.","parameters":[{"name":"page_number","required":true,"in":"path","description":"Page number of Fleet Snapshot to fetch. Note that the number of available pages is determined by the requested page size.","example":"1","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Optional. Number of Equipment records to return per request. Defaults to 100.","example":100,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FleetFaultSnapshot"}}}}},"tags":["Fleet Fault Snapshot"],"security":[{"api_key":[]}]}},"/v1/api/aemp/fleet/{page_number}":{"get":{"operationId":"FleetSnapshotController_listEquipmentAEMPSnapshot","summary":"AEMP Fleet Snapshot","description":"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.","parameters":[{"name":"page_number","required":true,"in":"path","description":"Page number of Fleet Snapshot to fetch. Note that the number of available pages is determined by the requested page size.","example":"1","schema":{"type":"integer"}},{"name":"page_size","required":false,"in":"query","description":"Optional. Number of Equipment records to return per request. Defaults to 100.","example":100,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FleetSnapshot"}}}}},"tags":["Fleet Snapshot"],"security":[{"api_key":[]}]}},"/v1/api/aemp-extended/fleet/{page_number}":{"get":{"operationId":"FleetSnapshotController_listEquipmentAEMPSnapshotExtended","summary":"AEMP Extended Fleet Snapshot","description":"Get the extended AEMP 2.0 Fleet Snapshot. This endpoint differs from the standard AEMP fleep snapshot by including data              from outside of the standard AEMP spec, but in the same snapshot format. See [https://developer.moxionpower.com](https://developer.moxionpower.com)              for additional included data and example responses.                           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.","parameters":[{"name":"page_number","required":true,"in":"path","description":"Page number of Fleet Snapshot to fetch. Note that the number of available pages is determined by the requested page size.","example":"1","schema":{"type":"string"}},{"name":"page_size","required":false,"in":"query","description":"Optional. Number of Equipment records to return per request. Defaults to 100.","example":100,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedFleetSnapshot"}}}}},"tags":["Fleet Snapshot"],"security":[{"api_key":[]}]}},"/v1/api/organizations":{"get":{"operationId":"OrganizationsController_listOrganizations","summary":"List Organizations","description":"Lists details about the authorized Organizations.","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization"}}}}}},"tags":["Organization"],"security":[{"api_key":[]}]}}},"info":{"title":"Moxion Developer API","description":"The Moxion Developer API","version":"0.1","contact":{"name":"Moxion Power","url":"","email":"help@moxionpower.com"},"termsOfService":"https://moxionpower.com/terms"},"tags":[],"servers":[{"url":"https://api-production.infra.moxionpower.com"}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","in":"header","name":"authorization"}},"schemas":{"TimestampedFault":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the Fault formatted as iso8601","example":"2023-07-07T00:00:00Z","format":"date-time"},"fault_code":{"type":"string","description":"Fault Code, which represents the type of fault","example":"BMS_CRITICAL"}},"required":["time","fault_code"]},"TimestampedLocation":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the location formatted as iso8601","example":"2023-03-14T15:59:26Z","format":"date-time"},"latitude":{"type":"number","description":"Latitude component of location in WGS-84","example":37.77009},"longitude":{"type":"number","description":"Longitude component of location in WGS-84","example":-122.476944},"horizontal_accuracy":{"type":"number","description":"Horizontal Accuracy in meters","example":"2.5"}},"required":["time","latitude","longitude"]},"MetricsByTimestamp":{"type":"object","properties":{"time":{"format":"date-time","type":"string","description":"Timestamp of the metrics formatted as iso8601","example":"2023-03-14T15:59:26Z"},"metrics":{"type":"object","description":"List of metrics that share the same timestamp","example":"{\"soc\": 92.3, \"v_ess\": 418.2}"}},"required":["time","metrics"]},"Device":{"type":"object","properties":{"id":{"type":"string","example":"43cd4c02-6994-45b0-8521-32bf6d447214"},"name":{"type":"string","example":"Auspcious Aardvark"},"device_model_name":{"type":"string","example":"MP-75"},"external_id":{"type":"string","example":"ACME-device-001"}},"required":["id","name","device_model_name","external_id"]},"Link":{"type":"object","properties":{}},"EquipmentHeader":{"type":"object","properties":{"datetime":{"format":"date-time","type":"string","description":"The time this data was valid in ISO8601","example":"2023-05-11T18:34:30.068Z"},"Make":{"type":"string","description":"The Manufacturer of the Equipment","example":"Moxion"},"Model":{"type":"string","description":"The Equipment Model","example":"MP-75"},"EquipmentID":{"type":"string","description":"The globally unique Identifier for the Equipment","example":"fbadf8ad-182f-47f0-9dd1-472a0094b231"},"ExternalID":{"type":"string","description":"The External (customer) ID for the Equipment, typically supplied at time of purchase","example":"12345678"},"SerialNumber":{"type":"string","description":"The Serial Numer for the equipment. Typically this is available on the physical Equipment itself.","example":"00001AA999999999"}},"required":["datetime","Make","Model","EquipmentID","ExternalID","SerialNumber"]},"Fault":{"type":"object","properties":{"FaultCode":{"type":"string","description":"Identifier for the fault","example":"BMS_BELOW_MIN_CELL_VOLTAGE"},"datetime":{"type":"string","description":"Time the current instance of the fault was first reported","example":"2023-05-11T18:34:30.068Z"},"LastUpdate":{"type":"string","description":"Time the current instance of the fault was more recently reported. For example, if a fault is continuously             reported as active, this will be the time of the most recent report. Once the fault is reported as inactive,             then the fault will no longer be reported here. If the fault state becomes active again, it will be reported             as a separate instance, with both new datetime and LastUpdate. \n             This can be useful to determine whether the fault is still being reported as active or if the device has, for example,             lost cellular network connection and cannot report its status.","example":"2023-05-11T18:34:30.068Z"}},"required":["FaultCode","datetime","LastUpdate"]},"FaultEquipment":{"type":"object","properties":{"EquipmentHeader":{"description":"AEMP compatible Equipment. See AEMP section 11","example":{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"fbadf8ad-182f-47f0-9dd1-472a0094b231","ExternalID":"abc1234","SerialNumber":"00001"}},"allOf":[{"$ref":"#/components/schemas/EquipmentHeader"}]},"Faults":{"description":"List of active Faults","example":{"Faults":[{"FaultCode":"PCS_CURRENT_LIMIT","datetime":"2023-07-07T07:00:00.000Z","LastUpdate":"2023-07-07T07:00:30.000Z"}]},"type":"array","items":{"$ref":"#/components/schemas/Fault"}}},"required":["EquipmentHeader","Faults"]},"FleetFaultSnapshotPage":{"type":"object","properties":{"Links":{"description":"Links to pagination endpoints. See AEMP section 8.4","example":[{"rel":"self","href":"/aemp-extended/faults/fleet/1"},{"rel":"next","href":"/aemp-extended/faults/fleet/2"},{"rel":"last","href":"/aemp-extended/faults/fleet/11"}],"type":"array","items":{"$ref":"#/components/schemas/Link"}},"Equipment":{"description":"List of AEMP compatible Equipment. See AEMP section 11","example":[{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"fbadf8ad-182f-47f0-9dd1-472a0094b231","ExternalID":"abc1234","SerialNumber":"00001"},"Faults":[{"FaultCode":"PCS_CURRENT_LIMIT","datetime":"2023-07-07T07:00:00.000Z","LastUpdate":"2023-07-07T07:00:30.000Z"}]},{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"865c6cbf-996a-46c0-9772-4c57f5ee019a","ExternalID":"def4567","SerialNumber":"00002"},"Faults":[]}],"type":"array","items":{"$ref":"#/components/schemas/FaultEquipment"}},"version":{"type":"string","description":"AEMP Document Version. See AEMP 4.2 - Table 2","example":"20190501"},"snapshotTime":{"type":"string","description":"Time the snapshot was taken in ISO8601","example":"2023-05-04T18:34:30.068Z"}},"required":["Links","Equipment","version","snapshotTime"]},"FleetFaultSnapshot":{"type":"object","properties":{"Fleet":{"description":"Top Level Fleet Object","example":{"Links":[{"rel":"self","href":"/aemp-extended/faults/fleet/1"},{"rel":"next","href":"/aemp-extended/faults/fleet/2"},{"rel":"last","href":"/aemp-extended/faults/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"},"Faults":[{"FaultCode":"PCS_CURRENT_LIMIT","datetime":"2023-07-07T07:00:00.000Z","LastUpdate":"2023-07-07T07:00:30.000Z"}]},{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"865c6cbf-996a-46c0-9772-4c57f5ee019a","ExternalID":"def4567","SerialNumber":"00002"},"Faults":[]}]},"allOf":[{"$ref":"#/components/schemas/FleetFaultSnapshotPage"}]}},"required":["Fleet"]},"Equipment":{"type":"object","properties":{}},"FleetSnapshotPage":{"type":"object","properties":{"Links":{"description":"Links to pagination endpoints. See AEMP section 8.4","example":[{"rel":"self","href":"/aemp/fleet/1"},{"rel":"next","href":"/aemp/fleet/2"},{"rel":"last","href":"/aemp/fleet/11"}],"type":"array","items":{"$ref":"#/components/schemas/Link"}},"Equipment":{"description":"List of AEMP compatible Equipment. See AEMP section 11","example":[{"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}}],"type":"array","items":{"$ref":"#/components/schemas/Equipment"}},"version":{"type":"string","description":"AEMP Document Version. See AEMP 4.2 - Table 2","example":"20190501"},"snapshotTime":{"type":"string","description":"Time the snapshot was taken in ISO8601","example":"2023-05-04T18:34:30.068Z"}},"required":["Links","Equipment","version","snapshotTime"]},"FleetSnapshot":{"type":"object","properties":{"Fleet":{"description":"Top Level Fleet Object","example":{"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}}]},"allOf":[{"$ref":"#/components/schemas/FleetSnapshotPage"}]}},"required":["Fleet"]},"ExtendedFleetSnapshotPage":{"type":"object","properties":{"Links":{"description":"Links to pagination endpoints. See AEMP section 8.4","example":[{"rel":"self","href":"/aemp-extended/fleet/1"},{"rel":"next","href":"/aemp-extended/fleet/2"},{"rel":"last","href":"/aemp-extended/fleet/11"}],"type":"array","items":{"$ref":"#/components/schemas/Link"}},"Equipment":{"description":"List of AEMP compatible Equipment. See AEMP section 11","example":[{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"e08c1891-d59b-4536-8b2b-bda9f99aaaf3","ExternalID":"abc1234","SerialNumber":"00001"},"Location":{"datetime":"2023-05-04T17:49:21.688Z","Latitude":45.1123,"Longitude":-122.21451},"pack.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":400,"UnitOfMeasure":"volt"},"pack.power_net":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"pack.energy_available":{"datetime":"2023-05-10T20:55:44.000Z","Value":601780,"UnitOfMeasure":"watt-hour"},"pack.energy_capacity":{"datetime":"2023-05-10T20:55:44.000Z","Value":603000,"UnitOfMeasure":"watt-hour"},"output.line_1.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.line_2.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.line_3.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.neutral.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"input.power_charge":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"pack.soc":{"datetime":"2023-05-10T20:55:44.000Z","Value":99.5,"UnitOfMeasure":"percent"},"output.line_1.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_1.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.line_2.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_2.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.line_3.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_3.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.neutral.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"pack.time_to_empty_sec":{"datetime":"2023-05-10T20:50:58.000Z","Value":15465964,"UnitOfMeasure":"second"},"cellular.signal_strength":{"datetime":"2023-05-10T20:54:58.000Z","Value":22.22171402,"UnitOfMeasure":"percent"},"pack.energy_charge_total":{"datetime":"2023-05-10T20:55:44.000Z","Value":212860,"UnitOfMeasure":"watt-hour"},"pack.energy_discharge_total":{"datetime":"2023-05-10T20:55:44.000Z","Value":3280,"UnitOfMeasure":"watt-hour"},"pack.time_to_full_sec":{"datetime":"2023-05-09T19:32:42.000Z","Value":0,"UnitOfMeasure":"second"}},{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"fbadf8ad-182f-47f0-9dd1-472a0094b231","ExternalID":"def4567","SerialNumber":"00002"},"Location":{"datetime":"2023-04-12T19:04:40.000Z","Latitude":45.1123,"Longitude":-122.21551}}],"type":"array","items":{"$ref":"#/components/schemas/Equipment"}},"version":{"type":"string","description":"AEMP Document Version. See AEMP 4.2 - Table 2","example":"20190501"},"snapshotTime":{"type":"string","description":"Time the snapshot was taken in ISO8601","example":"2023-05-04T18:34:30.068Z"}},"required":["Links","Equipment","version","snapshotTime"]},"ExtendedFleetSnapshot":{"type":"object","properties":{"Fleet":{"description":"Top Level Fleet Object","example":{"Links":[{"rel":"self","href":"/aemp-extended/fleet/1"},{"rel":"next","href":"/aemp-extended/fleet/2"},{"rel":"last","href":"/aemp-extended/fleet/11"}],"Equipment":[{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"e08c1891-d59b-4536-8b2b-bda9f99aaaf3","ExternalID":"abc1234","SerialNumber":"00001"},"Location":{"datetime":"2023-05-04T17:49:21.688Z","Latitude":45.1123,"Longitude":-122.21451},"pack.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":400,"UnitOfMeasure":"volt"},"pack.power_net":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"pack.energy_available":{"datetime":"2023-05-10T20:55:44.000Z","Value":601780,"UnitOfMeasure":"watt-hour"},"pack.energy_capacity":{"datetime":"2023-05-10T20:55:44.000Z","Value":603000,"UnitOfMeasure":"watt-hour"},"output.line_1.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.line_2.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.line_3.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"output.neutral.power":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"input.power_charge":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"watt"},"pack.soc":{"datetime":"2023-05-10T20:55:44.000Z","Value":99.5,"UnitOfMeasure":"percent"},"output.line_1.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_1.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.line_2.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_2.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.line_3.voltage":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"volt"},"output.line_3.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"output.neutral.current":{"datetime":"2023-05-10T20:55:44.000Z","Value":0,"UnitOfMeasure":"amp"},"pack.time_to_empty_sec":{"datetime":"2023-05-10T20:50:58.000Z","Value":15465964,"UnitOfMeasure":"second"},"cellular.signal_strength":{"datetime":"2023-05-10T20:54:58.000Z","Value":22.22171402,"UnitOfMeasure":"percent"},"pack.energy_charge_total":{"datetime":"2023-05-10T20:55:44.000Z","Value":212860,"UnitOfMeasure":"watt-hour"},"pack.energy_discharge_total":{"datetime":"2023-05-10T20:55:44.000Z","Value":3280,"UnitOfMeasure":"watt-hour"},"pack.time_to_full_sec":{"datetime":"2023-05-09T19:32:42.000Z","Value":0,"UnitOfMeasure":"second"}},{"EquipmentHeader":{"datetime":"2023-05-11T18:34:30.068Z","Make":"Moxion","Model":"MP-75","EquipmentID":"fbadf8ad-182f-47f0-9dd1-472a0094b231","ExternalID":"def4567","SerialNumber":"00002"},"Location":{"datetime":"2023-04-12T19:04:40.000Z","Latitude":45.1123,"Longitude":-122.21551}}]},"allOf":[{"$ref":"#/components/schemas/ExtendedFleetSnapshotPage"}]}},"required":["Fleet"]},"Organization":{"type":"object","properties":{"id":{"type":"string","example":"ba0763e9-3d60-4549-92e2-636481887621"},"name":{"type":"string","example":"ACME Power Corp."}},"required":["id","name"]}}},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}