Helix uses a simple envelope to wrap virtually all responses. Envelope definition is as follows:
Property | Description | Included in Response |
---|---|---|
| The data requested. Differs depending upon the route called. May be an object, a list of | Always |
| A list of error objects. If no error occurred, this will be an empty list. A | Always |
| A globally unique string that identifies this particular request. Useful for | Always |
| The overall status of the response. Reflects exactly the http status. Useful if your | Always |
| Throttling information emitted only if you are past 80% of the throttling limit, or if you | When necessary |
Here is an example response body from a Helix request.
{
"data":[
{
"accountId":12345,
"name":"My savings account",
"type":"Savings"
}
],
"errors":[
],
"requestId":"2dd82a44-02b0-49cb-94e3-ca454bcdd276",
"status":200,
"throttle":{
"periodEndsAt":"2019-08-22T19:16:46.773+00:00",
"periodLengthInSeconds":1,
"periodRequestLimit":15,
"requestsRemainingInPeriod":2,
"warningThreshold":0.2
}
}