Edit Trade Units

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API's Client ID
developerAPIKey yes string Transact API's Developer API Key
accountId yes string Account ID generated by the API
tradeId yes string Trade ID generated by the API
unitPrice yes integer Unit Price for this trade
totalShares yes integer No of shares

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/editTradeUnits
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d accountId=P12345
-d tradeId=2354
-d unitPrice=10.58
-d totalShares=10.58

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
TradeFinancialDetails string Returns the Trade details (tradeId, unitPrice, sharePrice, totalShares,)

Sample Response

    "statusCode": "101",
    "statusDesc": "Ok",
    "TradeFinancialDetails": {
        "tradeId": "2354",
        "unitPrice": "10.58",
        "sharePrice": 280.50,
        "totalShares": "100.00",        
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

ACH Distributions