List margin levels
Get a list margin levels that match the provided criteria. If no filter is provided, all margin levels will be returned.
Query Parameters
Party ID for which to list the margin levels.
Market ID for which to list the margin levels.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Newest records first, older records last, default is true.
- 200
- 500
- default
A successful response.
Schema
marginLevels object
Page of margin levels data and corresponding page information.
edges object[]
Page of margins data and their corresponding cursors.
node object
Margin levels data that satisfy a list margin levels request.
pageInfo object
Page information that is used for fetching further pages.
{
"marginLevels": {
"edges": [
{
"cursor": "string",
"node": {
"asset": "string",
"collateralReleaseLevel": "string",
"initialMargin": "string",
"maintenanceMargin": "string",
"marketId": "string",
"partyId": "string",
"searchLevel": "string",
"timestamp": "string"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}