The Quality Inspection Parameter 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": "quality-inspection-parameter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parameter": "parameter_example",
"description": "description_example",
"parameter_group": "parameter_group_example"
} /api/stock/quality-inspection-parameter/{id} Retrieve a quality inspection parameter
Retrieves the details of an existing quality inspection parameter. Supply the unique quality inspection parameter ID that was returned from a previous request.
Path parameters
The identifier of the quality inspection parameter to retrieve.
Returns
Returns the quality inspection parameter object if a valid identifier was provided.
curl https://api.overplane.dev/api/stock/quality-inspection-parameter/quality-inspection-parameter_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "quality-inspection-parameter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parameter": "parameter_example",
"description": "description_example",
"parameter_group": "parameter_group_example"
} /api/stock/quality-inspection-parameter List all quality inspection parameters
Returns a list of quality inspection parameters. 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 quality inspection parameter objects.
curl https://api.overplane.dev/api/stock/quality-inspection-parameter \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "quality-inspection-parameter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parameter": "parameter_example",
"description": "description_example",
"parameter_group": "parameter_group_example"
}
],
"has_more": false,
"total": 1
} /api/stock/quality-inspection-parameter Create a quality inspection parameter
Creates a new quality inspection parameter object.
Body parameters
Returns
Returns the newly created quality inspection parameter object if the call succeeded.
curl https://api.overplane.dev/api/stock/quality-inspection-parameter \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"parameter":"parameter_example"}' {
"id": "quality-inspection-parameter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parameter": "parameter_example",
"description": "description_example",
"parameter_group": "parameter_group_example"
} /api/stock/quality-inspection-parameter/{id} Update a quality inspection parameter
Updates the specified quality inspection parameter by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the quality inspection parameter to update.
Body parameters
Returns
Returns the updated quality inspection parameter object.
curl https://api.overplane.dev/api/stock/quality-inspection-parameter/quality-inspection-parameter_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"parameter":"parameter_example","description":"description_example"}' {
"id": "quality-inspection-parameter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parameter": "parameter_example",
"description": "description_example",
"parameter_group": "parameter_group_example"
} /api/stock/quality-inspection-parameter/{id} Delete a quality inspection parameter
Permanently deletes a quality inspection parameter. This cannot be undone.
Path parameters
The identifier of the quality inspection parameter to delete.
Returns
Returns a confirmation that the quality inspection parameter has been deleted.
curl https://api.overplane.dev/api/stock/quality-inspection-parameter/quality-inspection-parameter_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "quality-inspection-parameter_abc123",
"deleted": true
}