WorkPlacePerson
Manage work place persons, which represent the association between people and work places.
You can create, update, delete, and search for work place persons with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Section titled “Operations” POST /v2/work-place-person/index
Returns a paginated and filterable list of work place persons.
Use POST to allow complex filters via JSON payload.
Request Body
Section titled “Request Body ”Parameters for searching work place persons
object
object
The unique identifier for the office work place person.
The measure for the time spent at the office work place.
The unique identifier for the unit of measure.
The unique identifier for the office work place.
The unique identifier for the person’s office.
The unique identifier for the office.
The unique identifier for the project.
The code for the office work place.
The name of the office work place.
The unique identifier for the person.
The code for the person.
The first name of the person.
The last name of the person.
Indicates if the person is an employee.
Indicates if the person is external to the organization.
The code for the unit of measure.
The name of the unit of measure.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
Indicates if the office work place person is owned and active.
Indicates if the parent office work place person is active.
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "work_place_name": "Work place 1" }, "per-page": 100, "page": 1, "sort": "name"}
Responses
Section titled “ Responses ”List of work place persons
object
The unique identifier for the office work place person.
The measure for the time spent at the office work place.
The unique identifier for the unit of measure.
The unique identifier for the office work place.
The unique identifier for the person’s office.
The unique identifier for the office.
The unique identifier for the project.
The code for the office work place.
The name of the office work place.
The unique identifier for the person.
The code for the person.
The first name of the person.
The last name of the person.
Indicates if the person is an employee.
Indicates if the person is external to the organization.
The code for the unit of measure.
The name of the unit of measure.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
Indicates if the office work place person is owned and active.
Indicates if the parent office work place person is active.
Example
{ "office_work_place_person_id": "wpp-1", "office_work_place_id": "wp-1", "person_office_id": "po-1", "work_place_name": "Work place 1", "person_first_name": "Mario", "person_last_name": "Rossi", "office_id": "off-1", "office_name": "Main Office"}
Headers
Section titled “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/work-place-person/view/{id}
Retrieve a work place person by its unique ID.
Path Parameters
Section titled “Path Parameters ”ID of the work place person to retrieve
Responses
Section titled “ Responses ”Work place person found
object
The unique identifier for the office work place person.
The measure for the time spent at the office work place.
The unique identifier for the unit of measure.
The unique identifier for the office work place.
The unique identifier for the person’s office.
The unique identifier for the office.
The unique identifier for the project.
The code for the office work place.
The name of the office work place.
The unique identifier for the person.
The code for the person.
The first name of the person.
The last name of the person.
Indicates if the person is an employee.
Indicates if the person is external to the organization.
The code for the unit of measure.
The name of the unit of measure.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
Indicates if the office work place person is owned and active.
Indicates if the parent office work place person is active.
Example
{ "office_work_place_person_id": "wpp-1", "office_work_place_id": "wp-1", "person_office_id": "po-1", "work_place_name": "Work place 1", "person_first_name": "Mario", "person_last_name": "Rossi", "office_id": "off-1", "office_name": "Main Office"}
Work place person not found