The Workstation Operating Component object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
{
"id": "workstation-operating-component_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"component_name": "component_name_example"
} /api/manufacturing/workstation-operating-component/{id} Retrieve a workstation operating component
Retrieves the details of an existing workstation operating component. Supply the unique workstation operating component ID that was returned from a previous request.
Path parameters
The identifier of the workstation operating component to retrieve.
Returns
Returns the workstation operating component object if a valid identifier was provided.
curl https://api.overplane.dev/api/manufacturing/workstation-operating-component/workstation-operating-component_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "workstation-operating-component_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"component_name": "component_name_example"
} /api/manufacturing/workstation-operating-component List all workstation operating components
Returns a list of workstation operating components. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of workstation operating component objects.
curl https://api.overplane.dev/api/manufacturing/workstation-operating-component \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "workstation-operating-component_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"component_name": "component_name_example"
}
],
"has_more": false,
"total": 1
} /api/manufacturing/workstation-operating-component Create a workstation operating component
Creates a new workstation operating component object.
Body parameters
Returns
Returns the newly created workstation operating component object if the call succeeded.
curl https://api.overplane.dev/api/manufacturing/workstation-operating-component \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"component_name":"component_name_example"}' {
"id": "workstation-operating-component_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"component_name": "component_name_example"
} /api/manufacturing/workstation-operating-component/{id} Update a workstation operating component
Updates the specified workstation operating component by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the workstation operating component to update.
Body parameters
Returns
Returns the updated workstation operating component object.
curl https://api.overplane.dev/api/manufacturing/workstation-operating-component/workstation-operating-component_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"component_name":"component_name_example"}' {
"id": "workstation-operating-component_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"component_name": "component_name_example"
} /api/manufacturing/workstation-operating-component/{id} Delete a workstation operating component
Permanently deletes a workstation operating component. This cannot be undone.
Path parameters
The identifier of the workstation operating component to delete.
Returns
Returns a confirmation that the workstation operating component has been deleted.
curl https://api.overplane.dev/api/manufacturing/workstation-operating-component/workstation-operating-component_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "workstation-operating-component_abc123",
"deleted": true
} Line items
Child objects that belong to this workstation operating component. These are accessed via the parent's ID.
Workstation Operating Component Account
Attributes
Endpoints
/api/manufacturing/workstation-operating-component-account?parent_id={id} /api/manufacturing/workstation-operating-component-account /api/manufacturing/workstation-operating-component-account/{id} /api/manufacturing/workstation-operating-component-account/{id} /api/manufacturing/workstation-operating-component-account/reorder {
"id": "workstation-operating-component-account_abc123",
"idx": 1,
"workstation_operating_component_id": "workstation_operating_component_id_example",
"company": "Example Corp",
"expense_account": "expense_account_example"
}