Skip to main content
POST
/
api2
/
v1
/
languageAssets
/
search
Search language assets
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/languageAssets/search \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sourceLocale": "<string>",
  "targetLocales": [
    "<string>"
  ],
  "queries": [
    {
      "text": "<string>"
    }
  ],
  "clientId": "TZTenUqAlyWE4NmAvQRMq1"
}
'
{
  "results": [
    {
      "query": "<string>",
      "termBaseMatches": [
        {
          "termBaseId": "<string>",
          "termBaseName": "<string>",
          "conceptId": "<string>",
          "sourceTerm": {
            "termId": "<string>",
            "locale": "<string>",
            "text": "<string>",
            "status": "New",
            "preferred": true,
            "forbidden": true
          },
          "targetTerms": [
            {
              "termId": "<string>",
              "locale": "<string>",
              "text": "<string>",
              "status": "New",
              "preferred": true,
              "forbidden": true
            }
          ]
        }
      ],
      "translationMemoryMatches": [
        {
          "transMemoryId": "<string>",
          "transMemoryName": "<string>",
          "sourceSegmentText": "<string>",
          "netScore": 123,
          "targetSegments": [
            {
              "locale": "<string>",
              "text": "<string>"
            }
          ]
        }
      ]
    }
  ],
  "metadata": {
    "tmSearchStatus": "COMPLETED",
    "tbSearchStatus": "COMPLETED",
    "searchedTransMemoryIds": [
      "<string>"
    ],
    "searchedTermBaseIds": [
      "<string>"
    ],
    "warnings": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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.

Body

application/json
sourceLocale
string
required
targetLocales
string[]
required
queries
object[]
required
Maximum array length: 50
clientId
string

When provided, only Term Bases and Translation Memories assigned to this client are searched. If not provided, all Term Bases and Translation Memories are searched.

Example:

"TZTenUqAlyWE4NmAvQRMq1"

Response

successful operation

results
object[]
metadata
object