WorkGroupSupplier
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage work group suppliers, which represent the association between work groups and suppliers.
You can create, update, delete, and search for work group suppliers with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Sezione intitolata “Operations” POST /v2/work-group-supplier/index
Returns a paginated and filterable list of work group suppliers.
Use POST to allow complex filters via JSON payload.
Request Body
Sezione intitolata “Request Body ”Parameters for searching work group suppliers
object
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
A code for identifying the entity.
The name of the work group supplier.
A description of the work group supplier.
The street address of the supplier.
The postal code of the supplier.
The region where the supplier is located.
The locality of the supplier.
The country where the supplier is located.
The tax code of the supplier.
The VAT number of the supplier.
The unique identifier for the project.
Timestamp of the create operation.
Timestamp of the last update operation.
The name of the project associated with the work group supplier.
The type of the project associated with the work group supplier.
The name of the office associated with the work group supplier.
The code of the office associated with the work group supplier.
The code of the work group.
The name of the work group.
The type of the work group.
A description of the work group.
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 group supplier 1" }, "per-page": 100, "page": 1, "sort": "name"}
Responses
Sezione intitolata “ Responses ”List of work group suppliers
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
A code for identifying the entity.
The name of the work group supplier.
A description of the work group supplier.
The street address of the supplier.
The postal code of the supplier.
The region where the supplier is located.
The locality of the supplier.
The country where the supplier is located.
The tax code of the supplier.
The VAT number of the supplier.
The unique identifier for the project.
Timestamp of the create operation.
Timestamp of the last update operation.
The name of the project associated with the work group supplier.
The type of the project associated with the work group supplier.
The name of the office associated with the work group supplier.
The code of the office associated with the work group supplier.
The code of the work group.
The name of the work group.
The type of the work group.
A description of the work group.
Example
{ "work_group_supplier_id": "wgs-1", "work_group_id": "wg-1", "supplier_office_id": "so-1", "name": "Work group supplier 1", "office_id": "off-1", "supplier_id": "sup-1", "project_id": "proj-1", "work_group_code": "GRP-001", "work_group_name": "My group", "office_name": "Main Office", "created_at": 1700000000, "updated_at": 1700000001}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
POST /v2/work-group-supplier/create
Create a new work group supplier by providing the required details.
Request Body required
Sezione intitolata “Request Body required ”Work group supplier object to be created
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office associated with the work group.
Example
{ "work_group_id": "wg-2", "supplier_office_id": "so-2", "name": "Work group supplier 2"}
Responses
Sezione intitolata “ Responses ”Work group supplier created successfully
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office associated with the work group.
Example
{ "work_group_supplier_id": "wgs-2", "work_group_id": "wg-2", "supplier_office_id": "so-2", "name": "Work group supplier 2"}
GET /v2/work-group-supplier/view/{id}
Retrieve a work group supplier by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the work group supplier to retrieve
Responses
Sezione intitolata “ Responses ”Work group supplier found
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office.
The unique identifier for the supplier.
The unique identifier for the office.
A code for identifying the entity.
The name of the work group supplier.
A description of the work group supplier.
The street address of the supplier.
The postal code of the supplier.
The region where the supplier is located.
The locality of the supplier.
The country where the supplier is located.
The tax code of the supplier.
The VAT number of the supplier.
The unique identifier for the project.
Timestamp of the create operation.
Timestamp of the last update operation.
The name of the project associated with the work group supplier.
The type of the project associated with the work group supplier.
The name of the office associated with the work group supplier.
The code of the office associated with the work group supplier.
The code of the work group.
The name of the work group.
The type of the work group.
A description of the work group.
Example
{ "work_group_supplier_id": "wgs-1", "work_group_id": "wg-1", "supplier_office_id": "so-1", "name": "Work group supplier 1", "office_id": "off-1", "supplier_id": "sup-1", "project_id": "proj-1", "work_group_code": "GRP-001", "work_group_name": "My group", "office_name": "Main Office", "created_at": 1700000000, "updated_at": 1700000001}
Work group supplier not found
DELETE /v2/work-group-supplier/delete/{id}
Delete a work group supplier by its unique ID.
If force=true, all related entities will also be deleted.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the work group supplier to delete
Query Parameters
Sezione intitolata “Query Parameters ”Force the deletion of the entity and all related entities
Responses
Sezione intitolata “ Responses ”Work group supplier deleted successfully
If force=false, the operation is interrupted and the list of connected entities that will be deleted in case of confirmation (force=true) is returned
PUT /v2/work-group-supplier/update/{id}
Update an existing work group supplier by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the work group supplier to update
Request Body required
Sezione intitolata “Request Body required ”Work group supplier object with updated data
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office associated with the work group.
Example
{ "name": "Updated supplier", "description": "Updated description"}
Responses
Sezione intitolata “ Responses ”Work group supplier updated successfully
object
The unique identifier for the work group supplier.
The unique identifier for the work group.
The unique identifier for the supplier office associated with the work group.
Example
{ "work_group_supplier_id": "wgs-1", "name": "Updated supplier", "description": "Updated description"}
Work group supplier not found