Import a translation file of a specific language and a specific file type

POST https://api.walkme.com/public/v2/systems/{SYSTEM_GUID}/languages/{LANGUAGE_GUID}/import


Note
For default language, LANGUAGE_GUID=”default” can be used.
Before you issue a request, make sure to convert the file content to base64.

XLIFF_STRICT
File type gives ability to validate xml against Walkme XLIFF Schema extension.

Response
As a response, you will get the Job State Object back.


PATH PARAMS


SYSTEM_GUID String

System GUID in the format of (8,4,4,4,12): XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

LANGUAGE_GUID String

Language GUID in the format of (8,4,4,4,12): XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX


BODY PARAMS

fileName String Required

The name of the file

fileContent String Required

The content of the file converted to base64

fileType String Required

The file type to be imported. Supported file types: XLIFF, XLIFF_STRICT*, XLSX, RESJSON


Example:
https://api.walkme.com/public/v2/systems/{00000000-0000-0000-0000-000000000000}/languages/{00000000-0000-0000-0000-000000000000}/import

{
   "fileName":"123423423-En234423.xlsx",
   "fileContent":"UEsDBAo………AAAAIAAA=",
   "fileType":"XLSX"
}
curl --location --request POST 'https://api.walkme.com/public/v2/systems/<system_guid>/languages/<language_guid>/import' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fileName": "1637181739076_stort_346086.xliff",
    "fileType": "XLIFF",
    "fileContent": "<content>"
}'
<Job State Oblect>