http://api.microsofttranslator.com/V2
AddTranslationArray Element
http://api.microsofttranslator.com/V2 : AddTranslationArray Element
Namespace http://api.microsofttranslator.com/V2
Diagram
User Element Uri Element State Element ReservedFlags Element ProfanityAction Element IncludeMultipleMTAlternatives Element GenderTo Element GenderFrom Element ContentType Element Category Element Sequence options Element to Element from Element TranslatedText Element Sequence Element Rating Element OriginalText Element Sequence Translation Element Sequence translations Element appId Element Sequence AddTranslationArray Element
Overview
Sequence
appId optional xs:string
A string containing "Bearer" + " " + access token.
translations optional ArrayOfTranslation Complex Type
An array of translations to add to translation memory. Each translation must contain: originalText, translatedText, rating. The size of each originalText and translatedText is limited to 1000 chars. The total of all the originalText(s) and translatedText(s) must not exceed 10000 characters. The maximum number of array elements is 100.
Sequence
Sequence
OriginalText xs:string
Original text that was matched for this result. Only returned if the matched original text was different than the input text. Used to return the source text of a fuzzy match. Not returned for Microsoft Translator results.
Rating optional xs:int
Indicates the authority of the person making the quality decision. Machine Translation results will have a rating of 5. Anonymously provided translations will generally have a rating of 1 to 4, whilst authoritatively provided translations will generally have a rating of 6 to 10.
Sequence optional xs:int
TranslatedText xs:string
The translated text.
from optional xs:string
A string containing the language code of the source language. Must be a valid culture name.
to optional xs:string
A string containing the language code of the target language. Must be a valid culture name.
options optional TranslateOptions Complex Type

A set of options. TranslateOptions contain: uri, category, contentType, user.

Sequence
Category optional xs:string
A string containing the category (domain) of the translation. Defaults to "general".
ContentType optional xs:string
A string containing the type of content. Either "text/html" or "text/plain". Defaults to "text/plain".
GenderFrom optional xs:string
GenderTo optional xs:string
IncludeMultipleMTAlternatives optional xs:boolean
ProfanityAction optional xs:string
ReservedFlags optional xs:string
State optional xs:string
User state to help correlate request and response. The same contents will be returned in the response.
Uri optional xs:string
A string containing the content location of this translation.
User optional xs:string
A string used to track the originator of the submission.
Source
<xs:element name="AddTranslationArray" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="translations" nillable="true" type="q10:ArrayOfTranslation" xmlns:q10="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
      <xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="options" nillable="true" type="q11:TranslateOptions" xmlns:q11="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
http://api.microsofttranslator.com/V2