post https://tapi-sandboxdash.norcapsecurities.com/getTradeStatusesForOffering
Returns an array of trade IDs and current trade statuses associated with a specific Offering ID
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| clientID | yes | string | TransactAPI Client ID |
| developerAPIKey | yes | string | TransactAPI Developer Key |
| offeringId | yes | string | Offering ID that is generated by the API when an offering is created (createOffering) |
| tradeStatus | no | string | Trade Status (Filter): CREATED | FUNDED | UNWIND PENDING | UNWIND SETTLED | SETTLED - will display trades with the selected status |
Sample Request
curl -k -X POST https://tapi.norcapsecurities.com/getTradeStatusesForOffering
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=8139
-d tradeStatus=CREATEDResponse 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": [
{
"tradeId": "114431043",
"accountId": "A49501",
"transactionType": "CreditCard",
"totalShares": "800.000000",
"unitPrice": "2.449500",
"totalAmount": "1959.600000",
"tradeStatus": "CREATED",
"RRApprovalStatus": "Pending",
"PrincipalApprovalStatus": "Pending",
"field1": "",
"field2": "",
"field3": "",
"esignStatus": "NOTSIGNED"
}
]
