post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateTradeDocArchiveStatus
Update trade document archive status
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer Key |
tradeId | yes | string | Trade ID generated by the API |
documentFileReferenceCode | yes | string | Document reference code generated by the API |
archiveStatus | yes | string | Change Status value eg: "0" or "1" |
Sample Request
curl -k -X POST http://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateTradeDocArchivestatus
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d tradeId=141103099
-d documentFileReferenceCode=141103099
-d archiveStatus=1 or 0
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | string | API Status Description |
tradeDetails | string | Array of trade details (tradeId, documentId, orderStatus) |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"tradeDocumentDetails": [
{
"tradeId": "923209860",
"virtualStatus": "ACTIVE",
"documentid": "3c3Gu",
"documentTitle": " Test trade document",
"documentFileName": "GKrQ100417045821.pdf",
"documentFileReferenceCode": "100417045821",
"createdDate": "2017-04-10 19:08:19",
"archiveStatus": "0"
}
]
}