GET
Get Orders By Path
Orders for a specific account.
Resource URL
https://api.tdameritrade.com/v1 /accounts/{accountId}/orders
Query Parameters
Name | Values | Description |
---|---|---|
maxResults |
The max number of orders to retrieve. |
|
fromEnteredTime |
Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are :yyyy-MM-dd. If 'toEnteredTime' is not sent, the default `toEnteredTime` would be the current day. |
|
toEnteredTime |
Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are :yyyy-MM-dd. If 'fromEnteredTime' is not sent, the default `fromEnteredTime` would be 60 days from `toEnteredTime`. |
|
status |
Specifies that only orders of this status should be returned. |
Header Parameters
Name | Values | Description |
---|---|---|
Authorization |
Supply an access token to make an authenticated request. The format is |
Resource Summary |
|
Security |
|
Category |
Orders |
Response Summary
Resource Error Codes |
||
HTTP Code |
Description |
|
400 |
An error message indicating the validation problem with the request. |
|
401 |
An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header. |
|
500 |
An error message indicating there was an unexpected server error. |
|
403 |
An error message indicating the caller is forbidden from accessing this page. |
Working...