ApiResource

ApiResource

Represents the properties (but not the contents) of a project memory, translation memory or terminology database.



FORMAT

<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> </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"







Copyright Wordbee - Buzzin' Outside the Box since 2008