Skip to main content
POST
/
api2
/
v1
/
transMemories
/
{transMemoryUid}
/
segments
Insert segment
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/transMemories/{transMemoryUid}/segments \
  --header 'Content-Type: application/json' \
  --data '{
  "targetLang": "<string>",
  "sourceSegment": "<string>",
  "targetSegment": "<string>",
  "previousSourceSegment": "<string>",
  "nextSourceSegment": "<string>",
  "sourceTagMetadata": [
    {
      "id": "<string>",
      "type": "<string>",
      "content": "<string>",
      "transAttributes": "<string>"
    }
  ],
  "targetTagMetadata": [
    {
      "id": "<string>",
      "type": "<string>",
      "content": "<string>",
      "transAttributes": "<string>"
    }
  ]
}'

Path Parameters

transMemoryUid
string
required

Body

application/json
targetLang
string
required
sourceSegment
string
required
targetSegment
string
required
previousSourceSegment
string
nextSourceSegment
string
sourceTagMetadata
object[]
targetTagMetadata
object[]

Response

No Content

I