curl --request PUT \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/transMemories \
--header 'Content-Type: application/json' \
--data '{
"transMemories": [
{
"transMemory": {
"id": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 50,
"applyPenaltyTo101Only": true
}
],
"targetLang": "<string>",
"workflowStep": {
"id": "<string>"
}
}'
{
"transMemories": [
{
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"uid": "<string>",
"id": "<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": {
"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>"
},
"owner": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"relatedProjectsCount": 123,
"collaboratorsCount": 123,
"canEdit": true
},
"penalty": 123,
"applyPenaltyTo101Only": true
}
]
}
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/transMemories \
--header 'Content-Type: application/json' \
--data '{
"transMemories": [
{
"transMemory": {
"id": "<string>"
},
"readMode": true,
"writeMode": true,
"penalty": 50,
"applyPenaltyTo101Only": true
}
],
"targetLang": "<string>",
"workflowStep": {
"id": "<string>"
}
}'
{
"transMemories": [
{
"targetLocale": "<string>",
"workflowStep": {
"name": "<string>",
"uid": "<string>",
"id": "<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": {
"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>"
},
"owner": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"relatedProjectsCount": 123,
"collaboratorsCount": 123,
"canEdit": true
},
"penalty": 123,
"applyPenaltyTo101Only": true
}
]
}
successful operation
The response is of type object
.
Was this page helpful?