---
updatedAt: 2026-03-26T12:27:31.000Z
agentTools:
  projectIndex: https://public-api.tradelocker.com/llms.txt
---

# Get allowed orders operation

Get information about the orders operations (new, modify, cancel) and types (manual, market, stop, limit, stop limit, trailing stop) allowed in some session, given its session status.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Trading API",
    "version": "2.11.0",
    "title": "Trading API",
    "contact": {}
  },
  "tags": [
    {
      "name": "Instruments and Sessions",
      "description": "Detailed information about instruments and sessions."
    }
  ],
  "paths": {
    "/trade/sessionStatuses/{sessionStatusId}": {
      "get": {
        "tags": [
          "Instruments and Sessions"
        ],
        "summary": "Get allowed orders operation",
        "description": "Get information about the orders operations (new, modify, cancel) and types (manual, market, stop, limit, stop limit, trailing stop) allowed in some session, given its session status.",
        "operationId": "getSessionStatusUsingGET",
        "parameters": [
          {
            "name": "sessionStatusId",
            "in": "path",
            "description": "Identifier of the trade session status.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "accNum",
            "in": "header",
            "description": "Account number",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TradeSessionStatusResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://demo.tradelocker.com/backend-api"
    },
    {
      "url": "https://live.tradelocker.com/backend-api"
    }
  ],
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "TradeSessionStatusResponse": {
        "type": "object",
        "required": [
          "d",
          "s"
        ],
        "properties": {
          "d": {
            "$ref": "#/components/schemas/Trade_session_status"
          },
          "s": {
            "type": "string",
            "example": "ok",
            "description": "Status will always be `ok`."
          }
        },
        "title": "TradeSessionStatusResponse"
      },
      "Trade_session_status": {
        "type": "object",
        "properties": {
          "allowedOperations": {
            "type": "array",
            "description": "List of allowed operations. The sequence used is: new, modification, cancel.",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "allowedOrderTypes": {
            "type": "array",
            "description": "List of allowed order types. The used sequence is: market, stop, limit",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        },
        "title": "Trade session status"
      }
    }
  }
}
```