Translation Memory

Import TM

Required scopes: tm (Read and Write).

post/tms/{tmId}/imports

Request

Path parameters

tmIdinteger required

TM Identifier. Get via List TMs

Request body

storageIdinteger required

Storage Identifier. Get via List Storages

Supported file formats:

  • TMX
  • CSV
  • XLS/XLSX

See TMX 1.4b Specification

firstLineContainsHeaderboolean

Defines whether file includes first row header that should not be imported

Note: Used for upload of CSV or XLS/XLSX files only

schemeTmLanguageScheme

Defines data columns mapping. The passed value should be an associative array containing both language id and column number:

  • {languageId} – Crowdin id for the specified language. Get via List Supported Languages
  • {columnNumber} – a column number. Please note, that column numbering starts at 0

Note: Required for CSV or XLS/XLSX files

Example request

{
  "scheme": {
    "en": 0,
    "de": 1,
    "pl": 2,
    "uk": 4
  }
}

Response

TM import was successfully started

Example response

{
  "data": {
    "identifier": "b5215a34-1305-4b21-8054-fc2eb252842f",
    "status": "created",
    "attributes": {
      "tmId": 10,
      "storageId": 28,
      "firstLineContainsHeader": true,
      "scheme": {
        "de": 2
      }
    },
    "createdAt": "2019-09-23T11:51:08+00:00",
    "updatedAt": "2019-09-23T11:51:08+00:00",
    "startedAt": "2019-09-23T11:51:08+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.