Operations relating to onboarding of new devices
- Retailer API (v1.0.0)
onboarding
facilities
devices
optimization
customers
reporting
notifications
miscellaneous
legacy
A test route while we get the composite API gateway working
Update customer's device's custom name
Get gateways among given device IDs
virtual-batteries
predefined-schedules
gateways
my-gateways
simulation
downtime
vbatt
gateway
notification
btm-ops
markets
Retailer API (v1.0.0)
Retailer API (1.0.0)
The retailer interface to Emulate. Backwards incompatible changes WILL BE communicated with sufficient lead time and a deprecation period. Backward compatible changes WILL NOT BE communicated ahead of time - such as the addition of new fields/attributes to responses, or new status code responses and error types. Clients should be written in a way that accomodates backwards compatible changes.
Download OpenAPI description
Languages
Servers
Mock server
https://dev.emulate.energy/_mock/api/retailer/retailer/
Production server
https://api.emulate.network/v1/retailer/
Staging server
https://api.stage.emulate.network/v1/retailer/
Development server
https://api.dev.emulate.network/v1/retailer/
- Mock serverhttps://dev.emulate.energy/_mock/api/retailer/retailer/example-brp
- Production serverhttps://api.emulate.network/v1/retailer/example-brp
- Staging serverhttps://api.stage.emulate.network/v1/retailer/example-brp
- Development serverhttps://api.dev.emulate.network/v1/retailer/example-brp
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://dev.emulate.energy/_mock/api/retailer/retailer/example-brp- Mock serverhttps://dev.emulate.energy/_mock/api/retailer/retailer/customers/{customerId}/devices/{deviceId}
- Production serverhttps://api.emulate.network/v1/retailer/customers/{customerId}/devices/{deviceId}
- Staging serverhttps://api.stage.emulate.network/v1/retailer/customers/{customerId}/devices/{deviceId}
- Development serverhttps://api.dev.emulate.network/v1/retailer/customers/{customerId}/devices/{deviceId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://dev.emulate.energy/_mock/api/retailer/retailer/customers/{customerId}/devices/{deviceId}' \
-H 'Content-Type: application/json' \
-d '{
"custom_device_name": "string"
}'Response
application/json
{ "data": { "custom_device_name": "string" } }
- Mock serverhttps://dev.emulate.energy/_mock/api/retailer/retailer/gateways/by-device-ids
- Production serverhttps://api.emulate.network/v1/retailer/gateways/by-device-ids
- Staging serverhttps://api.stage.emulate.network/v1/retailer/gateways/by-device-ids
- Development serverhttps://api.dev.emulate.network/v1/retailer/gateways/by-device-ids
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.emulate.energy/_mock/api/retailer/retailer/gateways/by-device-ids \
-H 'Content-Type: application/json' \
-d '{
"device_ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}'Response
application/json
{ "data": { "device_ids": [ … ] } }