List document orders
curl --request GET \
--url https://api.tic.io/team-document-orders \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/team-document-orders"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tic.io/team-document-orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tic.io/team-document-orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tic.io/team-document-orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tic.io/team-document-orders")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/team-document-orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pageSize": 123,
"lastItemId": 123,
"totalItems": 123,
"items": [
{
"teamDocumentOrderId": 123,
"teamId": 123,
"teamName": "<string>",
"documentOrderGuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentTitle": "<string>",
"documentOrderType": "companyDocument",
"documentOrderDate": "2023-11-07T05:31:56Z",
"orderedByUserId": 123,
"orderedByUserEmail": "<string>",
"orderedByUserDisplayName": "<string>",
"price": 123,
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"externalOrigin": "tablE_Bolagsverket_Notification",
"externalId2": "<string>",
"salesOrderRows": [
123
],
"content": [
{
"teamDocumentOrderContentId": 123,
"teamDocumentOrderId": 123,
"teamDocumentContentType": "pdf"
}
]
}
]
}Company Documents
List document orders
Returns document orders for the authenticated team with cursor-based pagination
GET
/
team-document-orders
List document orders
curl --request GET \
--url https://api.tic.io/team-document-orders \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/team-document-orders"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tic.io/team-document-orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tic.io/team-document-orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tic.io/team-document-orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tic.io/team-document-orders")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/team-document-orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pageSize": 123,
"lastItemId": 123,
"totalItems": 123,
"items": [
{
"teamDocumentOrderId": 123,
"teamId": 123,
"teamName": "<string>",
"documentOrderGuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"documentTitle": "<string>",
"documentOrderType": "companyDocument",
"documentOrderDate": "2023-11-07T05:31:56Z",
"orderedByUserId": 123,
"orderedByUserEmail": "<string>",
"orderedByUserDisplayName": "<string>",
"price": 123,
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"externalOrigin": "tablE_Bolagsverket_Notification",
"externalId2": "<string>",
"salesOrderRows": [
123
],
"content": [
{
"teamDocumentOrderContentId": 123,
"teamDocumentOrderId": 123,
"teamDocumentContentType": "pdf"
}
]
}
]
}Authorizations
Query Parameters
Take records after this id
Page size (max 100)
⌘I