Skip to content

MngUpdateRoute

Updates an existing route. Requires SESSION_ADMIN.

Omitted route fields preserve their current values. If steps is omitted, the existing step chain is preserved; if supplied, it replaces the complete chain.

HTTP: PUT /routing/route

{
  "command":"MngUpdateRoute",
  "id":12,
  "priority":200,
  "steps":[
    {"position":0,"target":"VIRTUAL_DEALER","timeout_ms":3000,"virtual_dealer_policy_id":3},
    {"position":1,"target":"GATEWAY","timeout_ms":5000,"gateway_id":1},
    {"position":2,"target":"INTERNAL"}
  ]
}

The response contains the complete updated route.

Gateway steps use {"target":"GATEWAY","gateway_id":1,"timeout_ms":5000}. The referenced Gateway configuration must exist. INTERNAL remains a terminal step; INTERNAL → GATEWAY post-trade hedging is not executed by this version.