Protime MCP by usefulapi
v1.9.1Read clockings, absences, assignments, contracts, people and departments in Protime.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
protime_list_clockings List clockings
List time clockings (in/out, reasons, activities) for a date range. Deleted clockings have status Deleted. Location data is left out. A date range is required (at most one year). Returns one page: pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-clockings.read.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd. |
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
kind | string | |
person | array | Internal person IDs. Leave out for all people. |
protime_list_absences List absences
List absence instances (leave, sickness) for a date range. A date range is required (at most one year). Returns one page: pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-absences.read.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd. |
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
person | array | Internal person IDs. Leave out for all people. |
protime_list_assignments List assignments
List work assignments (planned and registered activities) for a date range. A date range is required. Returns one page: pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-assignments.read.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd. |
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
person | array | Internal person IDs. Leave out for all people. |
protime_list_contracts List contracts
List employment contracts (percentage, hours, dates). Optional person filter. Returns one page: pass continuationToken for the next. Read only. Needs scope connector-protimeapi-contracts.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
person | array | Internal person IDs. Leave out for all people. |
protime_list_people List people
List people with name, work email and service dates. Home address, birth date, bank, passport and social security data are never returned. Optional person filter. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-people.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
person | array | Internal person IDs. Leave out for all people. |
protime_list_departments List departments
List all departments configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-departments.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_list_jobs List jobs
List all jobs configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-jobs.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_list_work_locations List work locations
List all work locations configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-work-locations.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_list_shift_definitions List shift definitions (codes and names)
List all shift definitions (codes and names) configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-shift-definitions.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_list_absence_definitions List absence definitions (codes, groups)
List all absence definitions (codes, groups) configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-absence-definitions.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_list_absence_groups List absence groups
List all absence groups configured in the tenant. No filters. Pass continuationToken for the next page. Read only. Needs scope connector-protimeapi-absence-groups.read.
| Parameter | Type | Description |
|---|---|---|
continuationToken | string | continuationToken from the previous page (use the same other arguments). |
protime_get_person Get person
Get one person by internal ID: name, work email, service dates. Sensitive personal data is never returned. Read only. Needs scope connector-protimeapi-people.read.
| Parameter | Type | Description |
|---|---|---|
id * | integer |