API 1.0 / Orders

POST /orders/:identifier/ratings

Rate an order

This method has the URL https://api.toptranslation.com/v1/orders/:identifier/ratings and creates and returns a rating object for the order.

Required arguments

access_token
Token to authenticate a user.
String
identifier
Unique identifier of the order.
String
response_time
How well was the response time in communication (1..5)
Integer
consulting
How well was the consultantency during the order (1..5)
Integer
consistency
How consistent were the translations (1..5)
Integer
terminology
How close did the translators stick to a given terminology (1..5)
Integer
style
How satisfying was the style of the translation (1..5)
Integer
quality
How satisfying was the overall quality of the translation (1..5)
Integer

Optional arguments

comment
Any other comment regarding the translation or the order process
Text

Response

Returns an rating object.

{
  meta: {
    status: 20x
  },
  data: {
    response_time: 5,
    consulting: 5,
    consistency: 4,
    terminology: 5,
    style: 4,
    quality: 5,
    comment: 'Great job, thanks!',
    created_at: '2015-12-29 12:23:45'
  }
}

Errors

403 - User not authenticated
User is not allowed to access the resource or execute the method.
404 - Order not found
Order was not found or is not shared with user