Read
GET
GET resource ById
To read a resource by key, you need to perform a GET request specifying the id/key:
- Configure the HTTP request as GET.
The response consists of:
status:200.headers: information about the response.body: the actual content of the response, in JSON format.
GET: e.g. tse.smart-api.teamsystem.cloud/api/{product}/{version}/company/{defaultCompany}/{module}/{resource}/{id}
Parameters
- id: identifier code of the resource to read
Response Codes
200: the requested{resource}DTOobject404: if the object was not found
GET multiple resources
To read all records of a resource, simply call the service.
- Configure the HTTP request as GET.
The response consists of:
status:200.headers: information about the response.body: the actual content of the response, in JSON format as an array of the resource.
GET: tse.smart-api.teamsystem.cloud/api/{product}/v1/company/{defaultCompany}/{module}/{resources}
javascript
curl -X 'GET' \
'https://tse.smart-api.teamsystem.cloud/api/tse10/v1/company/1/document/orders?fields=document-id%2Cregistry-date%2Cdocument-number%2Cdocument-date&document-number=00001&registration-number=202100000128&document-date=2025-10-10&section 'https://tse.smart-api.teamsystem.cloud/api/tse10/v1/company/1/document/orders?fields=document-id%2Cregistry-date%2Cdocument-number%2Cdocument-date&document-number=00001&registration-number=202100000128&document-date=2025-10-10&sectional=00&pagecount=5&pageposition=0&orderby=document-number&user=admin' \
-H 'accept: application/json' \
-H 'accept-language: it-IT'
Parameters
- multiple: related to the fields to filter/sort
Response Codes
200: the requested{resource}DTOobject404: if the object was not found