resources/segments/view/import
To import segments to a Word, Excel or Xliff file after offline editing.
URL
(POST) /resources/segments/view/import
PARAMETERS
The message body contains a JSON object:
scope | The scope object. It delimits the total range of segments and related resources that can be operated on. | Mandatory, object | |||||||||
settings |
| Mandatory, object |
RESULTS
An Asynchronous operation formatted JSON.
When finished the JSON contains :
custom.filename | The name of file imported | string | ||||||||||||||||||||||||||||||
custom.fileref | The token of the file uploaded for import. | string | ||||||||||||||||||||||||||||||
custom.report |
| object |
{
"trm": {
"requestid":0,
"isbatch":false,
"status":"Finished",
"statusText":"Finished!"
},
"custom":{
"fileref":"d2f9c5c2371d44eb84fe651885f73948",
"filename":"export_editortest1_en_es-es.docx",
"report":{
"isfatal":false,
"fatal":null,
"fatalDetails":null,
"total":33,
"processed":33,
"errors":0,
"changes":1,
"fieldChanges":[
{"type":0,"title":"Spanish (Spain)","count":1}
],
"nochanges":32,
"importExecuted":false,
"importUpdated":1,
"importConflicts":0
}
}
}