Simulator
- Server 1:https://api-qa.np.six-group.com/clearing/risk/simulator/dev/v1
- Server 2:https://api-qa.np.p2p.six-group.com/clearing/risk/simulator/dev/v1
- Server 3:https://api-qa.np.fip.six-group.com/clearing/risk/simulator/dev/v1
Simulator
Simulation management endpoints
Creates a new object of in the Simulations collection.
Object in JSON:API format.
Data structure for all operations.
Ok
Object in JSON:API format.
Data structure for all operations.
SEARCH is an experience/resource type API designed to provide support to the search of Simulations collection. This is part of the advanced query search.
The operation uses the next query objects:
Every restriction and filter is applied with AND operation. As example:
POST simulations
{
"filters": [
{
"attribute": "attributeId",
"values": [
"attributeValue"
]
}
],
"restrictions": [
{
"attribute": "numericAttributeId",
"type": "decimal",
"operator": "and",
"values": [
{
"restriction": "lte",
"value": "2.0"
},
{
"restriction": "gte",
"value": "1.0"
}
]
}
]
}
This is equivalent to: WHERE attributeId IN (“attributeValue”) AND numericAttributeId > 1.0 AND numericAttributeId < 2.0
Results could be ordered by any field.
Pagination options for the collection search. It permits the next modifiers:
Default values defined are page[number]=1 and page[size]=20
Pagination options for the collection search. It permits the next modifiers:
Default values defined are page[number]=1 and page[size]=20
Sort query parameter permits the sorting of the collection by the values of the attribute provided in the parameter:
GET simulations?sort=+attribute
The type of sort:
If sort is not provided, the collection is returned in a default order by ID.
The name of the attribute should exists in the object. If the name does not exists, it returns 400 Bad Request.
Filters restricting the search. All of the values in the Array represent AND operation.
List of restrictions applied to the collection
Ok
Collection in JSON:API format. Collection is paginated
Data structure for all operations.
Retrieves one specific object from Simulations collection
Resource ID in UUID format
Ok
Object in JSON:API format.
Data structure for all operations.