getTrade

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

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
accountIdyesstringAccount ID generated by the API
tradeIdnointegerTrade ID generated by the API

Sample Request

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

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
tradeDetailsstringReturns the trade details as an array

Sample Response

{
	"statusCode": "101",
	"statusDesc": "Ok",
	"partyDetails": [{
		"id": "789505",
		"developerAPIKey": "XXXXXXXXXXXXXXX",
		"offeringId": "44238",
		"accountId": "A49501",
		"partyId": "P28759",
		"party_type": "IndivACParty",
		"escrowId": null,
		"orderId": "384003730",
		"transactionType": "ACH",
		"totalAmount": "100.000000",
		"totalShares": "1.000000",
		"orderStatus": "CREATED",
		"createdDate": "2018-07-06 12:27:07",
		"createdIpAddress": "110.172.170.246",
		"errors": "",
		"documentKey": "",
		"esignStatus": "NOTSIGNED",
		"users": "",
		"field1": null,
		"field2": null,
		"field3": null,
		"archived_status": "0",
                "RRApprovalStatus": "Pending",
                "RRName": "Test",
                "RRApprovalDate": "09-10-2019",
                "PrincipalApprovalStatus": "Pending",
                "PrincipalName": "Test",
                "PrincipalDate": "09-10-2019"
	}, {
		"id": "789506",
		"developerAPIKey": "XXXXXXXXXXXXXXX",
		"offeringId": "44238",
		"accountId": "A49501",
		"partyId": "P28759",
		"party_type": "IndivACParty",
		"escrowId": null,
		"orderId": "480932944",
		"transactionType": "WIRE",
		"totalAmount": "100.000000",
		"totalShares": "1.000000",
		"orderStatus": "CREATED",
		"createdDate": "2018-07-06 12:27:46",
		"createdIpAddress": "110.172.170.246",
		"errors": "",
		"documentKey": "",
		"esignStatus": "NOTSIGNED",
		"users": "",
		"field1": null,
		"field2": null,
		"field3": null,
		"archived_status": "0",
                "RRApprovalStatus": "Pending",
                "RRName": "Test",
                "RRApprovalDate": "09-10-2019",
                "PrincipalApprovalStatus": "Pending",
                "PrincipalName": "Test",
                "PrincipalDate": "09-10-2019"
	}]
}

Test it Yourself!

Language
Click Try It! to start a request and see the response here!