POST api/correspondence/translate/public/review
Перевод одного отзыва (text=GB_Info, type="review") или одного ответа продавца (text=Comment, type="review-comment").
Request Information
URI Parameters
None.
Body Parameters
TranslateReviewRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Responses.ID_R - идентификатор отзыва. |
integer |
None. |
| id_d |
Responses.Good - товар, к которому привязан отзыв. |
integer |
None. |
| lang |
Целевой язык togezza ("russian"/"english"). |
string |
None. |
| type |
"review" (отзыв покупателя) или "review-comment" (ответ продавца). |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"id_d": 2,
"lang": "sample string 3",
"type": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<TranslateReviewRequest> <id>1</id> <id_d>2</id_d> <lang>sample string 3</lang> <type>sample string 4</type> </TranslateReviewRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.