Update Trade

This method is used to get all the details of all the trades for a party. The Party 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
partyId yes string Party ID generated by the TAPI
offeringId yes integer Offering ID generated by the TAPI
tradeId yes integer Trade ID generated by the TAPI
errDesc yes string Transact API Error Description
RRApprovalStatus no string "Pending", "Approved", "Disapproved", or "Under Review"
RRName no string Some Text
RRApprovalDate no string Approval Date eg: MM-DD-YYYY
PrincipalApprovalStatus no string "Pending", "Approved", "Disapproved", or "Under Review"
PrincipalName no string Some Text
PrincipalDate no string Approval Date eg: MM-DD-YYYY
field1 no string Some Text
field2 no string Some Text
field3 no string Some Text
closeId no string closeId

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/updateTrade
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d partyId=P12334
-d offeringId=511245
-d tradeId=2354
-d errDesc=Invalid Account
-d RRApprovalStatus= Pending
-d RRName= Some text
-d RRApprovalDate= Approval Date
-d PrincipalApprovalStatus= Pending
-d PrincipalName= Some text
-d PrincipalDate= Principal Date
-d field1= Additional information relating to the trade. Custom Field 1
-d field2= Additional information relating to the trade. Custom Field 2
-d field3=Additional information relating to the trade. Custom Field 3
-d closeId=closeId

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
TradeDetails string Array of trade details ( partyId, offeringId, orderStatus )

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "TradeDetails": [
        true,
        [
            {
                "partyId": "P12334",
                "offeringId": "44629",
                "orderStatus": "REJECTED",
                "RRApprovalStatus": "Pending",
                "RRName": "Test",
                "RRApprovalDate": "09-10-2019",
                "PrincipalApprovalStatus": "Pending",
                "PrincipalName": "Test",
                "PrincipalDate": "09-10-2019",
                "field1": "test1",
                "field2": "test2",
                "field3": "test3",
            }
        ]
    ]
}
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