The Supplier Scorecard 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: Per Month
Default: {total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
{
"id": "supplier-scorecard_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"supplier": "supplier_example",
"supplier_score": "supplier_score_example",
"indicator_color": "indicator_color_example",
"status": "draft",
"period": "Per Month",
"weighting_function": "{total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )",
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee": "employee_example"
} /api/buying/supplier-scorecard/{id} Retrieve a supplier scorecard
Retrieves the details of an existing supplier scorecard. Supply the unique supplier scorecard ID that was returned from a previous request.
Path parameters
The identifier of the supplier scorecard to retrieve.
Returns
Returns the supplier scorecard object if a valid identifier was provided.
curl https://api.overplane.dev/api/buying/supplier-scorecard/supplier-scorecard_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "supplier-scorecard_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"supplier": "supplier_example",
"supplier_score": "supplier_score_example",
"indicator_color": "indicator_color_example",
"status": "draft",
"period": "Per Month",
"weighting_function": "{total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )",
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee": "employee_example"
} /api/buying/supplier-scorecard List all supplier scorecards
Returns a list of supplier scorecards. 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 supplier scorecard objects.
curl https://api.overplane.dev/api/buying/supplier-scorecard \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "supplier-scorecard_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"supplier": "supplier_example",
"supplier_score": "supplier_score_example",
"indicator_color": "indicator_color_example",
"status": "draft",
"period": "Per Month",
"weighting_function": "{total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )",
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee": "employee_example"
}
],
"has_more": false,
"total": 1
} /api/buying/supplier-scorecard Create a supplier scorecard
Creates a new supplier scorecard object.
Body parameters
Default: Per Month
Default: {total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
Returns
Returns the newly created supplier scorecard object if the call succeeded.
curl https://api.overplane.dev/api/buying/supplier-scorecard \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" {
"id": "supplier-scorecard_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"supplier": "supplier_example",
"supplier_score": "supplier_score_example",
"indicator_color": "indicator_color_example",
"status": "draft",
"period": "Per Month",
"weighting_function": "{total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )",
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee": "employee_example"
} /api/buying/supplier-scorecard/{id} Update a supplier scorecard
Updates the specified supplier scorecard by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the supplier scorecard to update.
Body parameters
Default: Per Month
Default: {total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )
Default: false
Default: false
Default: false
Default: false
Default: false
Default: false
Returns
Returns the updated supplier scorecard object.
curl https://api.overplane.dev/api/buying/supplier-scorecard/supplier-scorecard_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"supplier":"supplier_example","supplier_score":"supplier_score_example"}' {
"id": "supplier-scorecard_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"supplier": "supplier_example",
"supplier_score": "supplier_score_example",
"indicator_color": "indicator_color_example",
"status": "draft",
"period": "Per Month",
"weighting_function": "{total_score} * max( 0, min ( 1 , (12 - {period_number}) / 12) )",
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee": "employee_example"
} /api/buying/supplier-scorecard/{id} Delete a supplier scorecard
Permanently deletes a supplier scorecard. This cannot be undone.
Path parameters
The identifier of the supplier scorecard to delete.
Returns
Returns a confirmation that the supplier scorecard has been deleted.
curl https://api.overplane.dev/api/buying/supplier-scorecard/supplier-scorecard_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "supplier-scorecard_abc123",
"deleted": true
} Line items
Child objects that belong to this supplier scorecard. These are accessed via the parent's ID.
Supplier Scorecard Scoring Standing
Attributes
Endpoints
/api/buying/supplier-scorecard-scoring-standing?parent_id={id} /api/buying/supplier-scorecard-scoring-standing /api/buying/supplier-scorecard-scoring-standing/{id} /api/buying/supplier-scorecard-scoring-standing/{id} /api/buying/supplier-scorecard-scoring-standing/reorder {
"id": "supplier-scorecard-scoring-standing_abc123",
"idx": 1,
"supplier_scorecard_id": "supplier_scorecard_id_example",
"standing_name": "standing_name_example",
"standing_color": "standing_color_example",
"min_grade": 0,
"max_grade": 0,
"warn_rfqs": false,
"warn_pos": false,
"prevent_rfqs": false,
"prevent_pos": false,
"notify_supplier": false,
"notify_employee": false,
"employee_link": "employee_link_example"
}