post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getAccountTradeHistory
This method will return all the trade information for all trades created for particular Account(createAccount).
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer Key |
accountId | yes | string | Account ID that is generated by the API once an account is created (createAccount) |
Sample Request
curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getAccountTradeHistory
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d accountId=A11501
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | string | API Status Description |
accountTradeDetails | string | Array of account trades includes all trade information of the matched account |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"accountDetails": [
{
"in_id": "787313",
"offeringId": "44353",
"orderId": "437616902",
"partyId": "P56836",
"accountId": "A11501",
"totalAmount": "3000.000000",
"esignStatus": "NOTSIGNED",
"clientId": "GKrQl4m9FZ7rf3H",
"trade_developerAPIKey": "U4Msub8Kn7tkjUJ3Dv4F7kGOKyC8NAdRIjC",
"accountName": "John Smith",
"accreditedStatus": "Pending",
"kycStatus": "Manually Approved",
"amlStatus": "Manually Approved",
"issueName": "Test Offer For Tapi",
"transactionType": "WIRE",
"orderStatus": "CREATED",
"trade_createdDate": "2017-02-03 06:34:23"
},
]
}