Back to API Reference Home

POST v1/tbs/{tbGuid}/entries/{entryId}/update

Updates the termbase entry specified by a TB Guid and an entry id.

Request information

Uri parameters

NameTypeDescriptionAdditional information
tbGuidGuidThe Guid of the termbase
entryIdInt32The id of the termbase entry

Request body type

NameTypeDescription
ClientStringOptional, default value: null; The client of the TB entry.
CreatedDateTimeObligatory; The creation date of the TB entry.
CreatorStringObligatory; The creator of the TB entry.
CustomMetasTBCustomMetaItem[]Optional, default value: null; An array of the TB entry's custom meta properties.
NameStringObligatory; The name of the custom meta property.
ValueStringOptional, default value: null; The value of the custom meta property.
DomainStringOptional, default value: null; The domain of the TB entry.
IdInt32Optional, default value: -1; The id of the TB entry.
ImageStringOptional, default value: null; The image url of the TB entry.
ImageCaptionStringOptional, default value: null; The image caption of the TB entry.
LanguagesLanguageItem[]Optional, default value: null; An array of the TB entry's languages.
CustomMetasTBCustomMetaItem[]Optional, default value: null; An array of the language's custom meta properties.
NameStringObligatory; The name of the custom meta property.
ValueStringOptional, default value: null; The value of the custom meta property.
DefinitionStringOptional, default value: null; The definition of the language.
IdInt32Optional, default value: -1; The id of the language.
LanguageStringObligatory; The code of the language.
NeedsModerationBooleanOptional, default value: null; Defines whether the language needs moderation.
TermItemsTermItem[]Optional, default value: null; An array of the language's terms.
CaseSenseTermCaseSense (enum)Optional, default value: null; Possible enum values: 0:Strict; 1:Near; 2:Insensitive; Defines the case sensitivity level of the term.
CustomMetasTBCustomMetaItem[]Optional, default value: null; An array of the term's custom meta properties.
NameStringObligatory; The name of the custom meta property.
ValueStringOptional, default value: null; The value of the custom meta property.
ExampleStringOptional, default value: null; The example of the term.
GrammarGenderStringOptional, default value: null; The grammatical gender of the term.
GrammarNumberStringOptional, default value: null; The grammatical number of the term.
GrammarPartOfSpeechStringOptional, default value: null; The grammatical category of the term.
IdInt32Optional, default value: -1; The id of the term.
IsForbiddenBooleanOptional, default value: null; Defines whether the term is forbidden.
PartialMatchTermPartialMatch (enum)Optional, default value: null; Possible enum values: 0:Any; 1:Half; 2:None; 3:Custom; Defines the degree to which partial matches are allowed against this term.
PrefixBoundariesInt32[]Optional, default value: null; The prefix boundaries of the term.
TextStringObligatory; The text of the term.
WildTextStringOptional, default value: null; The 'wild' text of the term. It contains wildcards denoting prefix-boundaries. It will not be taken into consideration when adding new entries to a term base.
ModifiedDateTimeObligatory; The date of the TB entry's last modification. An OptimisticConcurrencyError occurs during the update action if it does not match the existing entry's Modified parameter.
ModifierStringOptional, default value: null; The last modifier of the TB entry.
NoteStringOptional, default value: null; The note of the TB entry.
ProjectStringOptional, default value: null; The project of the TB entry.
SubjectStringOptional, default value: null; The subject of the TB 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",
  "Id": 0,
  "Client": "client",
  "Domain": "domain",
  "ImageCaption": "image caption",
  "Image": "image url",
  "Languages": [
    {
      "Language": "ger",
      "Definition": "definition",
      "Id": 0,
      "NeedsModeration": true,
      "TermItems": [
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        }
      ],
      "CustomMetas": [
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        }
      ]
    },
    {
      "Language": "ger",
      "Definition": "definition",
      "Id": 0,
      "NeedsModeration": true,
      "TermItems": [
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        }
      ],
      "CustomMetas": [
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        }
      ]
    },
    {
      "Language": "ger",
      "Definition": "definition",
      "Id": 0,
      "NeedsModeration": true,
      "TermItems": [
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        },
        {
          "CaseSense": 2,
          "Example": "example",
          "GrammarGender": "",
          "GrammarNumber": "",
          "GrammarPartOfSpeech": "",
          "Id": 0,
          "IsForbidden": false,
          "PartialMatch": 2,
          "PrefixBoundaries": [
            1
          ],
          "Text": "text",
          "WildText": "wild text",
          "CustomMetas": [
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            },
            {
              "Name": "name",
              "Value": "value"
            }
          ]
        }
      ],
      "CustomMetas": [
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        },
        {
          "Name": "name",
          "Value": "value"
        }
      ]
    }
  ],
  "Note": "note",
  "Project": "project",
  "Subject": "subject",
  "CustomMetas": [
    {
      "Name": "name",
      "Value": "value"
    },
    {
      "Name": "name",
      "Value": "value"
    },
    {
      "Name": "name",
      "Value": "value"
    }
  ]
}