---
title: "GET /command/deps"
method: GET
path: "/command/deps"
tags: ["Orders"]
---

# GET /command/deps

`GET /command/deps`

Retrieves all entities of Command type related to Order entity

## Query parameters

- `masterid` integer, required

## Response `200`

See definition

- Command[]
  - `id` integer
  - `orderId` integer, required — id of Order
  - `timestamp` string, date-time, required
  - `clOrdId` string
  - `commandType` 'Cancel' | 'Modify' | 'New', required — Cancel, Modify, New
  - `commandStatus` 'AtExecution' | 'ExecutionRejected' | 'ExecutionStopped' | 'ExecutionSuspended' | 'OnHold' | 'Pending' | 'PendingExecution' | 'Replaced' | 'RiskPassed' | 'RiskRejected', required — AtExecution, ExecutionRejected, ExecutionStopped, ExecutionSuspended, OnHold, Pending, PendingExecution, Replaced, RiskPassed, RiskRejected
  - `senderId` integer — id of User
  - `userSessionId` integer — id of UserSession
  - `activationTime` string, date-time
  - `customTag50` string
  - `isAutomated` boolean

---

[API](https://skmtc.dev/tradovate/apis/tradovate-api.md) · [All operations](https://skmtc.dev/tradovate/apis/tradovate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tradovate/tradovate-api/revisions/7cdb5e795c45/schema)
