Back to API Reference Home

POST v1/tms/{tmGuid}/entries/{entryId}/update

Updates the translation memory entry specified by a TM Guid and an entry id.

Request information

Uri parameters

NameTypeDescriptionAdditional information
tmGuidGuidThe Guid of the translation memory
entryIdInt32The id of the translation memory entry

Request body type

NameTypeDescription
ClientStringOptional, default value: null; The client of the TM entry.
ContextIDStringOptional, default value: null; The context id of the TM entry.
CreatedDateTimeOptional, default value: null; The creaton date of the TM entry.
CreatorStringOptional, default value: null; The creator of the TM entry.
CustomMetasTMCustomMetaItem[]Optional, default value: null; An array of the TM entry's custom meta properties.
NameStringObligatory; The name of the custom meta property.
ValueObjectOptional, default value: null; The value of the custom meta property.
DocumentStringOptional, default value: null; The document of the TM entry.
DomainStringOptional, default value: null; The domain of the TM entry.
FollowingSegmentStringOptional, default value: null; The following segment of the TM entry.
KeyInt32Optional, default value: 0; The key of the TM entry.
ModifiedDateTimeObligatory; The date of the TM entry's last modification. An OptimisticConcurrencyError occurs during the update action if it does not match the existing entry's Modified parameter.
ModifierStringObligatory; The last modifier of the TM entry.
PrecedingSegmentStringOptional, default value: null; The preceding segment of the TM entry.
ProjectStringOptional, default value: null; The project of the TM entry.
SourceSegmentStringObligatory; The source segment of the TM entry.
SubjectStringOptional, default value: null; The subject of the TM entry.
TargetSegmentStringObligatory; The target segment of the TM entry.

Request body formats

application/json

Sample:
{
  "Created": "2015-08-28T14:02:31.22Z",
  "Creator": "Built-in administrator",
  "Modified": "2015-08-28T14:02:31.22Z",
  "Modifier": "Built-in administrator",
  "Client": "client",
  "ContextID": "context id",
  "Document": "document",
  "Domain": "domain",
  "FollowingSegment": "<seg>Following segment content.</seg>",
  "Key": 0,
  "PrecedingSegment": "<seg>Preceding segment content.</seg>",
  "Project": "project",
  "SourceSegment": "<seg>Sample segment content1.</seg>",
  "Subject": "subject",
  "TargetSegment": "<seg>Sample segment content2.</seg>",
  "CustomMetas": [
    {
      "Name": "name",
      "Value": "value"
    },
    {
      "Name": "name",
      "Value": "value"
    },
    {
      "Name": "name",
      "Value": "value"
    }
  ]
}