Import File

End point: [RemoteTM URL]/memories
Send a POST request with these headers:
Header Value
Session  The ticket received from Authorization Request
Content-Type application/json
Include these parameters in a JSON body:
Parameter Value
command importTMX
memory  ID of the memory to populate
file  Value of the "file" field received when uploading a TMX file
project  Optional description of a related project
subject  Optional description of the related subject
client  Optional description of a related client
close 
Boolean value indicating wether the memory should be closed after
importing the TMX file.
Example:
{
   "command": "importTMX",
   "memory": "1617053861912",
   "file": "uploaded.tmx",
   "project": "Book Translation",
   "subject": "Chapter One",
   "client": "",
   "close": true
}
RemoteTM imports the TMX file into the selected memory and sends an email with import results to the session owner.