Tc Localized Properties Get: Simple output example

This example shows the output document that returns the localized values of two properties.

The JSON document provides an example of Tc Localized Properties Get output from Teamcenter. In this example following two properties have localization enabled:

  • object_desc (Description)
  • object_name (Name)

with languages:

  • de_DE (German)
  • en_US (English)
  • fr_FR (French)
[
  {
    "object_desc": {
      "en_US": {
        "value": "Descr. (EN)",
        "status": "Master"
      },
      "de_DE": {
        "value": "Beschr. (DE)",
        "status": "Approved"
      },
      "fr_FR": {
        "value": "Descr. (FR)",
        "status": "Pending"
      }
    },
    "object_name": {
      "en_US": {
        "value": "My English Document",
        "status": "Master"
      },
      "de_DE": {
        "value": "Mein deutsches Dokument",
        "status": "Approved"
      },
      "fr_FR": {
        "value": "Mon document français",
        "status": "InReview"
      }
    }
  }
]