AM/FA - Get File Details
A file is a document associated with a subscription.
Details
Synopsis
This route is used to retrieve the details of a file, given a set of search filters.
This endpoint is paginated, up to 25 records can be retrieved per call.
This endpoint can be called by applications with access to scope "readSubscription".
The number of rows being retrieved. Must be a positive integer.
The offset (i.e. row start index). Must be a positive integer (or 0).
The block number where the action was recorded on the ledger.
350
The transaction id where the action was recorded on the ledger.
456789OIJHGFCVGHJKLKJHGF67JH
Pattern: ^[a-zA-Z0-9-]*$
The name of the channel where the action was recorded on the ledger.
OG123
Pattern: ^[a-zA-Z0-9-]*$
The comma delimited list of file ids to filter the file history records. Up to 25 records can be provided. Each record should not exceed 12 characters.
USCCWSF01I00,USCCWSF01I01
The comma delimited list of file correlation ids to filter the file history records. Up to 25 records can be provided. Each record should not exceed 100 characters.
1234,5678,7890
The organization identifier linked to the correlation ids provided in the "fileCorrelationIdsFilter" property. If not provided the organization id will be inferred from the access token.
True if a file download Link is meant to be generated. It is optional
true
GET /external/v1/file HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"fileId": "US9QIFILE1",
"correlationData": [
{
"correlationId": "123245573717",
"origin": "Identifies file on backoffice",
"organization": {
"name": "Test Organization",
"orgId": "TEST1234"
},
"extraData": {
"some": "Custom Property"
}
}
],
"extension": "pdf",
"name": "File name",
"size": 3856,
"status": "created",
"type": "text",
"typeLabel": "text",
"infectedState": "clean",
"blockNumber": 350,
"transactionId": "456789OIJHGFCVGHJKLKJHGF67JH",
"channelName": "456789OIJHGFCVGHJKLKJHGF67JH",
"link": "https://some-download-link.com",
"organization": {
"orgId": "TEST1234",
"name": "Test Organization"
},
"associatedInvestorIds": [
"INV1234"
]
}
]
Last updated
Was this helpful?