Checkin or cancel reservation of a reserved object
This example pipeline demonstrates how to check in or cancel the checkout of a reserved object, and how to read its reservation history.

Steps
1: Input for the pipeline is stored in JSON Generator. The stored JSON document contains ID information and decission value for following router.
UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.
Snap configuration | Snap output |
|---|---|
![]() | |
2: Configure a Router Snap to check request information for property “decission”. Expression for the three branches are
$.decission == "checkin"$.decission == "checkout"$.decission == "cancel"Snap configuration | Snap output |
|---|---|
![]() |
3.1: Branch “Checkin” - Configure a Tc Reservation Checkin Snap:
- $uid to field Object ID
- $.expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output JSON document provides an example of the response returned after checkin of Part Revision in Teamcenter. Now attribute for checked_out* are emtpy or null again.
4.1: Branch “Checkin” - Configure a Tc Reservation History Snap:
- $_id to field Object ID
- $.original.expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output JSON document provides result list containing now 2 reservation information for the Part Revision in Teamcenter.
3.2: Branch “Checkout” - Configure a Tc Reservation Checkout Snap:
- $uid to field Object ID
- $.expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output JSON document provides an example of the response returned after checkout of Part Revision in Teamcenter. Now attributes for checked_out* have a value set.
3.3: Branch “Cancel” - Configure a Tc Reservation Cancel Checkout Snap:
- $uid to field Object ID
- $.expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output JSON document provides an example of the response returned after cancel checkout of Part Revision in Teamcenter. Now attribute for checked_out* are emtpy or null again.
4.3: Branch “Cancel” - Configure a Tc Reservation History Snap:
- $_id to field Object ID
- $.original.expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output JSON document provides result list containing now 4 reservation information for the Part Revision in Teamcenter.




