Employees
1 min
GET
https://tnapi.ticketpay.de/exports/employees
fromstring<p>A date or datetime parameter to select the data start with this date. In default this filter is used in the field updated_iso.</p>
tostring<p>A date or datetime parameter to select the data end with this date. In default this filter is used in the field updated_iso.</p>
filter_bystring<p>Datetime filter field. Default value is updated_iso. Possible values are created_iso and updated_iso</p>
time_periodstring<p>If you dont want to use from and to you can use a time period to select data with a special period. Possible values are months, days, hours, minutes, seconds</p>
time_rangeinteger<p>A time range is needed if you use the time_period parameter to select data. For exapmle you want tho get the last two months - time_period is months and time_range is 2</p>
idintegerTo filter the results you can pass here the id of your employee
emailstringTo filter the results you can pass here an email address. The results will put all employees with this email address.
qrcode_valueintegerTo filter the results you can pass here the qrcode value of a checkin media of your employee
project_idinteger<p>To filter the results you can pass here the pproject_id of one of your projects</p>
partner_idinteger<p>To filter the results you can pass here the partner_id of one of your partners</p>
profile_idinteger<p>To filter the results you can pass here the profile_id of one of your access profiles</p>
statusstringTo filter the results you can pass here the status of vouchers. The results will put all vouchers with this status.
per_pageintegerFor pagination. Defines the number of data per page in the output.
pageintegerFor pagination. Defines the page number for the data output.
Authorizationstring<p>To authentificate please use your API-KEY created here <a href="https://iam.ticketpay.de/api-keys" target="_blank">https://iam.ticketpay.de/api-keys</a>. Please give this API-KEY the role Export.</p>
200Response for get employees.
401Response for a failed authentification.
curl --request GET \
--url https://tnapi.ticketpay.de/exports/employees \
--header 'accept: application/json' \
--header 'authorization: string'