Evaluation criteria
An evaluation criteria represents a criteria that can be used to evaluate a supplier.
The evaluation criteria object
Properties
- idstring- Unique identifier for the object. 
- namestring- The name of the evaluation criteria. 
- descriptionstring- The description of the evaluation criteria. 
- disabledboolean- True if the evaluation criteria is disabled and should not be used. 
evaluation criteria object
{
  "id": "6548c11c5136b418fd626e54",
  "name": "Accuracy of the translation",
  "description": "Did the translation of the supplier contain mistranslations, shifts of meaning, oversights, etc.?",
  "disabled": false
}
List all evaluation criteria
This endpoint allows you to retrieve all the evaluation criteria.
Request
curl -G https://api.lsp.expert/v2/account/evaluation-configurations \
  -u {key}: 
Response
[
  {
    "id": "6548c11c5136b418fd626e54",
    "name": "Accuracy of the translation",
    "description": "Did the translation of the supplier contain mistranslations, shifts of meaning, oversights, etc.?",
    "disabled": false
  },
  {
    "id": "6548c11c5136b418fd626e52",
    "name": "Communication",
    "description": "Did the supplier answer your emails or phone calls on time? Did he/she mention any problems regarding the job or the file(s) on time? Did he/she correctly handle the feedback from you or from the final client?",
    "disabled": false,
  },
  // ...
]
Create a evaluation criteria
This endpoint allows you to add a new evaluation criteria.
Parameters
- namestring Required- The name of the evaluation criteria. 
- descriptionstring- The description of the evaluation criteria. 
Request
curl https://api.lsp.expert/v2/account/evaluation-configurations \
  -u {key}: \
  -d name="Quality of the translation" \
  -d description="Did the translation of the supplier contain mistranslations, shifts of meaning, oversights, etc.?"
Response
{
  "id": "66e7f69da9d8b6741f4a441d",
  "name": "Quality of the translation",
  "description": "Did the translation of the supplier contain mistranslations, shifts of meaning, oversights, etc.?",
}
Update a evaluation criteria
This endpoint allows you to perform an update on a evaluation criteria. Any parameters not provided will be left unchanged.
Parameters
- namestring- The name of the evaluation criteria. 
- descriptionstring,null- The description of the evaluation criteria. 
- disabledboolean- True if the evaluation criteria is disabled and should not be used. 
Request
curl -X PUT https://api.lsp.expert/v2/account/evaluation-configurations/66e7f69da9d8b6741f4a441d \
  -u {key}: \
  -d name="Quality"
Response
{
  "id": "66e7f69da9d8b6741f4a441d",
  "name": "Quality",
  "description": "Did the translation of the supplier contain mistranslations, shifts of meaning, oversights, etc.?",
}
Delete an evaluation criteria
This endpoint allows you to delete a evaluation criteria.
Request
curl -X DELETE https://api.lsp.expert/v2/account/evaluation-configurations/66e7f69da9d8b6741f4a441d \
  -u {key}: