curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/projectTemplates/{projectTemplateUid}/transMemories \
--header 'Content-Type: application/json' \
--data '
{
"transMemories": [
{
"transMemory": {
"id": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 123,
"applyPenaltyTo101Only": true
}
],
"targetLang": "<string>",
"workflowStep": {
"id": "<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/projectTemplates/{projectTemplateUid}/transMemories \
--header 'Content-Type: application/json' \
--data '
{
"transMemories": [
{
"transMemory": {
"id": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 123,
"applyPenaltyTo101Only": true
}
],
"targetLang": "<string>",
"workflowStep": {
"id": "<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
}
]
}Show child attributes
Default: false
Can be set only for Translation Memory with read == true.
Max 2 write TMs allowed per project.
Default: false
Can be set only for penalty == 1
Default: false
Set translation memory only for the specific project template target language
successful operation
Show child attributes
Show child attributes
Show child attributes
SYS_ADMIN, SYS_ADMIN_READ, ADMIN, PROJECT_MANAGER, LINGUIST, GUEST, SUBMITTER, PORTAL_MEMBER Show child attributes
SYS_ADMIN, SYS_ADMIN_READ, ADMIN, PROJECT_MANAGER, LINGUIST, GUEST, SUBMITTER, PORTAL_MEMBER Was this page helpful?