Import Bulk Translation File

POST https://{{vaultDNS}}/api/{{version}}/messages/:{message_type}/actions/import

https://developer.veevavault.com/api/24.2/#ImportBulkTranslation

Import a bulk translation file into Vault. While an exported bulk translation file can contain only one (1) language, your import file may include multiple languages. Vault reads the language value separately for each row and applies any new translations immediately. Vault ignores any rows without changes. Learn more about the translation file schema in Vault Help.

You must have the Admin: Language: Edit permission to import a bulk translation file to Vault.

Upload the CSV file to your Vault’s file staging server before making this request.

  • The maximum CSV input file size is 1GB.
  • The values in the input must be UTF-8 encoded.
  • CSVs must follow the standard RFC 4180 format, with some exceptions.

Response Details

On SUCCESS, the response includes the job_id which allows you to:

Response

{
    "responseStatus": "SUCCESS",
    "data": {
        "url": "/api/v24.2/services/jobs/902601",
        "jobId": "902601"
    }
}

Request Body

[{"name"=>"file_path", "value"=>"", "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring