Tc Participant Add: Add participant example

This example shows the input document that adds a participant to an object.

UID in “UID” and “assignee” property have to be UIDs of existing Objects of correct types in the connected Teamcenter.

[
  {
    "UID":"wRMAgIf97hAnmD",
    "participants":[
      {
      "participantType":"ProposedReviewer",
      "assignee":"QiJAAAx07hAnmD"
      }
    ],
    "expandAttributes":[
    ]
  }
]

Snap configuration

Snap output


Settings tab of snap to show values for example.

[
  {
    "result": [
      {
        "_id": "TC*ProposedReviewer*null***AuFAgIvR7hAnmD",
        "assignee": {
          "_id": "TC*GroupMember*null***QiJAAAx07hAnmD",
          "default_role": false,
          "ga": false,
          "group": "TC*Group*null***QBFAAAA47hAnmD",
          "group_DISPLAY": "Engineering",
          "membership_data_source": 0,
          "membership_data_source_DISPLAY": "0",
          "membership_last_sync_date": null,
          "object_string": "Engineering/Designer/ecs2 (ecs2)",
          "owning_site": null,
          "owning_site_DISPLAY": "",
          "role": "TC*Role*null***AdPAAAA47hAnmD",
          "role_DISPLAY": "Designer",
          "status": false,
          "UID": "QiJAAAx07hAnmD",
          "user": "TC*User*null***QeNAAAx07hAnmD",
          "user_DISPLAY": "ecs2 (ecs2)",
          "user_name": "ecs2"
        },
        "object_string": "ecs2",
        "owning_site": null,
        "owning_site_DISPLAY": "",
        "UID": "AuFAgIvR7hAnmD"
      }
    ],
    "original": {
      "UID": "wRMAgIf97hAnmD",
      "participants": [
        {
          "participantType": "ProposedReviewer",
          "assignee": "QiJAAAx07hAnmD"
        }
      ],
      "expandAttributes": [
      ]
    }
  }
]