Get Trades For Offering

This method is used to retrieve the history of all trades (and details of the trades) created for an offering. The Offering ID is required as a request parameter to fetch the purchase history.

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer Key
offeringId yes string Offering ID that is generated by the API when an Offering is created(createOffering).

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/getTradesForOffering
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=8139

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
Offering purchased details string Returns an array of offering trades history

Sample Response

{
  "statusCode": "101",
  "statusDesc": "Ok",
  "Offering purchased details": {
    "offering_purchase_history": [
      {
        "tradeId": "539263448",
        "accountId": "A55779",
        "offeringId": "8139",
        "totalAmount": "10.000000",
        "totalShares": "10.000000",
        "purchaseDate": "2016-10-14 16:26:12",
        "accountName": "Sara Individual",
        "offeringTotalShares": "100000.000000",
        "targetAmount": "89890.000000",
        "remainingShares": "97892.000000"
      },
      {
        "tradeId": "962934972",
        "accountId": "A07061",
        "offeringId": "8139",
        "totalAmount": "100.000000",
        "totalShares": "100.000000",
        "purchaseDate": "2016-10-14 16:18:16",
        "accountName": "Borazan Joint",
        "offeringTotalShares": "100000.000000",
        "targetAmount": "89890.000000",
        "remainingShares": "97892.000000"
      },
      {
        "tradeId": "653879815",
        "accountId": "A07061",
        "offeringId": "8139",
        "totalAmount": "999.000000",
        "totalShares": "999.000000",
        "purchaseDate": "2016-07-19 19:02:40",
        "accountName": "Borazan Joint",
        "offeringTotalShares": "100000.000000",
        "targetAmount": "89890.000000",
        "remainingShares": "97892.000000"
      },
      {
        "tradeId": "425903603",
        "accountId": "A07061",
        "offeringId": "8139",
        "totalAmount": "999.000000",
        "totalShares": "999.000000",
        "purchaseDate": "2016-07-19 18:52:05",
        "accountName": "Borazan Joint",
        "offeringTotalShares": "100000.000000",
        "targetAmount": "89890.000000",
        "remainingShares": "97892.000000"
      }
    ],
    "totalAmountRaised": 2108,
    "totalShares": 400000,
    "totalSharesPurchased": 2108,
    "totalSharesLeft": "97892.000000",
    "balanceAmount": "89890.000000",
    "offeringId": "8139"
  }
}
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