WorkPlace
Manage work places, which represent specific locations or areas within an office or project.
You can create, update, delete, and search for work places with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Section titled “Operations” POST /v2/work-place/index
Returns a paginated and filterable list of work places.
Use POST to allow complex filters via JSON payload.
Request Body
Section titled “Request Body ”Parameters for searching work places
object
object
The unique identifier for the office work place.
A code for identifying the office work place.
The name of the office work place.
A description of the office work place.
The unique identifier for the office.
The unique identifier for the project.
The name of the project associated with the office work place.
The type of the project associated with the office work place.
The name of the office associated with the office work place.
The category of the office work place, if available.
Indicates if the office work place is owned and active.
Indicates if the parent of the office work place 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": { "name": "Work place 1", "office_id": "off-1" }, "per-page": 10, "page": 1, "sort": "name"}
Responses
Section titled “ Responses ”List of work places
object
The unique identifier for the office work place.
A code for identifying the office work place.
The name of the office work place.
A description of the office work place.
The unique identifier for the office.
The unique identifier for the project.
The name of the project associated with the office work place.
The type of the project associated with the office work place.
The name of the office associated with the office work place.
The category of the office work place, if available.
Indicates if the office work place is owned and active.
Indicates if the parent of the office work place is active.
Example
{ "office_work_place_id": "wp-1", "code": "WP001", "name": "Work place 1", "description": "Main work place", "office_id": "off-1", "project_id": "proj-1", "office_name": "Main Office", "project_name": "Project X"}
Headers
Section titled “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/work-place/view/{id}
Retrieve a work place by its unique ID.
Path Parameters
Section titled “Path Parameters ”ID of the work place to retrieve
Responses
Section titled “ Responses ”Work place found
object
The unique identifier for the office work place.
A code for identifying the office work place.
The name of the office work place.
A description of the office work place.
The unique identifier for the office.
The unique identifier for the project.
The name of the project associated with the office work place.
The type of the project associated with the office work place.
The name of the office associated with the office work place.
The category of the office work place, if available.
Indicates if the office work place is owned and active.
Indicates if the parent of the office work place is active.
Example
{ "office_work_place_id": "wp-1", "code": "WP001", "name": "Work place 1", "description": "Main work place", "office_id": "off-1", "project_id": "proj-1", "office_name": "Main Office", "project_name": "Project X"}
Work place not found