curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/transMemories/{transMemoryUid}/exportByQueryAsync \
--header 'Content-Type: application/json' \
--data '
{
"exportTargetLangs": [
"<string>"
],
"queries": [
"<string>"
],
"queryLangs": [
"<string>"
],
"createdAtMin": "2023-11-07T05:31:56Z",
"createdAtMax": "2023-11-07T05:31:56Z",
"modifiedAtMin": "2023-11-07T05:31:56Z",
"modifiedAtMax": "2023-11-07T05:31:56Z",
"createdBy": {
"id": "<string>"
},
"modifiedBy": {
"id": "<string>"
},
"filename": "<string>",
"project": {
"uid": "<string>"
},
"callbackUrl": "<string>"
}
'{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"acceptedSegmentsCount": 123
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"asyncExport": {
"asyncRequest": {},
"transMemory": {},
"exportTargetLangs": [
"<string>"
],
"queries": [
{
"query": "<string>",
"lang": "<string>"
}
]
}
}Use this API to download result
curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/transMemories/{transMemoryUid}/exportByQueryAsync \
--header 'Content-Type: application/json' \
--data '
{
"exportTargetLangs": [
"<string>"
],
"queries": [
"<string>"
],
"queryLangs": [
"<string>"
],
"createdAtMin": "2023-11-07T05:31:56Z",
"createdAtMax": "2023-11-07T05:31:56Z",
"modifiedAtMin": "2023-11-07T05:31:56Z",
"modifiedAtMax": "2023-11-07T05:31:56Z",
"createdBy": {
"id": "<string>"
},
"modifiedBy": {
"id": "<string>"
},
"filename": "<string>",
"project": {
"uid": "<string>"
},
"callbackUrl": "<string>"
}
'{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"acceptedSegmentsCount": 123
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"asyncExport": {
"asyncRequest": {},
"transMemory": {},
"exportTargetLangs": [
"<string>"
],
"queries": [
{
"query": "<string>",
"lang": "<string>"
}
]
}
}successful operation
Show child attributes
Show child attributes
SYS_ADMIN, SYS_ADMIN_READ, ADMIN, PROJECT_MANAGER, LINGUIST, GUEST, SUBMITTER, PORTAL_MEMBER PRE_ANALYSE, POST_ANALYSE, CONTINUOUS_PRE_ANALYSE, CONTINUOUS_POST_ANALYSE, COMPARE_ANALYSE, PARENT_ANALYSE, PRE_TRANSLATE, ASYNC_TRANSLATE, IMPORT_JOB, IMPORT_FILE, ALIGN, EXPORT_TMX_BY_QUERY, EXPORT_TMX, IMPORT_TMX, IMPORT_MXLF_INTO_TM, IMPORT_TBX, INSERT_INTO_TM, DELETE_TM, CLEAR_TM, QA, QA_V3, UPDATE_CONTINUOUS_JOB, UPDATE_SOURCE, UPDATE_TARGET, EXTRACT_CLEANED_TMS, GLOSSARY_PUT, GLOSSARY_DELETE, CREATE_PROJECT, EXPORT_COMPLETE_FILE, IMPORT_ANNOTATIONS, FILE_FLOW_CONVERTER_IMPORT, FILE_FLOW_MT_PRETRANSLATE, FILE_FLOW_QUALITY_ESTIMATION, AUTO_LQA Show child attributes
Show child attributes
Code, e.g. NOT_FOUND.
Optional human-readable message.
Show child attributes
Code, e.g. NOT_FOUND.
Optional human-readable message.
Was this page helpful?