• Show convenient version of this site
  • Deutsch
  • English
Contact
Newsletter
  • Products
    • ALS
      • Across Language Server
        • Translation Management
        • Terminology Management
        • Translation Memory
      • Editions
      • Interfaces
    • ATE
      • Across Translator Edition
      • Editions
      • Download
      • Across Account
    • Elanion
      • Overview
      • Login
  • Solutions
    • Customers
      • Enterprises
      • Language Service Providers
      • Translators
    • Industries
      • E-Commerce & Trade
      • Pharmaceuticals & medicine
      • IT & Software
    • Departments
      • Marketing & E-Commerce
      • Technical Documentation
      • Software User Interfaces
  • Services
    • Hosting
    • Training
    • Consulting
  • Partners
    • Language Service Providers
    • Universities
  • Company
    • Across Systems
    • News
    • Events
    • Career
    • Contact
  • Knowledge
    • Blog
    • Video Library
    • Case Studies
    • White Papers
    • Fact Sheets
    • File Formats
    • Expert Features
  • Support
    • Online Help
    • FAQ
    • Support Request
    • Updates
    • New Functions
Schedule Consultation
  • Online-Help
  • SDK
  • APIs
  • crossAPI SI
  • List of Objects in crossAPI SI
  • WanGridManager - Overview
  • Part 2
  • General Information
    • Connectors
    • LCIDs
    • GUIDs
    • Paragraph states and flags
    • crossTerm Web
    • crossTransform
      • crossTransform - examples
  • Connecting Third-party Systems
    • crossConnect for content systems
      • Requirements
      • Configuration
        • Configuring the connector
        • Job configuration
        • Testing crossConnect
      • Troubleshooting
    • crossConnect for External Editing
      • Purpose and usage
        • Use case - Machine translation
        • Use Case - Review and QA
        • Use case - Machine review
      • Requirements
      • Implementation
        • Across XLIFF format
          • Across-specific Extensions
          • <xliff> Element Attributes
          • <file> Element Extensions
          • <trans-unit> Element Extension
          • Paragraph States
          • Paragraph State Flags
          • <source> and <target> Element Content
          • <bpt> Element Attributes
          • <ph> Element Attributes
          • <x> Element Attributes
          • Across-specific Properties
          • Analysis Results
          • Sample Files
          • Across XLIFF - import, export and segmentation
          • Context information
          • Exporting best matches in Across XLIFF
          • Hyperlinks to XLIFF
        • Secure file handling with C#
        • Secure file handling with JAVA
        • Workflow and vendor configuration
          • Adding workflows to crossAutomate Host Manager
          • Adjusting preset watchfolders
          • The filter rules
          • External editing workflows
        • Sample code - Integrated solution
    • Generic File Connector
      • Process Overview
      • Exchange Folder Structure
      • Package Format
        • Control File
  • Display Texts
    • Solution approaches
    • The Across solution in detail
    • Requirements
    • Integration
    • The display text format
      • Line height vs. line spacing
      • DT-XML format structure
        • DT-XML - Main elements
        • Children of paragraphStyles and characterStyles
        • Children of the sizeInfos element
        • Children of the paragraph element
        • DT-XML v5 example
        • DT-XML v4 example
    • The display text package
      • Creating a display text package
  • APIs
    • APIs - Technology
    • crossTank API v1
      • Requirements
      • Testing the crossTank API installation
      • OData-URLs in Chrome
      • Example
    • crossTank API v2
      • Requirements
      • QuickStart
        • Searching for Translations
        • Creating Translations
      • crossTank API v2 Overview
        • Finding Translations
        • Creating Translations
        • Translation Properties
        • Formatting and Auto-Adjustment of Formatting and Numbers
      • C# Example
    • crossTerm API v1
      • Scenarios of use
        • Example - usage information
        • Example - finding terms
      • Requirements
      • Special Controllers
      • OData-URLs in Chrome
      • crossTerm API with C#
      • crossTerm API with Java
      • crossTerm API with JavaScript
    • crossTerm API v2
      • Requirements
      • QuickStart
        • Authentication Basics
        • First Request Examples
      • crossTerm API v2 Example in C#
        • Used Functions
      • crossTank API, crossTerm API v2 - Authentication
      • crossTerm API v2 - Examples of Use
        • Finding Terms of Entry
        • Searching Terminology via API
    • crossAPI SI
      • Requirements
      • Function Return Types
      • crossAPI SI and Java
        • Example: hot integration
        • Executing the hot integration example
      • List of Objects in crossAPI SI
        • AssignManager
        • Authorization
        • CheckInManager
        • CheckOutManager
        • CrossTankManager
        • CrossTermManager
        • DocumentManager
        • FileManager
        • LanguageJobManager
        • LanguageManager
        • LicenseManager
        • Message
        • ObjectManager - Overview
          • Part 1
          • Part 2
          • Part 3
        • ReportManager
          • ID values for analysis and analysis-result
        • ProjectManager - Overview
          • Part 1
          • Part 2
          • Attribute Information
        • SqlQuery
        • SystemManager
        • TaskManager
        • WanGridManager - Overview
          • Part 1
          • Part 2
      • Sample - transferring checkout files via FileManager
      • Sample - VBS
    • Text Preprocessing API
      • Introduction
      • How to browse the API
      • Sentence splitting
      • Abbreviations

WanGridManager - Part 2

WanGridManager.GetListOfUnimportedOfflinePackages

Returns a list of all not imported offline packages.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
string
An XML structure that contains the data of the unimported packages:
<?xmlversion="1.0"encoding="UTF-16"?><packages><packageGUID="[GUID of the package]"type="[crossTank|crossTerm]"project="[local project name]"projectGUID="[GUID of the project the package belongs to]"document="[local document name]"documentGUID="[GUID of the document the package belongs to]"creationDate="[the creation date of the package]"creator="[name of the trusted server or WAN user that created the package]"creatorGUID="[The GUID of the creator]"projectManagerGUID="[The GUID of the project manager]"/></packages>

WanGridManager.GetListOfUnimportedOfflinePackagesForDocument

Returns the list of the unimported offline packages for the specified document.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
DocumentGuid
The GUID of the document.

Return Values

Result
Type/Value
Interpretation
Success
string
The list of unimported offline packages.
Error
16
Document does not exist.

WanGridManager.GetListOfUnimportedOfflinePackagesForLanguage

Returns the list of the unimported packages for specified document in a specified language.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
DocumentGuid
The GUID of the document.
3
int
LanguageLcid
The LCID of the language.

Return Values

Result
Type/Value
Interpretation
Success
string
The list of unimported offline packages.
Error
15
Language does not exist.
Error
16
Document does not exist.

WanGridManager.GetListOfUnimportedOfflinePackagesForProject

Returns a list of unimported offline packages for a specified project.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
ProjectGuid
The GUID of the project.

Return Values

Result
Type/Value
Interpretation
Success
string
The list of unimported offline packages.
Error
19
Project does not exist.

WanGridManager.GetMasterServers

Returns the GUIDs of the Master Servers registered in the system.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
string
An array of the server GUIDs of the Master Servers.

WanGridManager.GetMasterServersCSV

Returns the GUIDs of the master servers registered in the system.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
string
The server GUIDs of the Master Servers, separated by semicolons.

WanGridManager.GetPackageGuidByJobGuid

Returns the GUID of the package associated with the supplied job.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
JobGuid
The GUID of the job.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the package.
Error
17
Job does not exist.
Error
21
Job has been canceled.

WanGridManager.GetPackageGuidsByName

Returns the GUIDs of all crossGrid packages with the supplied name.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
Name
The name of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUIDs of all packages with the supplied name.
Error
53
Task does not exist.

WanGridManager.GetPackageGuidsByNameCSV

Returns the GUIDs of all crossGrid packages with the supplied name.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
Name
The name of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUIDs of all packages with the supplied name as a list of semicolon-separated GUIDs.
Error
53
Task does not exist.

WanGridManager.GetPackageNameByGuid

Returns the name of a crossGrid package by its GUID.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The name of the crossGrid package.
Error
53
Task does not exist.

WanGridManager.GetResetcTaAttributes

Gets whether the attributes should be removed when importing offline packages.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
bool
Returns true|false if ProjectAttribute is true|false, true|false if RelationAttribute is true|false, true|false if SubjectAttribute is true|false.

WanGridManager.GetServerContextGuidsByName

Returns the server context GUIDs of the specified server context name.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
ContextName
The name of the server context (corresponds with the complete server name as displayed in UI).

Return Values

Result
Type/Value
Interpretation
Success
string
Returns the GUIDs of the server context.
Error
152
The Server Context does not exist.

WanGridManager.GetServerContextGuidsByNameCSV

Returns the server context GUIDs of the specified server context name as a list of semi-colon separated values.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
ContextName
The name of the server context (corresponds with the complete server name as displayed in UI).

Return Values

Result
Type/Value
Interpretation
Success
string
Returns the GUIDs of the server context as semicolon-separated values.
Error
152
The Server Context does not exist.

WanGridManager.GetServerContextNameByGuid

Returns the server context name.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
ContextGuid
The GUID of the server context.

Return Values

Result
Type/Value
Interpretation
Success
string
Returns the server context name (corresponds with the complete server name as displayed in the Across client).
Error
152
The Server Context does not exist.

WanGridManager.GetTaskGuidByJobGuid

Returns the GUID of a task according to the GUID of a currently running job.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
JobGuid
The GUID of the job.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the task.
Error
17
Job does not exist.
Error
21
Job has been canceled.

WanGridManager.GetTaskGuidsFromCWU

Returns the GUIDs of the tasks inside the specified CWU or CRU file.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PacketPath
The path of the file from which the list of contained tasks should be returned.

Return Values

Result
Type/Value
Interpretation
Success
string
An array of the GUIDs of the tasks inside the specified CWU.
Error
71
File not found.
Error
100
Cannot retrieve CWU tasks.

WanGridManager.GetTaskGuidsFromCWUCSV

Returns the GUIDs of the tasks inside the specified CWU.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PacketPath
The path of the file from which the list of contained tasks should be returned.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUIDs of the tasks inside the specified CWU, separated by semicolons.
Error
71
File not found.
Error
100
Cannot retrieve CWU tasks.

WanGridManager.GetTaskGuidsOfPackage

Returns the GUIDs of the tasks in a package.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
string[]
The GUIDs of the tasks in the package.
Error
53
Task does not exist.
Error
175
Cannot activate all projects.

WanGridManager.GetTaskGuidsOfPackageCSV

Returns the GUIDs of the tasks in a package as semicolon-separated values.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUIDs of the tasks in the package as semicolon-separated values.
Error
53
Task does not exist.
Error
175
Cannot activate all projects.

WanGridManager.GetTrustedServers

Returns the GUIDs of the Trusted Servers registered in the system.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
string
An array of the server GUIDs of the Trusted Servers.

WanGridManager.GetTrustedServersCSV

Returns the GUIDs of the Trusted Servers registered in the system.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.

Return Values

Result
Type/Value
Interpretation
Success
string
The server GUIDs of the Trusted Servers, separated by semicolons.

WanGridManager.ImportCrossGridClassicByMasterServerAsync

Imports the GRU from a Trusted Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PacketPath
The filename of the GRU to import.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the created job.
Error
18
Unable to create job.

WanGridManager.ImportCrossGridClassicByTrustedServerAsync

Imports the GWU from a Master Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PacketPath
The filename of the GWU to import.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the created job.
Error
18
Unable to create job.

WanGridManager.ImportCrossGridPackage

Imports the crossTank and crossTerm packages contained in the crossGrid package on the Master Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.

WanGridManager.ImportCrossGridPackageAsync

Imports the crossTank and crossTerm packages contained in the crossGrid package on the Master Server as a crossAPI job.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the created job.
Tip

Progress queries can be carried out via GetJobProgress. Status queries can be carried out via the GetJobStatus function.

WanGridManager.ImportCrossWanClassic

Imports the CRU file from an offline user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
TaskGuid
GUID of the task.
3
string
PacketPath
The path of the CRU. The user account under which the crossAPI service runs needs to have access to this directory.
4
bool
ImportCrossTank
Whether the crossTank contents of the package should be imported.
5
bool
ImportCrossTerm
Whether the crossTerm contents of the package should be imported.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
53
Task does not exist.
Error
55
Unable to import crossWAN packages.

WanGridManager.ImportCrossWanClassic2

Imports the CRU file from an offline user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
TaskGuids
The GUIDs of the tasks inside the CRU that should be imported. Separated by semicolons.
3
string
PacketPath
The path of the CRU. The user account under which the crossAPI service runs needs to have access to this directory.
4
bool
ImportCrossTank
Whether the crossTank contents of the package should be imported.
5
bool
ImportCrossTerm
Whether the crossTerm contents of the package should be imported.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
53
Task does not exist.
Error
55
Unable to import crossWAN packages.
Error
102
Cannot import project.

WanGridManager.ImportCrossWanClassicAsync

Imports the CRU file from an offline user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
TaskGuid
GUID of the task.
3
string
PacketPath
The path of the CRU. The user account under which the crossAPI service runs needs to have access to this directory.
4
bool
ImportCrossTank
Whether the crossTank contents of the package should be imported.
5
bool
ImportCrossTerm
Whether the crossTerm contents of the package should be imported.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the import job.
Error
18
Unable to create job.
Error
53
Task does not exist.

WanGridManager.ImportCrossWanClassicAsync2

Imports the CRU file from an offline user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
TaskGuids
The GUIDs of the tasks inside the CRU that should be imported. Separated by semicolons.
3
string
PacketPath
The path of the CRU. The user account under which the crossAPI service runs needs to have access to this directory.
4
bool
ImportCrossTank
Whether the crossTank contents of the package should be imported.
5
bool
ImportCrossTerm
Whether the crossTerm contents of the package should be imported.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the import job.
Error
18
Unable to create job.
Error
53
Task does not exist.

WanGridManager.ImportExchangeData

Imports an MDB file into the Across database.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
FilePath
The path to the file that contains the data to import.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
75
Cannot import exchange data.

WanGridManager.ImportOfflinePackage

Imports an offline package containing either crossTank or crossTerm entries from an offline user or a Trusted Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
145
crossTank/crossTerm package does not exist.
Error
146
Cannot import crossTank/crossTerm package.

WanGridManager.ImportOfflinePackageAsync

Asynchronously imports an offline package containing either crossTank or crossTerm entries from an offline user or a trusted server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
string
The GUID of the import job.
Error
18
Unable to create job.
Error
145
crossTank/crossTerm package does not exist.

WanGridManager.MigrateExchangeData

Migrates crossWAN/crossGrid packets from a newer version to an older and vice versa.

Parameters

 
Type
Name
Description
1
string
FilePath
The path to the crossGrid or crossWAN package to migrate.
2
int
DBVersion
The version of the database into which the data should be converted.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
84
Cannot adjust DB.
Error
86
Exchange database (CWU/CRU) migration is not supported.

WanGridManager.RemoveOfflinePackage

Removes an offline package.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
145
crossTank/crossTerm package does not exist.
Error
153
Cannot remove crossTank/crossTerm package.

WanGridManager.SetResetcTaAttributes

Sets whether the attributes should be removed when importing offline packages.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
bool
RemoveProjectAttribute
Specifies whether to remove the corresponding attribute or not.
3
bool
RemoveRelationAttribute
Specifies whether to remove the corresponding attribute or not.
4
bool
RemoveSubjectAttribute
Specifies whether to remove the corresponding attribute or not.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
120
Cannot change settings.

WanGridManager.UploadGridPackage

Uploads the specified crossGrid package to the Master Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.
3
bool
ExportCrossTank
Specifies whether corresponding crossTank entries should also be included in the package.
4
bool
ExportCrossTerm
Specifies whether corresponding crossTerm entries should also be included in the package.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
53
Task does not exist.
Error
133
Cannot upload server task.

WanGridManager.UploadGridPackageAsync

Uploads the specified crossGrid package to the Master Server.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
PackageGuid
The GUID of the package.
3
bool
ExportCrossTank
Specifies whether corresponding crossTank entries should also be included in the package.
4
bool
ExportCrossTerm
Specifies whether corresponding crossTerm entries should also be included in the package.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
18
Unable to create job.
Error
53
Task does not exist.
Error
133
Cannot upload server task.
Register for our Newsletter now

Our newsletter provides you with exclusive news about the Across Language Server, often even before the official announcement. The newsletter also provides you with early information on events, webinars, and training sessions.

  • Legal Notice
  • GTC
  • Privacy Statement
  • Cookies
  • info@across.net