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 |
Request Body
{"name"=>"CBR_rule2", "type"=>"MARKET_RATE", "value"=>"1.5", "actionType"=>"NOTIFY_BACKOFFICE", "actionValue"=>"", "instrumentIds"=>["1", "2"], "priority"=>"7777", "status"=>"ACTIVE"}
RESPONSES
status: OK
{"id":"31","name":"CBR_rule2","type":"MARKET_RATE","value":"1.5","actionType":"NOTIFY_BACKOFFICE","priority":"7777","status":"ACTIVE","instrumentIds":["1","2"]}