curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/transMemories \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"readTransMemories": [
{
"id": "<string>"
}
],
"writeTransMemories": [
{
"id": "<string>"
}
],
"penalties": [
123
],
"targetLang": "<string>"
}
'{
"transMemories": [
{
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
},
"readMode": true,
"writeMode": true,
"transMemory": {
"id": "<string>",
"uid": "<string>",
"internalId": 123,
"name": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"client": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"businessUnit": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"domain": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"subDomain": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"note": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"owner": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
}
},
"penalty": 123,
"applyPenaltyTo101Only": true
}
]
}curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/transMemories \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"readTransMemories": [
{
"id": "<string>"
}
],
"writeTransMemories": [
{
"id": "<string>"
}
],
"penalties": [
123
],
"targetLang": "<string>"
}
'{
"transMemories": [
{
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
},
"readMode": true,
"writeMode": true,
"transMemory": {
"id": "<string>",
"uid": "<string>",
"internalId": 123,
"name": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"client": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"businessUnit": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"domain": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"subDomain": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"note": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"owner": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
}
},
"penalty": 123,
"applyPenaltyTo101Only": true
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.phrase.com/llms.txt
Use this file to discover all available pages before exploring further.
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Show child attributes
Write translation memory must be included in the read translation memories, too; max 2 write TMs allowed
2Show child attributes
A list of penalties for each read translation memory
Set translation memories only for the specific project target language
Show child attributes
successful operation
Show child attributes
Was this page helpful?