IBM Business Process Manager, Version 8.5.5

REST interface for BPD-related resources - Process Instances Visual Model Resource - GET Method

Use this method to retrieve a business process definition (BPD) visual model (json, xml or image) for multiple BPD instances.

Sample method invocation

GET /rest/bpm/wle/v1/visual/processModel/instances?instanceIds={string}[&bpdId={string}][&snapshotId={string}][&branchId={string}][&showCurrentActivites={boolean}][&showNote={boolean}][&showColor={boolean}][&image={boolean}]

Parameters

Note: In order to identify the correct snapshot to be used, you must specify one of the snapshotId or branchId parameters.
The snapshot is obtained using the following precedence rules:
1) If the snapshotId parameter is specified, then that specific snapshot will be used, and the branchId parameter is ignored.
2) If the branchId parameter is specified, then the tip (current) snapshot of the specified branch (track) will be used.
Required parameters
NameValue TypeDescription
instanceIds string
The array of the instance IDs of the BPD model, such as: [3, 5]
Optional parameters
NameValue TypeDescription
bpdId string
The ID of the subprocess or linked process.
snapshotId string
The ID of the snapshot associated with the BPD visual model. Either 'snapshotId' or 'branchId' must be specified.
branchId string
The ID of the branch associated with the BPD visual model. Either 'snapshotId' or 'branchId' must be specified.
showCurrentActivites boolean
Specifies whether to show the current activities in the response. The default value is "true".
showNote boolean
Specifies whether to show the notes in the response. The default value is "true".
showColor boolean
Specifies whether to show the color information in the response. The default value is "true".
image boolean
If the parameter is true, an image will be returned. Otherwise, the response will be json or xml.

Request content

None

Response content

The visual model (json, xml or image) for the business process definition.

The default content type is application/json.

MIME type: application/json


+ View schema
{
    "status":"200",
    "data":{
        "name": {"type": "string", "description": "The name of the business process definition."},
        "desc": {"type": "string", "description": "The description of the business process definition."},
        "poId": {"type": "string", "description": "The persistent object ID of the business process definition."},
        "poVersionId": {"type": "string", "description": "The persistent object version ID of the business process definition."},
        "identifier":"id",
        "id": {"type": "string", "description": "The BPMN ID of the business process definition."},
        "label":"label",
        "items": {"type": "[object]", "description": "The list of swimlanes, flow objects, notes, 
                    groups and phases (milestones) in the business process definition.", 
       	   [
              {
                "width": {"type": "integer", "description": "The width of the item. It only applies to swimlanes, notes, phases (milestones) and groups."},
                "height": {"type": "integer", "description": "The height of the item. It only applies to swimlanes, notes, phases (milestones) and groups."},
                "id": {"type": "string", "description": "The BPMN ID of the swimlane, flow object, note, group or phase (milestone)."},
                "label": {"type": "string", "description": "The description of the item."},
                "x":{"type": "integer", "description": "The top-left x position of the item."},
                "y":{"type": "integer", "description": "The top-left y position of the item."},
                "type": {"type": "string", "description": "The type of the item.", 
		     "enum":
	         	[
				"swimlane",
				"activity",
				"gateway",
				"gatewayAnd",
				"gatewayOr",
				"gatewayEvent",
				"start",
				"adhocStartEvent",
				"msgStartEventInterrupting",
				"msgStartEventNonInterrupting",
				"timerStartEventInterrupting",
				"timerStartEventNonInterrupting",
				"errorStartEvent",
				"end",			
				"terminate",
				"errorEndEvent",
				"messageEndEvent",			
				"intermediateThrowMsgEvent",			
				"intermedCatchMsgEventNonBoundary",
				"intermedCatchTimerEventNonBoundary",
				"intermedCatchTrackingEventNonBoundary",
				"intermedCatchErrorEventBoundary",
				"intermedCatchMsgEventBoundaryInterrupting",
				"intermedCatchMsgEventBoundaryNonInterrupting",
				"intermedCatchTimerEventBoundaryInterrupting",
				"intermedCatchTimerEventBoundaryNonInterrupting",
				"note",
				"group",
				"milestone"
		         ]
		      },
	        "isSystem":{"type": "boolean", "description": "Indicates whether the swimlane is a system swimlane. It only applies to swimlanes."},
                "color":{"type": "string", "description": "The color of the swimlane. It only applies to swimlanes.", 
                     "enum":
                	[
				"Default",
				"Red",
				"Orange",
				"Yellow",
				"Green",
				"Blue",
				"Purple",
				"Gray"
			]
                     },
                "colorIcon":{"type": "string", "description": "The icon path of the activity. It only applies to the activity."},
                "lane":{"type": "string", "description": "The name of the swimlane to which this item belongs. 
			This attribute does not apply to phases (milestones) and swimlanes."},
                "bpmn2TaskType": {"type": "string", "description": "The BPMN2 task type of the item. It only applies to the activity.", 
	             "enum":
			[
				"None",
				"UserTask",
				"DecisionTask",
				"ServiceTask",
				"ScriptTask",
				"CalledProcess",
				"SubProcess",
				"Event_SubProcess"
			]
		     },
                "snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the implementation service or linked process. 
			It only applies to the activity. Either 'snapshotId' or 'branchId' must be specified when there is an implementation for this activity."},
                "branchId":{"type": "string", "description": "The ID of the branch associated with the implementation service or linked process. 
			It only applies to the activity. Either 'snapshotId' or 'branchId' must be specified when there is an implementation for this activity."},
                "poId":{"type": "string", "description": "The persistent object ID of the implementation service, linked process, or embedded subprocess. 
				It only applies to the activity."},
                "poType": {"type": "string", "description": "The persistent object type of the implementation for the item.", 
	             "enum":
			[
				"BPD",
				"Service"
			]
	             },
                "serviceType":{"type": "string", "description": "The service type of the implementation for the item. It only applies when poType is Service.", 
	             "enum":
			[
				"Rule Service",
				"Human Service",
				"Integration Service",
				"General System Service",
				"SCA Service"
			]
		     },						
                "successors":[],
                "children":[{
                        "_reference":{"type": "string", "description": "The BPMN ID of the item in the swimlane."}
                    }
                ],
                "attachedEvents": {"type": "[object]", "description": "The list of the attached events on this activity. This attribute only applies to the activity.", 
                   [                			
		     {
                      "eventPosition":{"type": "string", "description": "The port position of the event on the activity.",
		         "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
	               },
	               _reference":{"type": "string", "description": "The BPMN ID of the attached event."}
                    },                    
                  ]
                },
                "preAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments or not. It does not apply to swimlanes, notes, groups or phases (milestones)."},
                "postAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments or not. It does not apply to swimlanes, notes, groups or phases (milestones)."},
                "conditional":{"type": "boolean", 
                	"description": "Indicates whether this activity is conditional. This attribute only applies to the activity."},
                "interrupting":{"type": "boolean", 
                	"description": "Indicates whether the event interrupts the activity or the parent process. 
                	It only applies to the boundary event and start event in the embedded event subprocess."},
                "active":{"type": "boolean", 
                		"description": "Indicates whether this activity is active in a running BPD instance. This attribute only applies to the activity."},
                "counter":{"type": "string", 
                		"description": "The number of BPD instances that have a token on this item. It is formatted as a string with the prefix '#'; for example, '#2'.
                		 This attribute only applies to the event and activity."},
                "category": {"type": "string", "description": "The category of the flow object. This attribute does not apply to swimlanes, notes or groups.", 
	              "enum":
			 [
				"Activity",
				"StartEvent",
				"EndEvent",
				"IntermediateEvent",
				"BoundaryIntermediateEvent",
				"Gateway"                		
			 ]
		 }
	      }					                		
      
           ]
        },
        "links": {"type": "[object]", "description": "The list of the flows in the business process definition.",
           [
             {
                "needDefaultMarker":{"type": "boolean", "description": "Indicates whether the link needs a default marker."},
                "needDiamondMarker":{"type": "boolean", "description": "Indicates whether the link needs a condition marker."},
                "id":{"type": "string", "description": "The BPMN ID of the link."},
                "name":{"type": "string", "description": "The name of the link."},
                "start":{"type": "string", "description": "The BPMN ID of the link source."},
                "startPosition":{"type": "string", "description": "The port of the link source.", 
		        "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
                },
                "end":{"type": "string", "description": "The BPMN ID of the link target."},
                "endPosition":{"type": "string", "description": "The port of the link target.", 
		        "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
                },                
                "showName":{"type": "boolean", "description": "Indicates whether to show the link name."},
                "showEndState":{"type": "boolean", "description": "Indicates whether to show the link end state."},
                "linkLabelPosition":{"type": "double", "description": "The position of the label in the link."},
                "gfx":{"type": "string", "description": "The bend points of the link, which are specified using a format similar to the following example: 
                					{\"intermediatePoints\":[{\"x\":117,\"y\":62},{\"x\":117,\"y\":65}]}"}
                "inCriticalPath":{"type": "boolean", "description": "Indicates whether the link is part of the critical path. It is only used in the process portal."},
            	}
            ]
        },
        "properties":{
            "variables":[{
                    "poId":{"type": "string", "description": "The persistent object ID of the variable type."},
                    "poName":{"type": "string", "description": "The name of the type of this variable."},
                		"snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the variable type. Either
                						'snapshotId' or 'branchId' must be specified."},
                		"branchId":{"type": "string", "description": "The ID of the branch associated with the type of this variable. Either 
                						'snapshotId' or 'branchId' must be specified."},
                    "isList":{"type": "boolean", "description": "Indicates whether this variable is a list."},
                    "type":{"type": "string", "description": "Indicates whether the variable is input, output, or private.", 
                    	"enum": 
               		   [
				"input",
				"output",
				"input_output",
				"private"                    
                    	   ]
                    },                    
                    "name":{"type": "string", "description": "The name of the variable."}
                }
            ],
            "workSchedule":{
                "timeScheduleType":{"type": "integer", "description": "'0': Use time schedule, '1': Use expression."},
                "timeScheduleName":{"type": "string", "description": "The name of the time schedule."},
                "timeScheduleExpression":{"type": "string", "description": "The expression of the time schedule."},
                "timezoneType":{"type": "integer", "description": "'0': Use time zone, '1': Use expression."},
                "timezone":{"type": "string", "description": "The time zone."},
                "timezoneExpression":{"type": "string", "description": "The expression of the time zone."},
                "holidayScheduleType":{"type": "integer", "description": "'0': Use holiday schedule, '1': Use expression."},
                "holidayScheduleName":{"type": "string", "description": "The name of the holiday schedule."},
                "holidayScheduleExpression":{"type": "string", "description": "The expression of the holiday schedule."}
            },
            "KPIs":[{
                    "name":{"type": "string", "description": "The name of the KPI."}
                }
            ]
        },
        "activeTasks": 
        {
           {"type": "string", "description": "The BPMN ID of the flow object."} : 
           {"type": "[object]", "description": "The list of the active tasks of the same flow object in multiple BPD instances.", 
	     [
	       {
		  "activationTime": {"type": "string", "format": "date-time",
		  	"description": "The time when the task instance is set into the ready state. The time is also set when the task is restarted or when a claim is canceled."
			},
		   "assignedTo": {"type": "string",
		        "description": "The task owner."
		      	},
		    "assignedToType": {"type": "string",
			"description": "Group or User."
			},
		    "clientTypes": {"type": ["string"],
		        "description": "A user-defined client type to specify UI client information. The fixed value is IBM_WLE_COACH."
		        },
		    "completionTime": {"type": "string", "format": "date-time",
			"description": "The time when the task instance reached an end state."
			},
		    "containmentContextID": {"type": "string",
			"description": "The ID of the context that embraces the task instance."
			},
		    "data": {"type": "object",
		        "description": "Task instance data."
		        },
		    "description": {"type": "string",
			"description": "Description of the task."
		        },
	            "displayName": {"type": "string",
		        "description": "The display name of the task."
		        },
		    "dueTime":  {"type": "string", "format": "date-time",
		        "description": "The time when the task is due."
		        },
		    "externalActivityID": {"type": "string",
		        "description": "The ID of the external activity."
		        },
		    "serviceID": {"type": "string",
		        "description": "The ID of the service."
		        },								      
		    "kind": {"type": "string",
		        "description": "The kind of the task."
		        },
		    "lastModificationTime":{"type": "string", "format": "date-time",
		        "description": "The latest time at which the task was created, started or completed."
		        },
		    "milestone": {"type": "string",
		        "description": "The phase (milestone) with which the task is associated."
		        },
		    "name": {"type": "string",
		        "description": "The name of the task instance."
		        },
		    "namespace": {"type": "string",
		        "description": "The namespace that categorizes the task instance."
		        },
		    "originator": {"type": "string",
		        "description": "The ID of the user who created the task instance or on whose behalf the task instance was created."
		        },
		    "owner": {"type": "string",
		        "description": "The owner of the task instance."
		        },
                    "parentContextID": {"type": "string",
		        "description": "The ID of the parent context of the task instance."
		        },
		    "priority": {"type": "integer",
		        "description": "The priority of the task instance."
		        },
		    "priorityName": {"type": "string",
		        "description": "The task priority name. For example: Low, Normal, High."
		        },
		    "runURL": {"type": "object",
		        "description": "An URL that defines how to run the service or task."
		        },
		    "startTime":  {"type": "string", "format": "date-time",
		        "description": "The time when the task was claimed or when an invocation task enters the running state."
		        },
		    "state": {"type": "string", 
		        "description": "The state of the task instance.",
		          "enum":
		             [
			           "STATE_CLAIMED", 
			           "STATE_FINISHED", 
			           "STATE_INACTIVE, 
			           "STATE_RUNNING", 
			           "STATE_SUSPENDED_BY_PARENT", 
			           "STATE_TERMINATED"
			     ]
			},
	            "status": {"type": "string",
			"description": "The status of the task."
			},
    	            "flowObjectID": {"type": "string",
		        "description": "The BPMN ID of the activity."
		        },								      
		    "taskTemplateID": {"type": "string",
		        "description": "The ID of the task template that this instance is derived from."
		        },
		    "tkiid": {"type": "string",
		        "description": "The task instance ID."
		        }	        				
	        }
	     ]
	   }	
        },
        "tokens": {
           {"type": "string", "description": "The BPMN ID of the flow object."} : 
           {"type": "[object]", "description": "The list of BPD tokens of the same flow object in multiple BPD instances.", 
	      [
	    	{
                    "instanceId":{"type": "integer", "description": "The BPD instance ID."},
                    "createTimeLong":{"type": "long", "description": "The token creation time."},
                    "active":{"type": "boolean", "description": "Indicates whether this token is an active task or not."},
                    "tokenId":{"type": "integer", "description": "The token ID."}				
	    	}
	      ]
	   }
	}
    }
}
+ View example content
{
    "status":"200",
    "data":{
        "name":"Travel Approval",
        "desc":"This process is used by an employee wishing to submit a travel request. Depending on the request, it may require approval by a manager.",
        "poId":"25.a12d48e3-dbc3-4a0b-a6cf-b16b75f04009",
        "poVersionId":"28c7a51f-f7c1-4e67-9179-74b9fb481037",
        "identifier":"id",
        "id":"bpdid:4d136293f40cc951:-6fa2ddc2:132824923c2:-439e",
        "label":"label",
        "items":[{
                "colorIcon":"bpd/color/green_75x55.gif",
                "lane":"Employee",
                "bpmn2TaskType":"UserTask",
                "poType":"Service",
                "serviceType":"Human Service",
                "poId":"1.99920192-d158-4bdc-b624-c53dbeada174",
                "snapshotId":null,
                "branchId":"2063.b3fa8e41-82d6-428f-bba0-8ea6e8b17c14",
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "counter":"#1",
                "active":true,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45",
                "label":"Create Travel\u000aRequest",
                "x":142,
                "y":35,
                "type":"activity",
                "category":"Activity"
            },
            {
                "lane":"Employee",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c3b",
                "label":"Start",
                "x":35,
                "y":58,
                "type":"start",
                "category":"StartEvent"
            },
            {
                "colorIcon":"bpd/color/green_75x55.gif",
                "lane":"Employee",
                "bpmn2TaskType":"DecisionTask",
                "poType":"Service",
                "serviceType":"Rule Service",
                "poId":"1.25930a37-ef78-4f09-868e-9d3c2372f35f",
                "snapshotId":null,
                "branchId":"2063.b3fa8e41-82d6-428f-bba0-8ea6e8b17c14",
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34",
                "label":"Check against\u000aPolicy",
                "x":312,
                "y":35,
                "type":"activity",
                "category":"Activity"
            },
            {
                "colorIcon":"bpd/color/green_75x55.gif",
                "lane":"Employee",
                "bpmn2TaskType":"SubProcess",
                "poType":"BPD",
                "poId":"25.46398458-a08b-43a9-9e16-fb970ef5e633",
                "snapshotId":null,
                "branchId":"2063.b3fa8e41-82d6-428f-bba0-8ea6e8b17c14",
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "counter":"#1",
                "active":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c29",
                "label":"Get Approval",
                "x":474,
                "y":35,
                "type":"activity",
                "category":"Activity"
            },
            {
                "lane":"Employee",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c20",
                "label":"End",
                "x":613,
                "y":58,
                "type":"end",
                "category":"EndEvent"
            },
            {
                "colorIcon":"bpd/color/orange_75x55.gif",
                "lane":"Employee",
                "bpmn2TaskType":"Event_SubProcess",
                "poType":"BPD",
                "poId":"25.f34b8ae5-b9ff-4a6e-b1cc-14bab8da45e4",
                "snapshotId":null,
                "branchId":"2063.b3fa8e41-82d6-428f-bba0-8ea6e8b17c14",
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "eventSubProcType":"error",
                "interrupting":true,
                "counter":"#2",
                "active":false,
                "id":"bpdid:32536d2a720b843a:1a7d8cd5:131fccb197c:-7fb4",
                "label":"Error Handler",
                "x":143,
                "y":137,
                "type":"activity",
                "category":"Activity"
            },
            {
                "isSystem":false,
                "color":"Blue",
                "width":763,
                "height":235,
                "children":[{
                        "_reference":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45"
                    },
                    {
                        "_reference":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c3b"
                    },
                    {
                        "_reference":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34"
                    },
                    {
                        "_reference":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c29"
                    },
                    {
                        "_reference":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c20"
                    },
                    {
                        "_reference":"bpdid:32536d2a720b843a:1a7d8cd5:131fccb197c:-7fb4"
                    }
                ],
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c46",
                "label":"Employee",
                "x":0,
                "y":0,
                "type":"swimlane"
            }
        ],
        "links":[{
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c10",
                "name":"to Check against Policy",
                "start":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45",
                "startPosition":"rightCenter",
                "end":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c02",
                "name":"to Get Approval",
                "start":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34",
                "startPosition":"rightCenter",
                "end":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c29",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c0c",
                "name":"to End",
                "start":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c29",
                "startPosition":"rightCenter",
                "end":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c20",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":591,\"y\":70},{\"x\":591,\"y\":67}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c06",
                "name":"to Create Travel Request",
                "start":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c3b",
                "startPosition":"rightCenter",
                "end":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":100,\"y\":67},{\"x\":100,\"y\":70}]}",
                "inCriticalPath":false
            }
        ],
        "properties":{
            "variables":[{
                    "poId":"12.45999346-3d30-4bb9-b053-3e3b9ce6033e",
                    "poName":"TravelRequest",
                    "snapshotId":null,
                    "branchId":"2063.b3fa8e41-82d6-428f-bba0-8ea6e8b17c14",
                    "isList":false,
                    "type":"private",
                    "name":"travelRequest"
                },
                {
                    "poName":"Boolean",
                    "snapshotId":null,
                    "branchId":null,
                    "isList":false,
                    "type":"private",
                    "name":"isWithinPolicy"
                }
            ],
            "workSchedule":{
                "timeScheduleType":0,
                "timeScheduleName":"(use default)",
                "timezoneType":0,
                "timezone":"(use default)",
                "holidayScheduleType":0,
                "holidayScheduleName":"(use default)"
            },
            "KPIs":[{
                    "poId":"49.67cbb213-0032-4f14-be44-7e9c7a1a146f",
                    "snapshotId":"2064.ec056b47-a11e-4791-a039-1e3be0a7808a",
                    "branchId":null,
                    "name":"Total Time (Clock)"
                }
            ]
        },
        "tasks":{
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34":[{
                    "activationTime":"2011-09-20T03:32:23Z",
                    "clientTypes":["IBM_WLE_Coach"
                    ],
                    "completionTime":"2011-09-20T03:32:35Z",
                    "containmentContextID":"54",
                    "description":null,
                    "displayName":"Step: Check against Policy",
                    "dueTime":"2011-09-20T04:32:23Z",
                    "kind":"KIND_PARTICIPATING",
                    "lastModificationTime":"2011-09-20T03:32:23Z",
                    "name":"Check against Policy",
                    "originator":"tw_admin",
                    "owner":"tw_admin",
                    "priority":30,
                    "startTime":"2011-09-20T03:32:23Z",
                    "state":"STATE_FINISHED",
                    "tkiid":"105",
                    "piid":"54",
                    "status":"Closed",
                    "priorityName":"Normal",
                    "assignedTo":"tw_admin",
                    "assignedToType":"user",
                    "data":{},
                    "serviceID":"1.25930a37-ef78-4f09-868e-9d3c2372f35f",
                    "flowObjectID":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c34"
                }
            ],
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45":[{
                    "activationTime":"2011-09-20T03:31:55Z",
                    "clientTypes":["IBM_WLE_Coach"
                    ],
                    "completionTime":"2011-09-20T03:32:22Z",
                    "containmentContextID":"54",
                    "description":null,
                    "displayName":"Step: Create Travel Request",
                    "dueTime":"2011-09-20T04:31:55Z",
                    "kind":"KIND_PARTICIPATING",
                    "lastModificationTime":"2011-09-20T03:31:55Z",
                    "name":"Create Travel Request",
                    "originator":"tw_admin",
                    "owner":"tw_admin",
                    "priority":30,
                    "startTime":"2011-09-20T03:31:55Z",
                    "state":"STATE_FINISHED",
                    "tkiid":"104",
                    "piid":"54",
                    "status":"Closed",
                    "priorityName":"Normal",
                    "assignedTo":"tw_admin",
                    "assignedToType":"user",
                    "data":{},
                    "serviceID":"1.99920192-d158-4bdc-b624-c53dbeada174",
                    "flowObjectID":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45"
                }
            ]
        },
        "activeTasks":{
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7d7b":[{
                    "activationTime":"2011-09-20T03:32:36Z",
                    "clientTypes":["IBM_WLE_Coach"
                    ],
                    "completionTime":null,
                    "containmentContextID":"54",
                    "description":null,
                    "displayName":"Step: Mgmt Approval",
                    "dueTime":"2011-09-20T04:32:36Z",
                    "kind":"KIND_PARTICIPATING",
                    "lastModificationTime":"2011-09-20T03:32:36Z",
                    "name":"Mgmt Approval",
                    "originator":"tw_admin",
                    "owner":null,
                    "priority":30,
                    "startTime":"2011-09-20T03:32:36Z",
                    "state":"STATE_READY",
                    "tkiid":"106",
                    "piid":"54",
                    "status":"Received",
                    "priorityName":"Normal",
                    "assignedTo":"Manager_T_bfee52af-05e5-4e1e-956b-a1da84760ae0.d9c99a0c-cf7f-4f5e-8d1f-84bb1db0409e",
                    "assignedToDisplayName":"Manager",
                    "assignedToType":"group",
                    "data":{},
                    "serviceID":"1.311eee89-73d8-4314-8592-45739cb8e4f8",
                    "flowObjectID":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7d7b"
                }
            ],
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45":[{
                    "activationTime":"2011-09-20T03:31:41Z",
                    "clientTypes":["IBM_WLE_Coach"
                    ],
                    "completionTime":null,
                    "containmentContextID":"53",
                    "description":null,
                    "displayName":"Step: Create Travel Request",
                    "dueTime":"2011-09-20T04:31:40Z",
                    "kind":"KIND_PARTICIPATING",
                    "lastModificationTime":"2011-09-20T03:31:41Z",
                    "name":"Create Travel Request",
                    "originator":"tw_admin",
                    "owner":null,
                    "priority":30,
                    "startTime":"2011-09-20T03:31:41Z",
                    "state":"STATE_READY",
                    "tkiid":"103",
                    "piid":"53",
                    "status":"Received",
                    "priorityName":"Normal",
                    "assignedTo":"Employee_T_c91546c8-1365-4259-8bbb-2686df4659c5.d9c99a0c-cf7f-4f5e-8d1f-84bb1db0409e",
                    "assignedToDisplayName":"Employee",
                    "assignedToType":"group",
                    "data":{},
                    "serviceID":"1.99920192-d158-4bdc-b624-c53dbeada174",
                    "flowObjectID":"bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45"
                }
            ]
        },
        "tokens":{
            "bpdid:32536d2a720b843a:1a7d8cd5:131fccb197c:-7fb4":[{
                    "instanceId":"53",
                    "createTimeLong":0,
                    "active":false,
                    "tokenId":"1"
                },
                {
                    "instanceId":"54",
                    "createTimeLong":0,
                    "active":false,
                    "tokenId":"1"
                }
            ],
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c45":[{
                    "instanceId":"53",
                    "createTime":"2011-09-20T03:31:40Z",
                    "createTimeLong":1316489500815,
                    "active":true,
                    "tokenId":"4"
                }
            ],
            "bpdid:32536d2a720b843a:-3c87cbb9:131f8d4cce2:-7c29":[{
                    "instanceId":"54",
                    "createTime":"2011-09-20T03:32:35Z",
                    "createTimeLong":1316489555690,
                    "active":true,
                    "tokenId":"8"
                }
            ]
        }
    }
}

MIME type: application/xml


+ View schema
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://rest.bpm.ibm.com/v1/data/bpd/visual"
	elementFormDefault="unqualified"
	xmlns="http://www.w3.org/2001/XMLSchema"
	xmlns:tns="http://rest.bpm.ibm.com/v1/data/bpd/visual"
	xmlns:pref="http://rest.bpm.ibm.com/v1/data/root"
	xmlns:task="http://rest.bpm.ibm.com/v1/data/task"
	xmlns:cmn="http://rest.bpm.ibm.com/v1/data/common">

    <import schemaLocation="Common.xsd" namespace="http://rest.bpm.ibm.com/v1/data/common"/>
    <import schemaLocation="BPMRestData.xsd" namespace="http://rest.bpm.ibm.com/v1/data/root"/>
    <import schemaLocation="Task.xsd" namespace="http://rest.bpm.ibm.com/v1/data/task"/>

    <complexType name="Reference">
		<sequence>
		    <element name="_reference" type="string"/>
		</sequence>
    </complexType>

    <complexType name="AttachedEvent">
		<sequence>
		    <element name="_reference" type="string"/>
			<element name="eventPosition" type="tns:PortType" />
		</sequence>
    </complexType>

	<simpleType name="LoopType">
        <restriction base="string">
			<enumeration value="none"/>
			<enumeration value="simpleLoop"/>
			<enumeration value="MultiInstanceLoop"/>
		</restriction>
	</simpleType>

	<simpleType name="MILoopOrdering">
        <restriction base="string">
			<enumeration value="sequential"/>
			<enumeration value="parallel"/>
		</restriction>
	</simpleType>

	<simpleType name="EventSubProcType">
        <restriction base="string">
			<enumeration value="message"/>
			<enumeration value="content"/>
			<enumeration value="timer"/>
			<enumeration value="error"/>
		</restriction>
	</simpleType>
		
	<simpleType name="NodeCategoryType">
        <restriction base="string">
			<enumeration value="Activity"/>
			<enumeration value="StartEvent"/>
			<enumeration value="EndEvent"/>
			<enumeration value="IntermediateEvent"/>
			<enumeration value="BoundaryIntermediateEvent"/>
			<enumeration value="Gateway"/>
		</restriction>
	</simpleType>	

	<simpleType name="NodeType">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <restriction base="string">
			<enumeration value="milestone"/>
			<enumeration value="activity"/>
			<enumeration value="gateway"/>
			<enumeration value="gatewayAnd"/>
			<enumeration value="gatewayOr"/>
			<enumeration value="gatewayEvent"/>
			

			<!-- 
				1. how to configure adhoc start event?
				2. how to specify interrupting for the start event?
				3. How to create an error start event? 
			-->

			<enumeration value="start"/>
			<enumeration value="adhocStartEvent"/>
			<!-- startMessage -->
			<enumeration value="msgStartEventInterrupting"/>
			<enumeration value="msgStartEventNonInterrupting"/>
			<enumeration value="contentStartEventInterrupting"/>
			<enumeration value="contentStartEventNonInterrupting"/>
			<enumeration value="timerStartEventInterrupting"/>
			<enumeration value="timerStartEventNonInterrupting"/>
			<enumeration value="errorStartEvent"/>


			<!-- 
				1. How to create an error end event and terminate? 
			-->
			<enumeration value="end"/>			
			<enumeration value="terminate"/>
			<!-- endException -->
			<enumeration value="errorEndEvent"/>
			<enumeration value="messageEndEvent"/>
			
			<enumeration value="intermediateThrowMsgEvent"/>
			
			<enumeration value="intermedCatchMsgEventNonBoundary"/>
			<enumeration value="intermedCatchContentEventNonBoundary"/>
			<enumeration value="intermedCatchTimerEventNonBoundary"/>
			<enumeration value="intermedCatchTrackingEventNonBoundary"/>

			<enumeration value="intermedCatchErrorEventBoundary"/>
			<enumeration value="intermedCatchMsgEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchMsgEventBoundaryNonInterrupting"/>
			<enumeration value="intermedCatchContentEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchContentEventBoundaryNonInterrupting"/>
			<enumeration value="intermedCatchTimerEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchTimerEventBoundaryNonInterrupting"/>

			<enumeration value="swimlane"/>
			<enumeration value="note"/>
			<enumeration value="group"/>
		</restriction>
	</simpleType>
	    
	<simpleType name="ServiceNodeType">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <restriction base="string">
			<enumeration value="StartPoint"/>
			<enumeration value="ExitPoint"/>
			<enumeration value="SubProcess"/>
			<enumeration value="Coach"/>
			<enumeration value="CoachNG"/>
			<enumeration value="Step"/>
			<enumeration value="TaskAction"/>
			<enumeration value="PostponeAction"/>
			<enumeration value="TaskSender"/>
			<enumeration value="Script"/>
			<enumeration value="Switch"/>
			<enumeration value="Exception"/>
			<enumeration value="InvokeUca"/>
			<enumeration value="TrackingPoint"/>
			<enumeration value="JavaConnector"/>
			<enumeration value="WSConnector"/>
			<enumeration value="ILOGConnector"/>
			<enumeration value="ILOGDecision"/>
			<enumeration value="SCAConnector"/>
			<enumeration value="ECMConnector"/>
			<enumeration value="note"/>
			<enumeration value="Scriptlet"/>
			<enumeration value="CatchException"/>
			<enumeration value="AttachedErrorEvent"/>
			<enumeration value="StayOnPage"/>
		</restriction>
	</simpleType>

    <complexType name="BaseItem">
		<sequence>
		    <element name="id" type="string"/>
		    <element name="label" type="string"/>
		    <element name="x" type="int"/>
		    <element name="y" type="int"/>
		</sequence>
    </complexType>
    <complexType name="TextLinePosition">
		<sequence>
		    <element name="x" type="int"/>
		    <element name="y" type="int"/>
		    <element name="width" type="int"/>
		    <element name="height" type="int"/>
		</sequence>
    </complexType>
    <complexType name="Item">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:BaseItem">
    			<sequence>
				    <element name="type" type="tns:NodeType"/>		
				    <element name="category" type="tns:NodeCategoryType" /> 
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="ServiceItem">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:BaseItem">
    			<sequence>
				    <element name="type" type="tns:ServiceNodeType"/>		    
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

	<simpleType name="BPMN2ActivityType">
        <restriction base="string">
			<enumeration value="None"/>
			<enumeration value="UserTask"/>
			<enumeration value="DecisionTask"/>
			<enumeration value="ServiceTask"/>
			<enumeration value="ScriptTask"/>
			<enumeration value="CalledProcess"/>
			<enumeration value="SubProcess"/>
			<enumeration value="Event_SubProcess"/>
		</restriction>
	</simpleType>

    <!-- complexType name="Implementation">
		<sequence>
			<element name="bpmn2TaskType" type="tns:BPMN2ActivityType"/>
			<element name="poType" type="string"/>
			<element name="poId" type="string"/>
			<choice>
				<element name="snapshotId" type="string"/>
				<element name="branchId" type="string"/>
			</choice>	
		</sequence>
    </complexType-->
    
    <complexType name="Node">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:Item">
    			<sequence>
				    <element name="colorIcon" type="string"/>
				    <element name="lane" type="string"/>
					<element name="bpmn2TaskType" type="tns:BPMN2ActivityType"/>
					<element name="poType" type="string"/>
					<element name="serviceType" type="string">
						<annotation>
							<documentation>only used when poType is Service, we need this extra information to tell UI how to drilldown service. Here are the supported values:
	1. Rule Service
	3. Human Service
	4. Integration Service
	6. General System Service
	7. SCA Service
</documentation>
						</annotation></element>
					<element name="poId" type="string"/>
					<choice>
						<element name="snapshotId" type="string"/>
						<element name="branchId" type="string"/>
					</choice>
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    				<element name="attachedEvents" type="tns:AttachedEvent" minOccurs="0" maxOccurs="unbounded"/>
				    <element name="loopType" type="tns:LoopType"/>
				    <element name="MIOrdering" type="tns:MILoopOrdering"/>
				    <element name="preAssignment" type="boolean"/>
				    <element name="postAssignment" type="boolean"/>
				    <element name="conditional" type="boolean"/>
				    <element name="eventActionType" type="int"/>
				    <element name="eventSubProcType" type="tns:EventSubProcType"/>
				    <element name="interrupting" type="boolean"/>

					<!-- counter and active are used in portal -->
				    <!-- the number of the instances that has token in this node, such as #2, #3, etc-->
				    <element name="counter" type="string"/>
				    <!-- an indicator to tell whether this node is active -->
				    <element name="active" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="CaseNode">
    <complexContent>
    		<extension base="tns:Node">
    			<sequence>
				    <element name="activityOptionType" type="string"/>
					<element name="conditionTriggerType" type="string"/>
					<element name="activityExecutionType" type="string"/>
				    <element name="isHidden" type="boolean"/>
				    <element name="isRepeatable" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Note">
        <complexContent>
    		<extension base="tns:Node">
    			<sequence>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="ServiceNode">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:ServiceItem">
    			<sequence>
					<element name="poType" type="string"/>
					<element name="poId" type="string"/>
					<choice>
						<element name="snapshotId" type="string"/>
						<element name="branchId" type="string"/>
					</choice>
					<element name="serviceType" type="string">
						<annotation>
							<documentation>need this extra information to tell UI how to drilldown service. Here are the supported values:
	1. Rule Service
	3. Human Service
	4. Integration Service
	6. General System Service
	7. SCA Service
</documentation>
						</annotation></element>					
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    				<element name="attachedEvents" type="tns:AttachedEvent" minOccurs="0" maxOccurs="unbounded"/>
				    <element name="preAssignment" type="boolean"/>
				    <element name="postAssignment" type="boolean"/>
				    
				    <!-- The following two new elements are not to address any existing bugs, instead it is a new requirement from one specific customer. -->
				    <element name="guid" type="string"/>
				    <element name="ui" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
	<simpleType name="ColorType">
        <restriction base="string">
			<enumeration value="Default"/>
			<enumeration value="Red"/>
			<enumeration value="Orange"/>
			<enumeration value="Yellow"/>
			<enumeration value="Green"/>
			<enumeration value="Blue"/>
			<enumeration value="Purple"/>
			<enumeration value="Gray"/>
		</restriction>
	</simpleType>
	    
    <complexType name="Swimlane">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
    				<element name="isSystem" type="boolean" />
    				<element name="color" type="tns:ColorType" />
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    				<element name="children" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Group">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
				    <element name="lane" type="string"/>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="Milestone">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Link">
		<sequence>
			<element name="id" type="string" />
			<element name="name" type="string" />
			<element name="start" type="string" />
			<element name="startPosition" type="tns:PortType" />
			<element name="end" type="string" />
			<element name="endPosition" type="tns:PortType" />
			<element name="showName" type="boolean" />
			<element name="showEndState" type="boolean" />
			<element name="endState" type="string" />			
			<element name="endStateType" type="string" />			
			<element name="linkLabelPosition" type="double" />
			<element name="gfx" type="string"/>
			<!-- inCriticalPath is used in portal only -->
			<element name="inCriticalPath" type="boolean" />			
		</sequence>
    </complexType>

	<simpleType name="LinkSourceType">
		<restriction base="string">
			<enumeration value="Activity"/>
			<enumeration value="Gateway"/>
			<enumeration value="Event"/>
		</restriction>
	</simpleType>
	    
    <complexType name="BPDLink">
    	<complexContent>
    		<extension base="tns:Link">
    			<sequence>
					<element name="needDefaultMarker" type="boolean" />
					<element name="needDiamondMarker" type="boolean" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

	<simpleType name="PortType">
		<restriction base="string">
			<enumeration value="topLeft"/>
			<enumeration value="topCenter"/>
			<enumeration value="topRight"/>
			<enumeration value="leftTop"/>
			<enumeration value="leftCenter"/>
			<enumeration value="leftBottom"/>
			<enumeration value="bottomLeft"/>
			<enumeration value="bottomCenter"/>
			<enumeration value="bottomRight"/>
			<enumeration value="rightTop"/>
			<enumeration value="rightCenter"/>
			<enumeration value="rightBottom"/>
		</restriction>
	</simpleType>
	
    <complexType name="BendPoints">
		<sequence>
			<element name="intermediatePoints" type="tns:BendPoint" maxOccurs="unbounded"/>
		</sequence>
    </complexType>
    	
    <complexType name="BendPoint">
		<sequence>
			<element name="x" type="int" />
			<element name="y" type="int" />
		</sequence>
    </complexType>
        
	<simpleType name="VariableType">
		<restriction base="string">
			<enumeration value="input"/>
			<enumeration value="output"/>
			<enumeration value="fault"/>
			<enumeration value="input_output"/>
			<enumeration value="private"/>
			<enumeration value="case_property"/>
		</restriction>
	</simpleType>
	    
    <complexType name="Variable">
    	<complexContent>
    		<extension base="pref:NamedElement">
				<sequence>
					<element name="poId" type="string" />
					<element name="poName" type="string" />
					<choice>
						<element name="snapshotId" type="string" />
						<element name="branchId" type="string" />
					</choice>
					<element name="isList" type="boolean" />
					<element name="type" type="tns:VariableType" />
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="ProcessKPI">
    	<complexContent>
    		<extension base="pref:NamedElement">
				<sequence>
					<element name="poId" type="string" />
					<choice>
						<element name="snapshotId" type="string" />
						<element name="branchId" type="string" />
					</choice>
					<element name="SettingsType" type="string" />
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="tBPDToken">
		<sequence>
			<element name="instanceId" type="string" />
			<element name="createTime" type="dateTime" />
			<element name="createTimeLong" type="long" />
			<element name="active" type="boolean" />
			<element name="tokenId" type="string" />
		</sequence>
    </complexType>    

    <complexType name="WorkSchedule">
		<sequence>
			<element name="timeScheduleType" type="int" />
			<element name="timeScheduleName" type="string" />
			<element name="timeScheduleExpression" type="string" />
			<element name="timezoneType" type="int" />
			<element name="timezone" type="string" />
			<element name="timezoneExpression" type="string" />
			<element name="holidayScheduleType" type="int" />
			<element name="holidayScheduleName" type="string" />
			<element name="holidayScheduleExpression" type="string" />
		</sequence>
    </complexType>
    
  	<complexType name="FolderStructure">
		<sequence>
			<element name="value" type="string" />
			<element name="subFolder" type="tns:FolderStructure" minOccurs="0" maxOccurs="unbounded" /> 
		</sequence>
    </complexType>
    
    <complexType name="BPDProperties">
		<sequence>
			<element name="variables" type="tns:Variable" minOccurs="0" maxOccurs="unbounded"/>
			<element name="workSchedule" type="tns:WorkSchedule" />
			<element name="KPIs" type="tns:ProcessKPI" minOccurs="0" maxOccurs="unbounded"/>
			<element name="folder" type="tns:FolderStructure" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
    </complexType>

	<complexType name="ILOGVisualModel">
		<complexContent>
			<extension base="pref:Data">
				<sequence>
					<element name="name" type="string" />
					<element name="desc" type="string" />
					<element name="richDesc" type="string" />
					<element name="poId" type="string" />
					<element name="poVersionId" type="string" />
					<element name="identifier" type="string" />
					<element name="id" type="string" />
					<element name="width" type="int" />
					<element name="height" type="int" />
					<element name="label" type="string" />
					<element name="items" type="tns:BaseItem" minOccurs="0"
						maxOccurs="unbounded" />
					<element name="links" type="tns:Link" minOccurs="0"
						maxOccurs="unbounded" />
					<element name="properties" type="tns:BPDProperties" />
					<element name="tasks" type="cmn:Map">
						<annotation>
							<documentation>Key is the flow object id, value is an array of task details
							</documentation>
						</annotation>
					</element>
					<element name="activeTasks" type="cmn:Map">
						<annotation>
							<documentation>Key is the flow object id, value is an array of task details
							</documentation>
						</annotation>
					</element>
					<element name="tokens" type="cmn:Map">
						<annotation>
							<documentation>key is the flow object id, and value is an array of tokens in the current BPD
							</documentation>
						</annotation>
					</element>
					<element name="textPositions" type="cmn:Map" minOccurs="0"
						maxOccurs="unbounded" />
				</sequence>
			</extension>
		</complexContent>
	</complexType>
    
    <complexType name="ILOGServiceVisualModel">
    	<complexContent>
    		<extension base="tns:ILOGVisualModel">
    			<sequence>
				    <element name="serviceType" type="string"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>     

</schema>
+ View example content
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bpm:ResponseData xmlns:bpm="http://rest.bpm.ibm.com/v1/data"
	xmlns:ex="http://rest.bpm.ibm.com/v1/data/exception">
	<status>200</status>
	<data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:ns5="http://rest.bpm.ibm.com/v1/data/bpd/visual" xsi:type="ns5:ILOGVisualModel">
		<name>HR Open New Position</name>
		<desc></desc>
		<poId>25.c904b3b1-afc1-4698-bf5a-a20892c20275</poId>
		<poVersionId>0fe3587a-51ab-4c92-a3f1-3738a293b0f7</poVersionId>
		<identifier>id</identifier>
		<id>bpdid:3b30cfc1faeee4cf:588c996a:132a68ac8dc:-7fbb</id>
		<label>label</label>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc</id>
			<label>If the General Manager rejects
				the requisition, the hiring manag...
				is notified of the rejection and
				the requisition is terminated.
</label>
			<x>277</x>
			<y>53</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>186</width>
			<height>63</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd</id>
			<label>If the General Manager
				approves the requisition, it
				is routed to Human Resources. 
</label>
			<x>645</x>
			<y>114</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>172</width>
			<height>49</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe</id>
			<label>The General Manager evaluates
				the submitted requisition and
				either approves it or rejects it.
</label>
			<x>109</x>
			<y>48</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>171</width>
			<height>50</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff</id>
			<label>If the requisition is to fill an
				existing position, it is routed
				directly to Human Resources. 
</label>
			<x>745</x>
			<y>82</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>173</width>
			<height>50</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800</id>
			<label>If the requisition is to
				fill a new position, it is
				routed to the General
				Manager for approval.
</label>
			<x>458</x>
			<y>107</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>128</width>
			<height>65</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801</id>
			<label>The hiring manager submits
				a job requisition.
</label>
			<x>157</x>
			<y>118</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>148</width>
			<height>37</height>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8</id>
			<label>Start</label>
			<x>18</x>
			<y>53</y>
			<type>start</type>
			<category>StartEvent</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</id>
			<label>Submit job
				requisition</label>
			<x>193</x>
			<y>30</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/blue_75x55.gif</colorIcon>
			<lane>Hiring Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</poId>
			<branchId>2063.1a52abd6-b068-4f9e-91a9-ded9793eb34e</branchId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<counter>#2</counter>
			<active>true</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</id>
			<label>Need GM
				approval?</label>
			<x>325</x>
			<y>49</y>
			<type>gateway</type>
			<category>Gateway</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ec</id>
			<label>Hiring Manager</label>
			<x>0</x>
			<y>0</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Green</color>
			<width>968</width>
			<height>187</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</id>
			<label>GM
				approved?</label>
			<x>442</x>
			<y>54</y>
			<type>gateway</type>
			<category>Gateway</category>
			<lane>General Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</id>
			<label>Approve or
				reject
				requisition</label>
			<x>317</x>
			<y>35</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/purple_75x55.gif</colorIcon>
			<lane>General Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.7f854d48-db50-49fd-9229-929f7840394b</poId>
			<branchId>2063.1a52abd6-b068-4f9e-91a9-ded9793eb34e</branchId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67eb</id>
			<label>General Manager</label>
			<x>0</x>
			<y>187</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Blue</color>
			<width>968</width>
			<height>163</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2</id>
			<label>End</label>
			<x>752</x>
			<y>51</y>
			<type>end</type>
			<category>EndEvent</category>
			<lane>Human Resources</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</id>
			<label>Find job
				candidates</label>
			<x>618</x>
			<y>28</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/yellow_75x55.gif</colorIcon>
			<lane>Human Resources</lane>
			<bpmn2TaskType>None</bpmn2TaskType>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ea</id>
			<label>Human Resources</label>
			<x>0</x>
			<y>350</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Default</color>
			<width>968</width>
			<height>169</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</id>
			<label>Notify hiring
				manager</label>
			<x>532</x>
			<y>35</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/orange_75x55.gif</colorIcon>
			<lane>System</lane>
			<bpmn2TaskType>None</bpmn2TaskType>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787</id>
			<label>Requisition
				terminated
</label>
			<x>665</x>
			<y>58</y>
			<type>end</type>
			<category>EndEvent</category>
			<lane>System</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e9</id>
			<label>System</label>
			<x>0</x>
			<y>519</y>
			<type>swimlane</type>
			<isSystem>true</isSystem>
			<color>Purple</color>
			<width>968</width>
			<height>140</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc</_reference>
			</children>
		</items>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-674e</id>
			<name>to Submit job requisition</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:117,&quot;y&quot;:62},{&quot;x&quot;:117,&quot;y&quot;:65}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-673e</id>
			<name>Rejected</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</start>
			<startPosition>bottomCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.8121827411167513</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:482,&quot;y&quot;:589}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>true</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6746</id>
			<name>Approved --&gt; proceed to HR</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:570,&quot;y&quot;:253},{&quot;x&quot;:570,&quot;y&quot;:413}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-677a</id>
			<name>Approval required</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</start>
			<startPosition>bottomCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</end>
			<endPosition>topCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:365,&quot;y&quot;:149},{&quot;x&quot;:388,&quot;y&quot;:149}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6772</id>
			<name>No approval needed --&gt; proceed to HR</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</end>
			<endPosition>topCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.49320543565147884</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:689,&quot;y&quot;:61}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>true</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-676a</id>
			<name>to Need GM approval?</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:306,&quot;y&quot;:65},{&quot;x&quot;:306,&quot;y&quot;:61}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6762</id>
			<name>to End</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:732,&quot;y&quot;:63},{&quot;x&quot;:732,&quot;y&quot;:60}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-675c</id>
			<name>to GM approved?</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:427,&quot;y&quot;:70},{&quot;x&quot;:427,&quot;y&quot;:66}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6754</id>
			<name>to Requisition terminated</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:646,&quot;y&quot;:70},{&quot;x&quot;:646,&quot;y&quot;:67}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<properties>
			<variables>
				<name>requisition</name>
				<poId>12.0b208895-bdb3-4e67-a402-af17a05858d2</poId>
				<poName>Requisition</poName>
				<branchId>2063.1a52abd6-b068-4f9e-91a9-ded9793eb34e</branchId>
				<isList>false</isList>
				<type>private</type>
			</variables>
			<variables>
				<name>currentPosition</name>
				<poId>12.0ea493a3-08b7-4456-84be-443c8d41bc8b</poId>
				<poName>Position</poName>
				<branchId>2063.1a52abd6-b068-4f9e-91a9-ded9793eb34e</branchId>
				<isList>false</isList>
				<type>private</type>
			</variables>
			<workSchedule>
				<timeScheduleType>0</timeScheduleType>
				<timeScheduleName>(use default)</timeScheduleName>
				<timezoneType>0</timezoneType>
				<timezone>(use default)</timezone>
				<holidayScheduleType>0</holidayScheduleType>
				<holidayScheduleName>(use default)</holidayScheduleName>
			</workSchedule>
			<KPIs>
				<name>Total Time (Clock)</name>
				<poId>49.67cbb213-0032-4f14-be44-7e9c7a1a146f</poId>
				<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			</KPIs>
		</properties>
		<tasks />
		<activeTasks>
			<item list="true" key="bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db">
				<value xmlns:tsk="http://rest.bpm.ibm.com/v1/data/task"
					xsi:type="tsk:TaskDetails">
					<activationTime>2011-09-26T23:18:08Z</activationTime>
					<clientTypes>IBM_WLE_Coach</clientTypes>
					<completionTime xsi:nil="true" />
					<containmentContextID>3</containmentContextID>
					<description>Task: Submit requisition</description>
					<displayName>Task: Submit requisition</displayName>
					<dueTime>2011-09-27T00:18:08Z</dueTime>
					<kind>KIND_PARTICIPATING</kind>
					<lastModificationTime>2011-09-26T23:18:08Z</lastModificationTime>
					<name>Submit job requisition</name>
					<originator>tw_admin</originator>
					<owner>tw_admin</owner>
					<priority>30</priority>
					<startTime>2011-09-26T23:18:08Z</startTime>
					<state>STATE_CLAIMED</state>
					<tkiid>3</tkiid>
					<piid>3</piid>
					<status>New</status>
					<priorityName>Normal</priorityName>
					<assignedTo>tw_admin</assignedTo>
					<assignedToType>user</assignedToType>
					<data />
					<serviceID>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</serviceID>
					<flowObjectID>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</flowObjectID>
				</value>
				<value xmlns:tsk="http://rest.bpm.ibm.com/v1/data/task"
					xsi:type="tsk:TaskDetails">
					<activationTime>2011-09-26T23:18:13Z</activationTime>
					<clientTypes>IBM_WLE_Coach</clientTypes>
					<completionTime xsi:nil="true" />
					<containmentContextID>4</containmentContextID>
					<description>Task: Submit requisition</description>
					<displayName>Task: Submit requisition</displayName>
					<dueTime>2011-09-27T00:18:13Z</dueTime>
					<kind>KIND_PARTICIPATING</kind>
					<lastModificationTime>2011-09-26T23:18:13Z</lastModificationTime>
					<name>Submit job requisition</name>
					<originator>tw_admin</originator>
					<owner>tw_admin</owner>
					<priority>30</priority>
					<startTime>2011-09-26T23:18:13Z</startTime>
					<state>STATE_CLAIMED</state>
					<tkiid>4</tkiid>
					<piid>4</piid>
					<status>New</status>
					<priorityName>Normal</priorityName>
					<assignedTo>tw_admin</assignedTo>
					<assignedToType>user</assignedToType>
					<data />
					<serviceID>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</serviceID>
					<flowObjectID>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</flowObjectID>
				</value>
			</item>
		</activeTasks>
		<tokens>
			<item list="true" key="bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db">
				<value xsi:type="ns5:tBPDToken">
					<instanceId>3</instanceId>
					<createTime>2011-09-26T23:18:07Z</createTime>
					<createTimeLong>1317079087790</createTimeLong>
					<active>true</active>
					<tokenId>2</tokenId>
				</value>
				<value xsi:type="ns5:tBPDToken">
					<instanceId>4</instanceId>
					<createTime>2011-09-26T23:18:12Z</createTime>
					<createTimeLong>1317079092602</createTimeLong>
					<active>true</active>
					<tokenId>2</tokenId>
				</value>
			</item>
		</tokens>
		<textPositions>
			<item key="Start">
				<value xsi:type="ns5:TextLinePosition">
					<x>-13</x>
					<y>-12</y>
					<width>27</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Submit job">
				<value xsi:type="ns5:TextLinePosition">
					<x>15</x>
					<y>5</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>16</x>
					<y>19</y>
					<width>56</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Need GM">
				<value xsi:type="ns5:TextLinePosition">
					<x>-26</x>
					<y>-12</y>
					<width>52</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approval?">
				<value xsi:type="ns5:TextLinePosition">
					<x>-27</x>
					<y>2</y>
					<width>55</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="GM">
				<value xsi:type="ns5:TextLinePosition">
					<x>-9</x>
					<y>-12</y>
					<width>19</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approved?">
				<value xsi:type="ns5:TextLinePosition">
					<x>-29</x>
					<y>2</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approve or">
				<value xsi:type="ns5:TextLinePosition">
					<x>14</x>
					<y>-2</y>
					<width>61</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="reject">
				<value xsi:type="ns5:TextLinePosition">
					<x>29</x>
					<y>12</y>
					<width>31</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>16</x>
					<y>26</y>
					<width>56</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="End">
				<value xsi:type="ns5:TextLinePosition">
					<x>-10</x>
					<y>-12</y>
					<width>21</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Find job">
				<value xsi:type="ns5:TextLinePosition">
					<x>22</x>
					<y>5</y>
					<width>44</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="candidates">
				<value xsi:type="ns5:TextLinePosition">
					<x>14</x>
					<y>19</y>
					<width>60</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Notify hiring">
				<value xsi:type="ns5:TextLinePosition">
					<x>10</x>
					<y>5</y>
					<width>69</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="manager">
				<value xsi:type="ns5:TextLinePosition">
					<x>20</x>
					<y>19</y>
					<width>48</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>-30</x>
					<y>-12</y>
					<width>61</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="terminated">
				<value xsi:type="ns5:TextLinePosition">
					<x>-29</x>
					<y>2</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>16</y>
					<width>0</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The hiring manager submits ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>157</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="a job requisition.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>91</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the requisition is to">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>119</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="fill a new position, it is">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>124</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="routed to the General ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>121</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Manager for approval.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>42</y>
					<width>123</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the requisition is to fill an">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>153</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="existing position, it is routed">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>156</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="directly to Human Resources. ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>172</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The General Manager evaluates ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>180</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the submitted requisition and ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>164</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="either approves it or rejects it.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>168</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the General Manager ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>132</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approves the requisition, it">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>148</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="is routed to Human Resources. ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>179</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the General Manager rejects">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>169</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the requisition, the hiring manager ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>192</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="is notified of the rejection and">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>167</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the requisition is terminated.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>42</y>
					<width>157</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Submit job requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>133</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Rejected">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>49</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approved --&gt; proceed to HR">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>157</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approval required">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>97</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="No approval needed --&gt; proceed to HR">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>215</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Need GM approval?">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>125</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to End">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>35</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to GM approved?">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>95</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Requisition terminated">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>138</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
	</data>
</bpm:ResponseData>

MIME type: image/jpeg

Error Response content

Detailed error information.

The default content type is application/json.

MIME type: application/json


+ View schema
{  "description": "WLE Error Response", 
   "type": "object",
   "properties":
   {  "status": {"type": "string",
         "description": "The status of the previous API call."
      },
      "exceptionType": {"type": "string",
         "description": "The classname associated with the exception."
      },
      "errorNumber": {"type": "string",
         "description": "Message ID of the exception."
      },
      "errorMessage": {"type": "string",
         "description": "Message text of the exception."
      },
      "errorMessageParameters": {"type": ["string"], "optional": true,
         "description":"Message text parameters of the exception."
      },
      "programmersDetails": {"type": "object", "optional": true,
         "description":"Additional exception details, for example, a stack trace."
      }
   }
} 

Status codes

The method returns one of the following status codes:
CodeDescription
200 OKSuccess completion.
400 Bad RequestThe parameters are not valid or they are missing.
401 UnauthorizedThe caller is not authorized for this request.
404 Not Found
The process model does not exist.
406 Not AcceptableThe requested content type or content encoding is not supported.
500 Internal Server ErrorA severe problem has occurred, programmer's details are provided.

Available since

7.5.1

Parent Topic: Process Instances Visual Model Resource