The BOM Update Log 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.
Default: draft
{
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
} /api/manufacturing/b-o-m-update-log/{id} Retrieve a bom update log
Retrieves the details of an existing bom update log. Supply the unique bom update log ID that was returned from a previous request.
Path parameters
The identifier of the bom update log to retrieve.
Returns
Returns the bom update log object if a valid identifier was provided.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log/b-o-m-update-log_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
} /api/manufacturing/b-o-m-update-log List all bom update logs
Returns a list of bom update logs. 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 bom update log objects.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
}
],
"has_more": false,
"total": 1
} /api/manufacturing/b-o-m-update-log Create a bom update log
Creates a new bom update log object.
Body parameters
Default: draft
Returns
Returns the newly created bom update log object if the call succeeded.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" {
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
} /api/manufacturing/b-o-m-update-log/{id} Update a bom update log
Updates the specified bom update log by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the bom update log to update.
Body parameters
Default: draft
Returns
Returns the updated bom update log object.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log/b-o-m-update-log_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"draft","current_bom":"current_bom_example"}' {
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
} /api/manufacturing/b-o-m-update-log/{id} Delete a bom update log
Permanently deletes a bom update log. This cannot be undone.
Path parameters
The identifier of the bom update log to delete.
Returns
Returns a confirmation that the bom update log has been deleted.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log/b-o-m-update-log_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "b-o-m-update-log_abc123",
"deleted": true
} /api/manufacturing/b-o-m-update-log/{id}/submit Submit a bom update log
Submits a draft bom update log, transitioning its status from draft to submitted.
Path parameters
The identifier of the bom update log to act on.
Returns
Returns the bom update log object with updated status.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log/b-o-m-update-log_abc123/submit \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
} /api/manufacturing/b-o-m-update-log/{id}/cancel Cancel a bom update log
Cancels a submitted bom update log, transitioning its status to cancelled.
Path parameters
The identifier of the bom update log to act on.
Returns
Returns the bom update log object with updated status.
curl https://api.overplane.dev/api/manufacturing/b-o-m-update-log/b-o-m-update-log_abc123/cancel \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "b-o-m-update-log_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"current_bom": "current_bom_example",
"new_bom": "new_bom_example",
"update_type": "2024-01-15",
"error_log": "error_log_example",
"processed_boms": "processed_boms_example",
"current_level": 0
}