POST api/Language/Translate

Request Information

URI Parameters

None.

Body Parameters

LanguageApiModel
NameDescriptionTypeAdditional information
Text

string

None.

Texts

Collection of string

None.

Language

Language

None.

TagHandling

string

None.

ClientId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Text": "sample string 1",
  "Texts": [
    "sample string 1",
    "sample string 2"
  ],
  "Language": {
    "Source": "sample string 1",
    "Target": "sample string 2"
  },
  "TagHandling": "sample string 2",
  "ClientId": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LanguageApiModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.