Logo
Admin API API Documentation

Create TickSize

POST {{URL_ORIGIN}}/api/tick-sizes

This API allows to create a new TickSize.

ID will be returned in the response, this ID is the unique identifier of the TickSize and should be used when sending update commands.

Note: this ID can be retrieved via Get TickSizes API.

Create TickSize- Error Codes

Code Message
1 System is unavailable
100 Missing or invalid parameter: [FieldName]
101 new Max number of ticksizes (items) is 25
102 name already exists
10001 Permission denied

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "id": "22", "name": "NewGroup2", "items": [ { "price": "444", "tickSize": "0.15" }, { "tickSize": "0.77" } ] }



Curl
curl -X POST 'URL_ORIGIN/api/tick-sizes' -d '{"name":"NewGroup","items":[{"tickSize":"0.15","price":"444"},{"tickSize":"0.77"}]}'

ENDPOINTS