Store Translation Unit

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 storeTu
memory  ID of the memory to update
tu  Translation unit to import as TMX <tu> element
Example:
{
    "command": "storeTu",
    "memory": "1617963861912",
    "tu": "<tu tuid=\"1668707130-10-12-12\"> ... </tu>"
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK'. Example:
{
    "status": "OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause. Example:
{
    "status": "Error",
    "reason": "Memory is closed"
}