Get Trade

This method is used to get all the details of all the trades for an account. The Account ID is required to get the details.

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer API Key
accountId yes string Account ID generated by the API
tradeId no integer Trade ID generated by the API

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/getTrade
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d accountId=A12345

Response Parameters

Parameter Type Description
statusCode string API Status code
statusDesc string API Status description
partyDetails string Returns the party trade details as an array

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "partyDetails": [
        {
           "id": "787508",
           "developerAPIKey": "MyG0RJZUhdP7wkZXi5NvSCV47OjYGvkg3I7",
           "offeringId": "35610",
           "accountId": "A35513",
           "partyId": "P82510",
           "party_type": "IndivACParty",
           "escrowId": "null",
           "orderId": "401510522",
           "transactionType": "WIRE",
           "totalAmount": "99.400000",
           "totalShares": "71.000000",
           "orderStatus": "CREATED",
           "createdDate": "2014-12-09 04:29:29",
           "createdIpAddress": "110.172.170.246",
           "errors": "",
           "documentKey": "",
           "esignStatus": "NOTSIGNED",
           "users": "",
           "archived_status": "0",
           "RRApprovalStatus": "Pending",
           "RRName": "Test",
           "RRApprovalDate": "09-10-2019",
           "PrincipalApprovalStatus": "Pending",
           "PrincipalName": "Test",
           "PrincipalDate": "09-10-2019",
        },
         {
             "id": "787508",
           "developerAPIKey": "MyG0RJZUhdP7wkZXi5NvSCV47OjYGvkg3I7",
           "offeringId": "35610",
           "accountId": "A35513",
           "partyId": "P82510",
           "party_type": "IndivACParty",
           "escrowId": "null",
           "orderId": "401510522",
           "transactionType": "WIRE",
           "totalAmount": "99.400000",
           "totalShares": "71.000000",
           "orderStatus": "CREATED",
           "createdDate": "2014-12-09 04:29:29",
           "createdIpAddress": "110.172.170.246",
           "errors": "",
           "documentKey": "",
           "esignStatus": "NOTSIGNED",
           "users": "",
           "archived_status": "0",
           "RRApprovalStatus": "Pending",
           "RRName": "Test",
           "RRApprovalDate": "09-10-2019",
           "PrincipalApprovalStatus": "Pending",
           "PrincipalName": "Test",
           "PrincipalDate": "09-10-2019",
        },
         {
            "id": "787508",
           "developerAPIKey": "MyG0RJZUhdP7wkZXi5NvSCV47OjYGvkg3I7",
           "offeringId": "35610",
           "accountId": "A35513",
           "partyId": "P82510",
           "party_type": "IndivACParty",
           "escrowId": "null",
           "orderId": "401510522",
           "transactionType": "WIRE",
           "totalAmount": "99.400000",
           "totalShares": "71.000000",
           "orderStatus": "CREATED",
           "createdDate": "2014-12-09 04:29:29",
           "createdIpAddress": "110.172.170.246",
           "errors": "",
           "documentKey": "",
           "esignStatus": "NOTSIGNED",
           "users": "",
           "archived_status": "0",
           "RRApprovalStatus": "Pending",
           "RRName": "Test",
           "RRApprovalDate": "09-10-2019",
           "PrincipalApprovalStatus": "Pending",
           "PrincipalName": "Test",
           "PrincipalDate": "09-10-2019",
        },
         {
            "id": "787508",
           "developerAPIKey": "MyG0RJZUhdP7wkZXi5NvSCV47OjYGvkg3I7",
           "offeringId": "35610",
           "accountId": "A35513",
           "partyId": "P82510",
           "party_type": "IndivACParty",
           "escrowId": "null",
           "orderId": "401510522",
           "transactionType": "WIRE",
           "totalAmount": "99.400000",
           "totalShares": "71.000000",
           "orderStatus": "CREATED",
           "createdDate": "2014-12-09 04:29:29",
           "createdIpAddress": "110.172.170.246",
           "errors": "",
           "documentKey": "",
           "esignStatus": "NOTSIGNED",
           "users": "",
           "archived_status": "0",
           "RRApprovalStatus": "Pending",
           "RRName": "Test",
           "RRApprovalDate": "09-10-2019",
           "PrincipalApprovalStatus": "Pending",
           "PrincipalName": "Test",
           "PrincipalDate": "09-10-2019",
        }
    ]
}
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

Custodial Account