POST
/
rest
/
unlock-trading
Unlock Trading
curl --request POST \
  --url https://api.exchange.fairx.net/rest/unlock-trading \
  --header 'Content-Type: application/json' \
  --data '{
  "fcm_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "firm_uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "trading_user_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
}'
{
  "num_users_affected": 4,
  "num_orders_canceled": 0
}

Body

application/json

Unlock Trading parameters

fcm_uuid
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

firm_uuid
string
Example:

"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

trading_user_uuid
string
Example:

"f81d4fae-7dec-11d0-a765-00a0c91e6bf6"

Response

Unlock trading executed successfully. Note: numOrdersCanceled will always be 0

num_users_affected
integer
Example:

4

num_orders_canceled
integer
Example:

0