POST api/translate/batch

Request Information

URI Parameters

None.

Body Parameters

BatchTranslateRequest
NameDescriptionTypeAdditional information
Segments

Collection of BatchSegment

None.

SourceLang

string

None.

TargetLang

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Segments": [
    {
      "Id": 1,
      "source": "sample string 2",
      "table": "sample string 3"
    },
    {
      "Id": 1,
      "source": "sample string 2",
      "table": "sample string 3"
    }
  ],
  "SourceLang": "sample string 1",
  "TargetLang": "sample string 2"
}

application/xml, text/xml

Sample:
<BatchTranslateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unnanu_search_api.Models">
  <Segments>
    <BatchSegment>
      <Id>1</Id>
      <source>sample string 2</source>
      <table>sample string 3</table>
    </BatchSegment>
    <BatchSegment>
      <Id>1</Id>
      <source>sample string 2</source>
      <table>sample string 3</table>
    </BatchSegment>
  </Segments>
  <SourceLang>sample string 1</SourceLang>
  <TargetLang>sample string 2</TargetLang>
</BatchTranslateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.