Response
successful operation
curl --request POST \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"reverse": true,
"zeroLengthSeparator": "<string>"
}'
{
"searchResults": [
{
"termBase": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"sourceTerm": {
"id": "<string>",
"text": "<string>",
"lang": "<string>",
"rtl": true,
"modifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"caseSensitive": true,
"exactMatch": true,
"forbidden": true,
"preferred": true,
"status": "New",
"conceptId": "<string>",
"usage": "<string>",
"note": "<string>",
"writable": true,
"shortTranslation": "<string>",
"termType": "<string>",
"partOfSpeech": "<string>",
"gender": "<string>",
"number": "<string>"
},
"concept": {
"id": "<string>",
"definition": "<string>",
"domain": "<string>",
"subDomains": [
"<string>"
],
"url": "<string>",
"note": "<string>"
},
"translationTerms": [
{
"id": "<string>",
"text": "<string>",
"lang": "<string>",
"rtl": true,
"modifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"caseSensitive": true,
"exactMatch": true,
"forbidden": true,
"preferred": true,
"status": "New",
"conceptId": "<string>",
"usage": "<string>",
"note": "<string>",
"writable": true,
"shortTranslation": "<string>",
"termType": "<string>",
"partOfSpeech": "<string>",
"gender": "<string>",
"number": "<string>"
}
],
"subTerm": true,
"matches": [
{
"beginIndex": 123,
"text": "<string>"
}
]
}
]
}
Search in text in all read term bases assigned to the job
curl --request POST \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"reverse": true,
"zeroLengthSeparator": "<string>"
}'
{
"searchResults": [
{
"termBase": {
"name": "<string>",
"id": "<string>",
"uid": "<string>"
},
"sourceTerm": {
"id": "<string>",
"text": "<string>",
"lang": "<string>",
"rtl": true,
"modifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"caseSensitive": true,
"exactMatch": true,
"forbidden": true,
"preferred": true,
"status": "New",
"conceptId": "<string>",
"usage": "<string>",
"note": "<string>",
"writable": true,
"shortTranslation": "<string>",
"termType": "<string>",
"partOfSpeech": "<string>",
"gender": "<string>",
"number": "<string>"
},
"concept": {
"id": "<string>",
"definition": "<string>",
"domain": "<string>",
"subDomains": [
"<string>"
],
"url": "<string>",
"note": "<string>"
},
"translationTerms": [
{
"id": "<string>",
"text": "<string>",
"lang": "<string>",
"rtl": true,
"modifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"caseSensitive": true,
"exactMatch": true,
"forbidden": true,
"preferred": true,
"status": "New",
"conceptId": "<string>",
"usage": "<string>",
"note": "<string>",
"writable": true,
"shortTranslation": "<string>",
"termType": "<string>",
"partOfSpeech": "<string>",
"gender": "<string>",
"number": "<string>"
}
],
"subTerm": true,
"matches": [
{
"beginIndex": 123,
"text": "<string>"
}
]
}
]
}
successful operation
Show child attributes
Was this page helpful?