WorkPlaceSupplier
Manage work place suppliers, which represent the association between work places and suppliers.
You can create, update, delete, and search for work place suppliers with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Section titled “Operations” POST /v2/work-place-supplier/index
Returns a paginated and filterable list of work place suppliers.
Use POST to allow complex filters via JSON payload.
Request Body
Section titled “Request Body ”Parameters for searching work place suppliers
object
object
The unique identifier for the office work place supplier.
The unique identifier for the office work place.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
The code for the office work place supplier.
The name of the office work place supplier.
The description of the office work place supplier.
The street address of the office work place supplier.
The postal code of the office work place supplier.
The region of the office work place supplier.
The locality of the office work place supplier.
The country of the office work place supplier.
The tax code of the office work place supplier.
The VAT code of the office work place supplier.
The unique identifier for the project.
The timestamp of the create operation.
The timestamp of the last update operation.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
The code for the work place.
The name of the work place.
The description of the work place.
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 supplier 1" }, "per-page": 100, "page": 1, "sort": "name"}
Responses
Section titled “ Responses ”List of work place suppliers
object
The unique identifier for the office work place supplier.
The unique identifier for the office work place.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
The code for the office work place supplier.
The name of the office work place supplier.
The description of the office work place supplier.
The street address of the office work place supplier.
The postal code of the office work place supplier.
The region of the office work place supplier.
The locality of the office work place supplier.
The country of the office work place supplier.
The tax code of the office work place supplier.
The VAT code of the office work place supplier.
The unique identifier for the project.
The timestamp of the create operation.
The timestamp of the last update operation.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
The code for the work place.
The name of the work place.
The description of the work place.
Example
{ "office_work_place_supplier_id": "wps-1", "office_work_place_id": "wp-1", "supplier_office_id": "so-1", "name": "Work place supplier 1", "office_id": "off-1", "supplier_id": "sup-1", "project_id": "proj-1", "office_name": "Main Office", "work_place_name": "Work Place 1", "created_at": 1700000000, "updated_at": 1700000001}
Headers
Section titled “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/work-place-supplier/view/{id}
Retrieve a work place supplier by its unique ID.
Path Parameters
Section titled “Path Parameters ”ID of the work place supplier to retrieve
Responses
Section titled “ Responses ”Work place supplier found
object
The unique identifier for the office work place supplier.
The unique identifier for the office work place.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
The code for the office work place supplier.
The name of the office work place supplier.
The description of the office work place supplier.
The street address of the office work place supplier.
The postal code of the office work place supplier.
The region of the office work place supplier.
The locality of the office work place supplier.
The country of the office work place supplier.
The tax code of the office work place supplier.
The VAT code of the office work place supplier.
The unique identifier for the project.
The timestamp of the create operation.
The timestamp of the last update operation.
The name of the project.
The type of the project.
The name of the office.
The code for the office.
The code for the work place.
The name of the work place.
The description of the work place.
Example
{ "office_work_place_supplier_id": "wps-1", "office_work_place_id": "wp-1", "supplier_office_id": "so-1", "name": "Work place supplier 1", "office_id": "off-1", "supplier_id": "sup-1", "project_id": "proj-1", "office_name": "Main Office", "work_place_name": "Work Place 1", "created_at": 1700000000, "updated_at": 1700000001}
Work place supplier not found