POST quotations
Returns a list of quotations.
- Details described here
from_locale
(required) - the locale to be translated from, default base locale of the projectto_locales
(required) - locale ids to be translated to, comma separated e.g.'en-US,fr-FR,zh-TW'
, please refer to GET localesitems
(required) - strings to be translated, format reference herespecialization
(optional) - code of project specialization such asgame
, defaultgeneral
, please refer to GET specializations
Request
POST https://plugin.api.onesky.io/1/projects/:project_id/quotations
Response
{
"quotations": [
{
"words": 2013,
"from_language": {
"code": "en-US",
"english_name": "English (United States)",
"local_name": "English (United States)",
"locale": "en",
"region" : "US"
},
"to_language": {
"code": "ja-JP",
"english_name": "Japanese",
"local_name": "日本語",
"locale": "ja",
"region" : "JP"
},
"translation": {
"per_word_cost": "0.01",
"total_cost": "20.13",
"estimated_return_datetime": "2013-01-01T23:00:00+0000",
"estimated_return_timestamp": 13453435132,
"estimated_seconds_from_now": 1234567
},
"translation_and_review": {
"per_word_cost": "0.02",
"total_cost": "40.26",
"estimated_return_datetime": "2013-01-02T23:00:00+0000",
"estimated_return_timestamp": 1357167600,
"estimated_seconds_from_now": 2345678
}
},
{
"words": 2013,
"from_language": {
"code": "en-US",
"english_name": "English (United States)",
"local_name": "English (United States)",
"locale": "en",
"region" : "US"
},
"to_language": {
"code": "ko-KR",
"english_name": "Korean",
"local_name": "한국어",
"locale": "ko",
"region" : "KR"
},
"translation": {
"per_word_cost": "0.01",
"total_cost": "20.13",
"estimated_return_datetime": "2013-01-01T23:00:00+0000",
"estimated_return_timestamp": 13453435132,
"estimated_seconds_from_now": 1234567
},
"translation_and_review": {
"per_word_cost": "0.02",
"total_cost": "40.26",
"estimated_return_datetime": "2013-01-02T23:00:00+0000",
"estimated_return_timestamp": 1357167600,
"estimated_seconds_from_now": 2345678
}
}
]
}