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
}

GET/v2/account/evaluation-configurations

List all evaluation criteria

This endpoint allows you to retrieve all the evaluation criteria.

Request

GET
/v2/account/evaluation-configurations
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,
  },
  // ...
]

POST/v2/account/evaluation-configurations

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

POST
/v2/account/evaluation-configurations
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.?",
}


PUT/v2/account/evaluation-configurations/:id

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

PUT
/v2/account/evaluation-configurations/:id
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/v2/account/evaluation-configurations/:id

Delete an evaluation criteria

This endpoint allows you to delete a evaluation criteria.

Request

DELETE
/v2/account/evaluation-configurations/66e7f69da9d8b6741f4a441d
curl -X DELETE https://api.lsp.expert/v2/account/evaluation-configurations/66e7f69da9d8b6741f4a441d \
  -u {key}: