Path Parameters
Body
application/json
Response
OK
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v3/projects/{projectUid}/transMemories \
--header 'Content-Type: application/json' \
--data '{
"dataPerContext": [
{
"transMemories": [
{
"transMemory": {
"uid": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 50,
"applyPenaltyTo101Only": true,
"order": 123
}
],
"targetLang": "<string>",
"workflowStep": {
"uid": "<string>"
},
"orderEnabled": true
}
]
}'
{
"transMemories": [
{
"transMemory": {
"id": "<string>",
"uid": "<string>",
"internalId": 123,
"name": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"client": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"businessUnit": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"domain": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"subDomain": {
"name": "<string>",
"id": "<string>",
"uid": "<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>"
}
},
"penalty": 123,
"applyPenaltyTo101Only": true,
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
},
"readMode": true,
"writeMode": true,
"order": 123
}
]
}
If user wants to edit “All target languages” or “All workflow steps”, but there are already varied TM settings for individual languages or steps, then the user risks to overwrite these individual choices.
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v3/projects/{projectUid}/transMemories \
--header 'Content-Type: application/json' \
--data '{
"dataPerContext": [
{
"transMemories": [
{
"transMemory": {
"uid": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 50,
"applyPenaltyTo101Only": true,
"order": 123
}
],
"targetLang": "<string>",
"workflowStep": {
"uid": "<string>"
},
"orderEnabled": true
}
]
}'
{
"transMemories": [
{
"transMemory": {
"id": "<string>",
"uid": "<string>",
"internalId": 123,
"name": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
],
"client": {
"id": "<string>",
"uid": "<string>",
"name": "<string>"
},
"businessUnit": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"domain": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"subDomain": {
"name": "<string>",
"id": "<string>",
"uid": "<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>"
}
},
"penalty": 123,
"applyPenaltyTo101Only": true,
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"id": "<string>",
"uid": "<string>",
"order": 123,
"lqaEnabled": true
},
"readMode": true,
"writeMode": true,
"order": 123
}
]
}
Show child attributes
OK
Show child attributes
Was this page helpful?