Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<ApiResource>
<ContentType_>1</ContentType_>
<ContentType_>Documents</ContentType_>
<Locales>
<TupleOfstringboolean xmlns="http://schemas.datacontract.org/2004/07/System">
<m_Item1>String content</m_Item1>
<m_Item2>true</m_Item2>
</TupleOfstringboolean>
<TupleOfstringboolean xmlns="http://schemas.datacontract.org/2004/07/System">
<m_Item1>String content</m_Item1>
<m_Item2>true</m_Item2>
</TupleOfstringboolean>
</Locales>
<Name>String content</Name>
<RatingPriority>2147483647</RatingPriority>
<ResourceId>2147483647</ResourceId>
<Domains>
<TupleOfintstring xmlns="http://schemas.datacontract.org/2004/07/System">
<m_Item1>2147483647</m_Item1>
<m_Item2>String content</m_Item2>
</TupleOfintstring>
<TupleOfintstring xmlns="http://schemas.datacontract.org/2004/07/System">
<m_Item1>2147483647</m_Item1>
<m_Item2>String content</m_Item2>
</TupleOfintstring>
</Domains>
<Indexes>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
</Indexes>
</ApiResource>

...


PROPERTIES

ContentType_

Any of these values:

1 - Resource is a project memory, i.e. this resource represents the source segments and translations of a project

2 - Resource is a translation memory

3 - Resource is a terminology database

Locales

Lists all the languages of the resource:

m_Item1 is the language

m_Item2 is true if the language is a source language

A resource can have any number of languages and multiple source languages.

Name

The resource name

RatingPriority

A value between 1 and 5. 5 is best.

ResourceId

Unique resource identifier

Domains

Information included when requesting details for a specific resource only

Lists all the domains of the resource.

m_Item1 is the unique domain id

m_Item2 is the domain's name. Example: "Technical" or "Legal"

Indexes

Information included when requesting details for a specific resource only

 

Lists the languages for which a search index was created. Typically you would create indexes for the source languages.

Wordbee Translator can only conduct pre-translation or fuzzy matches for indexed languages.