smallcase order details [deprecated]

Return all historical smallcase orders for a user (identified from authtoken header) or only for an invested smallcase (using iscid query param)

get/{gatewayName}/engine/orders/smt

Request

  • Base URL
    https://gatewayapi.smallcase.com/v1
  • URL
    https://gatewayapi.smallcase.com/v1/{gatewayName}/engine/orders/smt
  • Auth
    none required

Path parameters

gatewayNamestring required

Query parameters

iscidstring

Optional | unique identifier for user's Invested smallcase

Headers

x-gateway-secretstring required

Required | apiSecret shared for authentication

x-gateway-authtokenstring required

Required | JWT signed with shared secret & payload of connected user

Response

200

successboolean
errorsunknown

Example response

{
  "success": true,
  "data": {
    "investedSmallcases": [
      {
        "name": "Top 100 Stocks",
        "scid": "SCET_0010",
        "source": "PROFESSIONAL",
        "batches": [
          {
            "label": "BUY",
            "originalLabel": "BUY",
            "status": "COMPLETED",
            "variety": "regular",
            "buyAmount": 10371.8,
            "completedDate": "2020-08-18T11:27:27.856Z",
            "quantity": 2,
            "filled": 2,
            "batchId": "5f3bbb1b2f9ac59a1cf7efe7",
            "orders": [
              {
                "orderType": "MARKET",
                "product": "CNC",
                "exchange": "NSE",
                "status": "COMPLETE",
                "quantity": 19,
                "tradingsymbol": "ICICINIFTY",
                "transactionType": "BUY",
                "filledQuantity": 19,
                "averagePrice": 120
              }
            ]
          }
        ],
        "iscid": "5f3bbb1b2f9ac59a1cf7efe5",
        "imageUrl": "https://assets.smallcase.com/images/smallcases/200/SCET_0010.png"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.