{
  "opencollection": "1.0.0",
  "info": {
    "name": "DriveWealth Accounts Orders API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Account resting Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://bo-api.drivewealth.io/back-office/accounts/:accountID/summary/orders",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrives a list of Account Orders by accountID. The orders returned will all be currently pending Orders that are awaiting a fill or cancellation."
        },
        {
          "info": {
            "name": "List Account historical Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://bo-api.drivewealth.io/back-office/accounts/:accountID/reports/order-history",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path"
              },
              {
                "name": "from",
                "value": "2022-06-16",
                "type": "query",
                "description": "Date start time of data. Follow [ISO 8601 standard](https://en.wikipedia.org/wiki/ISO_8601)"
              },
              {
                "name": "to",
                "value": "2022-07-16",
                "type": "query",
                "description": "Date end time of data. Follow [ISO 8601 standard](https://en.wikipedia.org/wiki/ISO_8601)"
              },
              {
                "name": "limit",
                "value": "25",
                "type": "query",
                "description": "The number of orders to be returned per page."
              },
              {
                "name": "offset",
                "value": "2022-07-16",
                "type": "query",
                "description": "Follow [ISO 8601 standard](https://en.wikipedia.org/wiki/ISO_8601)"
              },
              {
                "name": "direction",
                "value": "prev",
                "type": "query",
                "description": "The direction of pagination."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a list of Account Orders by accountID. The orders returned are ones that have been previously closed, either by being filled or by being canceled."
        },
        {
          "info": {
            "name": "Create Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://bo-api.drivewealth.io/back-office/orders",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an Order."
        },
        {
          "info": {
            "name": "Retrieve Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://bo-api.drivewealth.io/back-office/orders/:orderID",
            "params": [
              {
                "name": "orderID",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an Order details by orderID."
        },
        {
          "info": {
            "name": "Update Order",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://bo-api.drivewealth.io/back-office/orders/:orderID",
            "params": [
              {
                "name": "orderID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an Order by orderID."
        },
        {
          "info": {
            "name": "Retrieve Order by Order Number",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://bo-api.drivewealth.io/back-office/orders/byOrderNo/:orderNo",
            "params": [
              {
                "name": "orderNo",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an Order by OrderNo."
        },
        {
          "info": {
            "name": "Retrieve Order Audit Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://bo-api.drivewealth.io/back-office/orders/:orderID/audit",
            "params": [
              {
                "name": "orderID",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves an Order Audit Details by Order"
        }
      ]
    }
  ],
  "bundled": true
}