post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateAccountArchiveStatus
Used to update an account to Archive status
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer API Key |
accountId | yes | string | Account ID generated by the API |
archiveStatus | yes | string | Change Status value e.g.: "0" or "1" |
Sample Request
curl -k -X POST http://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateAccountArchiveStatus
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d accountId=A12345
-d archiveStatus=1 or 0
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | string | API Status Description |
accountDetails | string | Array of account details (accountId, archiveStatus) |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"accountDetails": [
{
"accountId": "A12345",
"archivestatus": "0"
}
]
}