This is the API reference document for the HPE Flex Solutions data service. It provides endpoints to view and manage Flex device and orders solutions.
- Get a single device by device resource ID
HPE Flex Solutions (v1beta1)
https://us-west.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/flex/public/openapi/flex-service/v1beta1/flex-api/
Filter expressions consisting of simple comparison operations joined by logical operators.
For the v1beta1 API, the following fields are supported for filtering under the ODATA specification:
idmacAddressserialNumberresourceIdpartNumbernametypemodelmakebillingAccountNamebillingTier
Match all devices with given selected filters
Match all devices with given selected filters
Comma separated list of fields to be returned in the response. If not provided, all fields will be returned.
All fields are supported.
Comma separated list of fields to be sorted by in the response. The default sorting order is by resourceId in ascending order.
Zero-based resource offset to start the response from.
https://us-west.api.greenlake.hpe.com/flex/v1beta1/devices
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/flex/public/openapi/flex-service/v1beta1/flex-api/flex/v1beta1/devices
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/flex/v1beta1/devices \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful Response
Unique resource ID of the device
Date of creation of the resource
Date of last update of the resource
Monotonically increasing update counter of the resource
Name of the associated billing account
{ "items": [ { … } ], "count": 0, "total": 0, "offset": 0 }
https://us-west.api.greenlake.hpe.com/flex/v1beta1/devices/{id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/flex/public/openapi/flex-service/v1beta1/flex-api/flex/v1beta1/devices/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://us-west.api.greenlake.hpe.com/flex/v1beta1/devices/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "tags": [ { … } ], "id": "3b741a59-a22b-432f-b2cf-b72cc1a04c2d", "createdAt": "2023-01-01T00:00:00Z", "updatedAt": "2023-01-01T00:00:00Z", "type": "flex/devices", "generation": 1, "macAddress": "CA:35:DC:4F:5D:FE", "serialNumber": "CN134FD36", "resourceId": "3b741a59-a22b-432f-b2cf-b72cc1a04c2d", "partNumber": "JK130GT", "name": "custom-device-name", "deviceType": "DHCI_STORAGE", "model": "HPE Compute 6030X", "make": "HPE", "billingAccountName": "Hewlett Packard Enterprises", "billingTier": "HPE Distributions" }