Companies
Export the company's ended roles in other companies as CSV
The rows of POST /companies/{id}/assignments/history without paging, newest end first, as a semicolon separated UTF-8 CSV with a Content-Disposition header.
Pro+ tier
GEThttps://lens-api.tic.io/companies/{id}/assignments/history/export
Every row of ended roles as one CSV file, without paging, newest end first. The current positions are in the roles export.
The file is UTF-8 with semicolons between the fields, and the Content-Disposition header gives its name.
curl "https://lens-api.tic.io/companies/12345/assignments/history/export" \
-H "x-api-key: YOUR_API_KEY" \
-o ended-roles.csvAuthorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Path parameters
idintegerrequiredInternal company ID
Responses
CSV download · text/csv
string
Company not found or not accessible