post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getAiDocument
This method is used to retrieve a list of all accreditation documents associated with a specific account.
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer Key |
accountId | yes | string | Account ID that is generated by the API once an account is created (createAccount) |
documentId | no | string | Document Id generated by the 'uploadVerificationDocument' method |
Sample Request
curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getAiDocument
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d accountId=A74413
-d documentId=SDrKb
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | sting | API Status Description |
document_details | string | Array of verification document details associated with |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"document_details": [{
"accountId": "A74413",
"documentid": "gHnhS",
"documentTitle": " Testing2",
"documentFileName": "GKrQ180918120031.pdf",
"documentFileReferenceCode": "180918120031",
"createdDate": "2018-09-18"
}]
}