The Quality Goal 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: None
{
"id": "quality-goal_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"frequency": "None",
"procedure": "procedure_example",
"date": "2024-01-15",
"weekday": "weekday_example",
"goal": "goal_example"
} /api/quality_management/quality-goal/{id} Retrieve a quality goal
Retrieves the details of an existing quality goal. Supply the unique quality goal ID that was returned from a previous request.
Path parameters
The identifier of the quality goal to retrieve.
Returns
Returns the quality goal object if a valid identifier was provided.
curl https://api.overplane.dev/api/quality_management/quality-goal/quality-goal_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "quality-goal_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"frequency": "None",
"procedure": "procedure_example",
"date": "2024-01-15",
"weekday": "weekday_example",
"goal": "goal_example"
} /api/quality_management/quality-goal List all quality goals
Returns a list of quality goals. 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 goal objects.
curl https://api.overplane.dev/api/quality_management/quality-goal \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "quality-goal_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"frequency": "None",
"procedure": "procedure_example",
"date": "2024-01-15",
"weekday": "weekday_example",
"goal": "goal_example"
}
],
"has_more": false,
"total": 1
} /api/quality_management/quality-goal Create a quality goal
Creates a new quality goal object.
Body parameters
Default: None
Returns
Returns the newly created quality goal object if the call succeeded.
curl https://api.overplane.dev/api/quality_management/quality-goal \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"goal":"goal_example"}' {
"id": "quality-goal_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"frequency": "None",
"procedure": "procedure_example",
"date": "2024-01-15",
"weekday": "weekday_example",
"goal": "goal_example"
} /api/quality_management/quality-goal/{id} Update a quality goal
Updates the specified quality goal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the quality goal to update.
Body parameters
Default: None
Returns
Returns the updated quality goal object.
curl https://api.overplane.dev/api/quality_management/quality-goal/quality-goal_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"frequency":"None","procedure":"procedure_example"}' {
"id": "quality-goal_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"frequency": "None",
"procedure": "procedure_example",
"date": "2024-01-15",
"weekday": "weekday_example",
"goal": "goal_example"
} /api/quality_management/quality-goal/{id} Delete a quality goal
Permanently deletes a quality goal. This cannot be undone.
Path parameters
The identifier of the quality goal to delete.
Returns
Returns a confirmation that the quality goal has been deleted.
curl https://api.overplane.dev/api/quality_management/quality-goal/quality-goal_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "quality-goal_abc123",
"deleted": true
} Line items
Child objects that belong to this quality goal. These are accessed via the parent's ID.
Quality Goal Objective
Attributes
Endpoints
/api/quality_management/quality-goal-objective?parent_id={id} /api/quality_management/quality-goal-objective /api/quality_management/quality-goal-objective/{id} /api/quality_management/quality-goal-objective/{id} /api/quality_management/quality-goal-objective/reorder {
"id": "quality-goal-objective_abc123",
"idx": 1,
"quality_goal_id": "quality_goal_id_example",
"objective": "objective_example",
"target": "target_example",
"uom": "uom_example"
}