Logo
Admin API API Documentation

Update CBR

PUT {{URL_ORIGIN}}/api/cbrs/31

This API allows to update existing CBR.

Update CBR - Error Codes

All validations in create CBR

Code Message
101 [FieldName] not found
10001 Permission denied

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "id": "31", "name": "CBR_rule2", "type": "MARKET_RATE", "value": "1.5", "actionType": "NOTIFY_BACKOFFICE", "priority": "7777", "status": "ACTIVE", "instrumentIds": ["1", "2"] }



Curl
curl -X PUT 'URL_ORIGIN/api/cbrs/31' -d '{"name":"CBR_rule2","type":"MARKET_RATE","value":"1.5","actionType":"NOTIFY_BACKOFFICE","actionValue":"","instrumentIds":["1","2"],"priority":"7777","status":"ACTIVE"}'

ENDPOINTS