POST api/Translation/CreateTranslation

Request Information

URI Parameters

None.

Body Parameters

LLRTranslation
NameDescriptionTypeAdditional information
Id

integer

None.

SectionId

integer

None.

MotherLanguageText

string

None.

LearningLanguageText

string

None.

MotherLanguageTextStory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "sectionId": 2,
  "motherLanguageText": "sample string 3",
  "learningLanguageText": "sample string 4",
  "motherLanguageTextStory": "sample string 5"
}

application/xml, text/xml

Sample:
<LLRTranslation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Services.Models">
  <Id>1</Id>
  <LearningLanguageText>sample string 4</LearningLanguageText>
  <MotherLanguageText>sample string 3</MotherLanguageText>
  <MotherLanguageTextStory>sample string 5</MotherLanguageTextStory>
  <SectionId>2</SectionId>
</LLRTranslation>

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.