File
Retrieve the list of files as ID's within your domain.
Please enter token
IDs of the files to be returned.
["38caa766-9dcd-4681-a955-cb3d9028b18f","963be853-fdcd-4681-a955-cb3d9028b18f"]Name of the application to integrates with API’s to Semansys.Next.
Contract owner (organization) name that have embedded the API’s.
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
Customer (organization) name (ie. accounting firm, intermediary, ....).
Business Identification Number (BIN) of the customer.
Client (organization) name of the customer of the accounting firm, intermediary...
Business Identification Number (BIN) of the client.
OK
The ID of the file.
063be713-f...The email of the user (owner of the file).
user@gmail.comName of the file.
My Test FileFile size.
1253File type.
.xbrlFile checksum.
5B63E7C115FA...Date time of file creation.
2019-05-17Bad Request
Unauthorized
GET /customer-corner/file/{fileIds} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "063be713-f...",
"userEmail": "user@gmail.com",
"name": "My Test File",
"size": 1253,
"type": ".xbrl",
"sha256": "5B63E7C115FA...",
"createdOn": "2019-05-17",
"isDomain": true,
"isPublic": true,
"history": [
{
"id": "dbe33c92-8...",
"fileId": "063be713-f...",
"action": "Downloaded",
"atTime": "2019-05-20",
"properties": [
{
"id": "063be713...",
"type": "91063921-5...",
"key": "NumberOfFacts",
"value": "2"
}
]
}
],
"properties": [
{
"id": "063be713...",
"type": "91063921-5...",
"key": "NumberOfFacts",
"value": "2"
}
]
}
]Gives the list of files owned by the user defined by the user email.
Please enter token
The user email.
user@gmail.comWhether to include the history for each of the files.
falseWhether to include the properties for each of the files.
falseName of the application to integrates with API’s to Semansys.Next.
Contract owner (organization) name that have embedded the API’s.
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
Customer (organization) name (ie. accounting firm, intermediary, ....).
Business Identification Number (BIN) of the customer.
Client (organization) name of the customer of the accounting firm, intermediary...
Business Identification Number (BIN) of the client.
OK
The ID of the file.
063be713-f...The email of the user (owner of the file).
user@gmail.comName of the file.
My Test FileFile size.
1253File type.
.xbrlFile checksum.
5B63E7C115FA...Date time of file creation.
2019-05-17Bad Request
Unauthorized
GET /customer-corner/file HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "063be713-f...",
"userEmail": "user@gmail.com",
"name": "My Test File",
"size": 1253,
"type": ".xbrl",
"sha256": "5B63E7C115FA...",
"createdOn": "2019-05-17",
"isDomain": true,
"isPublic": true,
"history": [
{
"id": "dbe33c92-8...",
"fileId": "063be713-f...",
"action": "Downloaded",
"atTime": "2019-05-20",
"properties": [
{
"id": "063be713...",
"type": "91063921-5...",
"key": "NumberOfFacts",
"value": "2"
}
]
}
],
"properties": [
{
"id": "063be713...",
"type": "91063921-5...",
"key": "NumberOfFacts",
"value": "2"
}
]
}
]Upload a file to the platform.
Please enter token
Name of the application to integrates with API’s to Semansys.Next.
Contract owner (organization) name that have embedded the API’s.
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
Customer (organization) name (ie. accounting firm, intermediary, ....).
Business Identification Number (BIN) of the customer.
Client (organization) name of the customer of the accounting firm, intermediary...
Business Identification Number (BIN) of the client.
PD94bWwgdmVyc2lvbj0...user@gmail.comMy file.xbrlThe ID of the file ("38caa766-9dcd-4681-a955-cb3d9028b18f")
No content
The reason why file could not be uploaded, represented as string.
Unauthorized
File not found.
Unsupported file type.
POST /customer-corner/file HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"content": "PD94bWwgdmVyc2lvbj0...",
"userId": "user@gmail.com",
"fileName": "My file.xbrl"
}No content
Delete one or more file from the platform by ID.
Please enter token
Name of the application to integrates with API’s to Semansys.Next.
Contract owner (organization) name that have embedded the API’s.
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
Customer (organization) name (ie. accounting firm, intermediary, ....).
Business Identification Number (BIN) of the customer.
Client (organization) name of the customer of the accounting firm, intermediary...
Business Identification Number (BIN) of the client.
The files were successfully deleted.
No content
Delete files failed.
Unauthorized
DELETE /customer-corner/file HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33
[
"063be713-f...",
"963be853-f..."
]No content
Was this helpful?