Get informations of an object

This example pipeline demonstrates how to create an object and then read its information from Teamcenter.


Pipeline including JSON Generator Snap, Tc Create Snap and Tc Info Snap.

Steps

1: Input is stored as JSON document in JSON Generator Snap.

[
  {
    "object_type": "Part",
    "attributes": {
		"object_desc": "Test Create with Snap for Demo Info",
		"object_name": "Doku_Test_Info"
	},
	"expandAttributes": [
		"object_name",
		"object_string",
		"object_desc",
		"item_id",
		"item_revision_id",
		"uom_tag",
		"creation_date", 
		"fnd0IcsClassNames",
		"is_modifiable",
		"ics_classified",
		"owning_user",
		"fnd0CurrentLocationCode",
		"checked_out"
	]
  }
]

2: Content is used in next Tc Create Snap.

Snap configuration

Snap output


Settings of Tc Create Snap. Object Type, Object Attributes Path and Expand Attributes Path field s use content from input document.

[
  {
    "_id": "TC*Part Revision*null***AWPAANFJ7hAnmD",
    "checked_out": " ",
    "creation_date": "2026-03-23T15:03:35Z",
    "fnd0CurrentLocationCode": null,
    "fnd0IcsClassNames": [
    ],
    "ics_classified": "",
    "is_modifiable": true,
    "item_id": "052794",
    "item_revision_id": "A",
    "object_desc": "Test Create with Snap for Demo Info",
    "object_name": "Doku_Test_Info",
    "object_string": "052794/A;1-Doku_Test_Info",
    "owning_user": "TC*User*null***A6CAAAx07hAnmD",
    "owning_user_DISPLAY": "ecs1 (ecs1)",
    "UID": "AWPAANFJ7hAnmD",
    "original": {
      "object_type": "Part",
      "attributes": {
        "object_desc": "Test Create with Snap for Demo Info",
        "object_name": "Doku_Test_Info"
      },
      "expandAttributes": [
        "object_name",
        "object_string",
        "object_desc",
        "item_id",
        "item_revision_id",
        "uom_tag",
        "creation_date",
        "fnd0IcsClassNames",
        "is_modifiable",
        "ics_classified",
        "owning_user",
        "fnd0CurrentLocationCode",
        "checked_out"
      ]
    }
  }
]

3: Output document of Tc Snap contains attribute “_id” which is used in next Tc Info Snap.

Snap configuration

Snap output


Settings of Tc Info Snap.

[
  {
    "_id": "TC*Part Revision*null***AWPAANFJ7hAnmD",
    "archive_date": null,
    "awp0IsSuspect": null,
    "backup_date": null,
    "checked_out": " ",
    "creation_date": "2026-03-23T15:03:35Z",
    "date_released": null,
    "declared_options": [],
    "ead_paragraph": [],
    "fms_tickets": [],
    "fnd0CurrentLocationCode": null,
    "fnd0IcsClassNames": [],
    "fnd0InProcess": false,
    "fnd0IRDCUsed": "",
    "fnd0IsRevisionDiscontinued": null,
    "fnd0Maturity": 10,
    "fnd0Maturity_DISPLAY": "Concept",
    "fnd0reuseAssembly": null,
    "gov_classification": null,
    "has_variant_module": null,
    "ics_classified": "",
    "IMAN_master_form_rev": [
      "TC*Part Revision Master*null***AaEAANFJ7hAnmD"
    ],
    "ip_classification": null,
    "ip_classification_DISPLAY": "",
    "is_IRDC": false,
    "is_modifiable": true,
    "is_vi": false,
    "item_id": "052794",
    "item_revision_id": "A",
    "items_tag": "TC*Part*null***AGLAANFJ7hAnmD",
    "items_tag_DISPLAY": "052794-Doku_Test_Info",
    "last_mod_date": "2026-03-23T15:03:35Z",
    "last_mod_user": "TC*User*null***A6CAAAx07hAnmD",
    "last_mod_user_DISPLAY": "ecs1 (ecs1)",
    "license_list": [],
    "object_desc": "Test Create with Snap for Demo Info",
    "object_name": "Doku_Test_Info",
    "object_string": "052794/A;1-Doku_Test_Info",
    "object_type": "Part Revision",
    "object_type_DISPLAY": "Part Revision",
    "owning_group": "TC*Group*null***QBFAAAA47hAnmD",
    "owning_group_DISPLAY": "Engineering",
    "owning_organization": null,
    "owning_organization_DISPLAY": "",
    "owning_project": null,
    "owning_project_DISPLAY": "",
    "owning_site": null,
    "owning_site_DISPLAY": "",
    "owning_user": "TC*User*null***A6CAAAx07hAnmD",
    "owning_user_DISPLAY": "ecs1 (ecs1)",
    "process_stage_list": [],
    "project_list": [],
    "release_status_list": [],
    "revision_limit": 1,
    "revision_number": 0,
    "sequence_anchor": "TC*Anchor*null***AaCAANFJ7hAnmD",
    "sequence_anchor_DISPLAY": "",
    "sequence_id": 1,
    "sequence_limit": 3,
    "structure_revisions": [],
    "UID": "AWPAANFJ7hAnmD",
    "used_options": [],
    "view": [],
    "wso_thread": null,
    "wso_thread_DISPLAY": "",
    "original": {
      "_id": "TC*Part Revision*null***AWPAANFJ7hAnmD",
      "checked_out": " ",
      "creation_date": "2026-03-23T15:03:35Z",
      "fnd0CurrentLocationCode": null,
      "fnd0IcsClassNames": [],
      "ics_classified": "",
      "is_modifiable": true,
      "item_id": "052794",
      "item_revision_id": "A",
      "object_desc": "Test Create with Snap for Demo Info",
      "object_name": "Doku_Test_Info",
      "object_string": "052794/A;1-Doku_Test_Info",
      "owning_user": "TC*User*null***A6CAAAx07hAnmD",
      "owning_user_DISPLAY": "ecs1 (ecs1)",
      "UID": "AWPAANFJ7hAnmD",
      "original": {
        "object_type": "Part",
        "attributes": {
          "object_desc": "Test Create with Snap for Demo Info",
          "object_name": "Doku_Test_Info"
        },
        "expandAttributes": [
          "object_name",
          "object_string",
          "object_desc",
          "item_id",
          "item_revision_id",
          "uom_tag",
          "creation_date",
          "fnd0IcsClassNames",
          "is_modifiable",
          "ics_classified",
          "owning_user",
          "fnd0CurrentLocationCode",
          "checked_out"
        ]
      }
    }
  }
]

The JSON document provides an example of Tc Info output from Teamcenter object Item Revision. Since $expandAttributes are not used to restrict content of output document much more attributes are given back.