The Equinix Community will be offline for scheduled maintenance on July 31, 2024. Learn More.
When filtering with dateRange on the OrderHistory_v1 API i get a statusCode 400 returned. Other filters work fine for me and return expected results
I am using the following payload
{
"filters": {
"dateRange": [
"PAST_7_DAYS"
]
}
}
The errors I receive are:
code: "EQX-171-1212"
path: "/filters/dateRange"
message: "instance value (%s) not found in enum (possible values: %s) PAST_7_DAYS"
Thank you in advance
Hi there,
The dateRange values has to be passed as a key-value string instead as an array.
{
"filters": {
"dateRange": "PAST_7_DAYS"
}
}
Hope this helps!
Equinix is the world's digital infrastructure company. Digital leaders harness our trusted platform to bring together and interconnect the foundational infrastructure that powers their success. We enable our customers to access all the right places, partners and possibilities they need to accelerate advantage.