Upload
OpenAPI V2
Uploads the digital report to chat with.
Authorizations
Header parameters
x-api-versionstringRequired
ApplicationNameanyOptional
Name of the application to integrates with API’s to Semansys.Next.
PartnerNameanyOptional
Contract owner (organization) name that have embedded the API’s.
PartnerIDanyOptional
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
CustomerNameanyOptional
Customer (organization) name (ie. accounting firm, intermediary, ....).
CustomerIDanyOptional
Business Identification Number (BIN) of the customer.
ClientNameanyOptional
Client (organization) name of the customer of the accounting firm, intermediary...
ClientIDanyOptional
Business Identification Number (BIN) of the client.
Body
documentContentstring · byte | nullableOptionalExample:
The PDF or XBRL file represented as Base64
PD94bWwgdmVyc...
documentNamestring | nullableOptionalExample:
The name of your PDF document
Annual report.pdf
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
post
POST /reportchat/upload HTTP/1.1
Host:
Authorization: Bearer JWT
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"documentContent": "PD94bWwgdmVyc...",
"documentName": "Annual report.pdf"
}
{
"docId": "155c0585-8309-40b4-8de3-fd0951021d80"
}
Was this helpful?