History

OpenAPI V2

Retrieve file properties.

get

Retrieve all properties of an file.

Authorizations
Path parameters
idstringRequired

The ID of the preferred file

Example: 063be713-f...
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.

Responses
200
OK
application/json
get
GET /customer-corner/file/{id}/history HTTP/1.1
Host: 
Authorization: Bearer JWT
x-api-version: text
Accept: */*
{
  "id": "dbe33c92-8...",
  "fileId": "063be713-f...",
  "action": "Downloaded",
  "atTime": "2019-05-20",
  "properties": [
    {
      "id": "063be713...",
      "type": "91063921-5...",
      "key": "NumberOfFacts",
      "value": "2"
    }
  ]
}

Get file history.

post

Get file history by file ID.

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
idstring · uuidOptional

ID of the file history.

Example: dbe33c92-8...
fileIdstring · uuidOptional

ID of the file.

Example: 063be713-f...
actionstring | nullableOptional

Name of the action (delivery, rendering).

Example: Downloaded
atTimestring · date-timeOptional

Date time of the action performed.

Example: 2019-05-20
Responses
200
OK
post
POST /customer-corner/file/history HTTP/1.1
Host: 
Authorization: Bearer JWT
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 184

{
  "id": "dbe33c92-8...",
  "fileId": "063be713-f...",
  "action": "Downloaded",
  "atTime": "2019-05-20",
  "properties": [
    {
      "id": "063be713...",
      "type": "91063921-5...",
      "key": "NumberOfFacts",
      "value": "2"
    }
  ]
}

No content

Was this helpful?