IBM Business Process Manager, Version 8.5.5

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

Use this method to retrieve the visual model (json, xml or image) for a service diagram.

Sample method invocation

GET /rest/bpm/wle/v1/visual/serviceModel/{serviceId}[?snapshotId={string}][&branchId={string}][&projectId={string}][&image={boolean}]

Parameters

Note: In order to identify the correct snapshot to be used, you must specify one of the snapshotId, branchId, or projectId 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 and projectId parameters are ignored.
2) If the branchId parameter is specified, then the tip (current) snapshot of the specified branch (track) will be used, and the projectId parameter is ignored.
3) If the projectId parameter is specified, then the tip (current) snapshot of the default branch (track) within that process application will be used.
Optional parameters
NameValue TypeDescription
snapshotId string
The ID of the snapshot associated with the visual model for the service diagram. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
branchId string
The ID of the branch associated with the visual model for the service diagram. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
projectId string
The ID of the Process App or Toolkit associated with the visual model for the service diagram. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
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 service diagram.

The default content type is application/json.

MIME type: application/json


+ View schema
{
    "status":"200",
    "data":{
        "name": {"type": "string", "description": "The name of the service diagram."},
        "desc": {"type": "string", "description": "The description of the service diagram."},
        "poId": {"type": "string", "description": "The persistent object ID of the service diagram."},
        "poVersionId": {"type": "string", "description": "The persistent object version ID of the service diagram."},
        "serviceType": {"type": "string", "description": "The type of the service.",
		"enum": 
		   [
			    "Human Service, 
		            "SCA Service", 			
		            "Integration Service", 
	        	    "Rule Service",     
		            "General System Service"
		   ]
	},
        "identifier":"id",
        "id": {"type": "string", "description": "The BPMN ID of the service diagram."},
        "label":"label",
        "items": {"type": "[object]", "description": "The list of the flow objects and notes in the service diagram.", 
       	   [
              {
                "width": {"type": "integer", "description": "The width of the item. It only applies to the note."},
                "height": {"type": "integer", "description": "The height of the item. It only applies to the note."},
                "id": {"type": "string", "description": "The BPMN ID of the flow object or note."},
                "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":
	         	[
				"StartPoint",
				"ExitPoint",
				"SubProcess",
				"Coach",
				"Step",
				"TaskAction",
				"PostponeAction",
				"TaskSender",
				"Script",
				"Switch",
				"Exception",
				"InvokeUca",
				"TrackingPoint",
				"JavaConnector",
				"WSConnector",
				"ILOGConnector",
				"ILOGDecision",
				"SCAConnector",
				"note",
				"Scriptlet",
				"CatchException"
		         ]
		      },
                "snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the implementation service, undercover agent, or coach. 
			It only applies to coaches, InvokeUca or SubProcess. Either 'snapshotId' or 'branchId' must be specified when there is an implementation."},
                "branchId":{"type": "string", "description": "The ID of the branch associated with the implementation service, undercover agent, or coach. 
			It only applies to coaches, InvokeUca or SubProcess. Either 'snapshotId' or 'branchId' must be specified when there is an implementation."},
                "poId":{"type": "string", "description": "The persistent object ID of the implementation service, undercover agent, or coach. 
				It only applies to coaches, InvokeUca or SubProcess."},
                "serviceType":{"type": "string", "description": "The service type of the implementation for the item.", 
	             "enum":
			[
				"Rule Service",
				"Human Service",
				"Integration Service",
				"General System Service",
				"SCA Service"
			]
		     },						
                "successors":[],
                "preAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments. It does not apply to StartPoint and note."},
                "postAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments. It does not apply to StartPoint and note."}
	      }					                		
      
           ]
        },
        "links": {"type": "[object]", "description": "The list of flows in the service diagram.",
           [
             {
                "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 source.", 
		        "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
                },                
                "showName":{"type": "boolean", "description": "Indicates whether to display the link name."},
                "showEndState":{"type": "boolean", "description": "Indicates whether to display 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}]}"}
            	}
            ]
        },
        "properties":{
            "variables":[{
                    "poId":{"type": "string", "description": "The persistent object ID of the variable type."},
                    "poName":{"type": "string", "description": "The name of the variable type."},
                		"snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the type of this variable. 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",
				"fault",
				"input_output",
				"private"                    
                    	   ]
                    },                    
                    "name":{"type": "string", "description": "The name of the variable."}
                }
            ]
        }
    }
}
+ View example content
{
    "status":"200",
    "data":{
        "serviceType":"Human Service",
        "name":"Submit Requisition",
        "poId":"1.551dd543-a770-4d6c-b0e0-1c9d61242e55",
        "poVersionId":"91e09db3-ebad-4e82-9ee2-8efba121a64d",
        "identifier":"id",
        "id":"1.551dd543-a770-4d6c-b0e0-1c9d61242e55",
        "label":"label",
        "items":[{
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "id":"2025.21b8b26a-71ef-4ecf-b38f-16a2eabb67f6",
                "label":"End",
                "x":788,
                "y":235,
                "type":"ExitPoint"
            },
            {
                "poType":"Coach",
                "poId":"3003.4d0763a6-1a8e-4942-81a5-f440d0a1aba7",
                "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":true,
                "postAssignment":false,
                "id":"2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0",
                "label":"Create job\u000arequisition",
                "x":253,
                "y":152,
                "type":"Coach"
            },
            {
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":true,
                "postAssignment":false,
                "id":"2025.204ff783-c15e-484b-ace8-8989d07f9825",
                "label":"Position type",
                "x":429,
                "y":167,
                "type":"Switch"
            },
            {
                "poType":"Coach",
                "poId":"3003.0ca58ecc-d1cf-4749-ac60-1766ad7b43a6",
                "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "id":"2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba",
                "label":"Confirm position\u000adetails",
                "x":571,
                "y":219,
                "type":"Coach"
            },
            {
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "id":"2025.38defd9d-731b-40be-bc55-b8394884f507",
                "label":"Initialize Output",
                "x":112,
                "y":152,
                "type":"Script"
            },
            {
                "poType":"Coach",
                "poId":"3003.9190b9d7-0371-4afd-bcd0-eaef3e69b866",
                "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "id":"2025.b3198a56-3426-476a-8538-59163fff35d0",
                "label":"Provide details\u000afor existing\u000aposition",
                "x":571,
                "y":89,
                "type":"Coach"
            },
            {
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "id":"StartNode",
                "label":"Start",
                "x":12,
                "y":167,
                "type":"StartPoint"
            },
            {
                "width":224,
                "height":74,
                "id":"2028.bf4b621e-9770-4403-a468-8d9958541c56",
                "label":"If the requisition is to fill an ...\u000aposition, the hiring manager fill...\u000acoach form with the position info...\u000a",
                "x":513,
                "y":11,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":200,
                "height":52,
                "id":"2028.dfb1f8b1-b3e2-4618-ac33-52b5a52940b8",
                "label":"The hiring manager reviews \u000aand confirms the information prov...\u000abefore submitting the job requisi...\u000a",
                "x":522,
                "y":308,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":183,
                "height":67,
                "id":"2028.f05c6208-b7db-41b1-adb7-1d4bccb625cd",
                "label":"The hiring manager fills out a \u000ajob requisition coach form, \u000arequesting to fill either a \"New\"...\u000aor an \"Existing\" position.\u000a",
                "x":7,
                "y":10,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            }
        ],
        "links":[{
                "id":"StartLink",
                "start":"StartNode",
                "startPosition":"rightCenter",
                "end":"2025.38defd9d-731b-40be-bc55-b8394884f507",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":74,\"y\":179},{\"x\":74,\"y\":186}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.c791c596-f74d-4371-af12-a08ca0bc18b1",
                "name":"Untitled",
                "start":"2025.b3198a56-3426-476a-8538-59163fff35d0",
                "startPosition":"leftTop",
                "end":"2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0",
                "endPosition":"topRight",
                "showName":false,
                "showEndState":true,
                "endState":"<< Back",
                "endStateType":"CoachButton",
                "linkLabelPosition":0.84375,
                "gfx":"{\"intermediatePoints\":[{\"x\":328,\"y\":107}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.2d090f2a-9060-4170-b019-f9cbbbeb7a15",
                "name":"Untitled",
                "start":"2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba",
                "startPosition":"leftBottom",
                "end":"2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0",
                "endPosition":"bottomRight",
                "showName":false,
                "showEndState":true,
                "endState":"<< Back",
                "endStateType":"CoachButton",
                "linkLabelPosition":0.8321917808219178,
                "gfx":"{\"intermediatePoints\":[{\"x\":328,\"y\":271}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.fc11b79d-42d0-4e2c-8a5f-f9bf64f19d50",
                "name":"ok",
                "start":"2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0",
                "startPosition":"rightCenter",
                "end":"2025.204ff783-c15e-484b-ace8-8989d07f9825",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":true,
                "endState":"Next >>",
                "endStateType":"CoachButton",
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":388,\"y\":186},{\"x\":388,\"y\":183}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.b074a5e9-7350-4bc2-8ae4-73da3df814ff",
                "name":"Untitled",
                "start":"2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba",
                "startPosition":"rightCenter",
                "end":"2025.21b8b26a-71ef-4ecf-b38f-16a2eabb67f6",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":true,
                "endState":"Submit",
                "endStateType":"CoachButton",
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":727,\"y\":253},{\"x\":727,\"y\":247}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.8591b83d-389b-41dd-b5b6-e5b46cfe4d58",
                "name":"Existing",
                "start":"2025.204ff783-c15e-484b-ace8-8989d07f9825",
                "startPosition":"rightCenter",
                "end":"2025.b3198a56-3426-476a-8538-59163fff35d0",
                "endPosition":"leftCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":516,\"y\":183},{\"x\":516,\"y\":123}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.071ffdee-a061-4419-9d6b-4f0ee3387524",
                "name":"Untitled",
                "start":"2025.38defd9d-731b-40be-bc55-b8394884f507",
                "startPosition":"rightCenter",
                "end":"2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.6a7d3557-493a-4abe-b48b-425661390228",
                "name":"New",
                "start":"2025.204ff783-c15e-484b-ace8-8989d07f9825",
                "startPosition":"rightCenter",
                "end":"2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba",
                "endPosition":"leftCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":516,\"y\":183},{\"x\":516,\"y\":253}]}",
                "inCriticalPath":false
            },
            {
                "id":"2027.3a304684-944d-4b52-aee6-06137df3a249",
                "name":"Untitled",
                "start":"2025.b3198a56-3426-476a-8538-59163fff35d0",
                "startPosition":"bottomRight",
                "end":"2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba",
                "endPosition":"topRight",
                "showName":false,
                "showEndState":true,
                "endState":"Next >>",
                "endStateType":"CoachButton",
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[]}",
                "inCriticalPath":false
            }
        ],
        "properties":{
            "variables":[{
                    "poName":"String",
                    "snapshotId":null,
                    "branchId":null,
                    "isList":false,
                    "type":"input",
                    "name":"instanceId"
                },
                {
                    "poId":"12.0b208895-bdb3-4e67-a402-af17a05858d2",
                    "poName":"Requisition",
                    "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                    "branchId":null,
                    "isList":false,
                    "type":"output",
                    "name":"requisition"
                },
                {
                    "poId":"12.0ea493a3-08b7-4456-84be-443c8d41bc8b",
                    "poName":"Position",
                    "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                    "branchId":null,
                    "isList":false,
                    "type":"output",
                    "name":"currentPosition"
                }
            ]
        }
    }
}

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:ILOGServiceVisualModel">
		<name>Submit Requisition</name>
		<poId>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</poId>
		<poVersionId>86514ae0-7899-4776-979f-a92c4f2f4f28</poVersionId>
		<identifier>id</identifier>
		<id>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</id>
		<label>label</label>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.21b8b26a-71ef-4ecf-b38f-16a2eabb67f6</id>
			<label>End</label>
			<x>788</x>
			<y>235</y>
			<type>ExitPoint</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.b3198a56-3426-476a-8538-59163fff35d0</id>
			<label>Provide details
				for existing
				position</label>
			<x>571</x>
			<y>89</y>
			<type>Coach</type>
			<poType>Coach</poType>
			<poId>3003.f12a16e5-bd7d-462f-899e-c83a08a48326</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0</id>
			<label>Create job
				requisition</label>
			<x>253</x>
			<y>152</y>
			<type>Coach</type>
			<poType>Coach</poType>
			<poId>3003.c5560ab5-6d98-4d6a-9e32-d255fc27e56d</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<preAssignment>true</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.38defd9d-731b-40be-bc55-b8394884f507</id>
			<label>Initialize Output</label>
			<x>112</x>
			<y>152</y>
			<type>Script</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba</id>
			<label>Confirm position
				details</label>
			<x>571</x>
			<y>219</y>
			<type>Coach</type>
			<poType>Coach</poType>
			<poId>3003.f81015c3-ba8e-4c79-a5c1-8f27d68a9e5e</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>2025.204ff783-c15e-484b-ace8-8989d07f9825</id>
			<label>Position
				type</label>
			<x>429</x>
			<y>167</y>
			<type>Switch</type>
			<preAssignment>true</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:ServiceNode">
			<id>StartNode</id>
			<label>Start</label>
			<x>12</x>
			<y>167</y>
			<type>StartPoint</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
		</items>
		<items xsi:type="ns5:Note">
			<id>2028.bf4b621e-9770-4403-a468-8d9958541c56</id>
			<label>If the requisition is to fill an ...
				position, the hiring manager fill...
				coach form with the position info...
</label>
			<x>513</x>
			<y>11</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>224</width>
			<height>74</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>2028.f05c6208-b7db-41b1-adb7-1d4bccb625cd</id>
			<label>The hiring manager fills out a
				job requisition coach form,
				requesting to fill either a &quot;New&quot;...
				or an &quot;Existing&quot; position.
</label>
			<x>7</x>
			<y>10</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>183</width>
			<height>67</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>2028.dfb1f8b1-b3e2-4618-ac33-52b5a52940b8</id>
			<label>The hiring manager reviews
				and confirms the information prov...
				before submitting the job requisi...
</label>
			<x>522</x>
			<y>308</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>200</width>
			<height>52</height>
		</items>
		<links>
			<id>StartLink</id>
			<start>StartNode</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.38defd9d-731b-40be-bc55-b8394884f507</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:74,&quot;y&quot;:179},{&quot;x&quot;:74,&quot;y&quot;:186}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.2d090f2a-9060-4170-b019-f9cbbbeb7a15</id>
			<name>Untitled</name>
			<start>2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba</start>
			<startPosition>leftBottom</startPosition>
			<end>2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0</end>
			<endPosition>bottomRight</endPosition>
			<showName>false</showName>
			<showEndState>true</showEndState>
			<endState>&lt;&lt; Back</endState>
			<endStateType>CoachButton</endStateType>
			<linkLabelPosition>0.8321917808219178</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:328,&quot;y&quot;:271}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.b074a5e9-7350-4bc2-8ae4-73da3df814ff</id>
			<name>Untitled</name>
			<start>2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.21b8b26a-71ef-4ecf-b38f-16a2eabb67f6</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>true</showEndState>
			<endState>Submit</endState>
			<endStateType>CoachButton</endStateType>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:727,&quot;y&quot;:253},{&quot;x&quot;:727,&quot;y&quot;:247}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.8591b83d-389b-41dd-b5b6-e5b46cfe4d58</id>
			<name>Existing</name>
			<start>2025.204ff783-c15e-484b-ace8-8989d07f9825</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.b3198a56-3426-476a-8538-59163fff35d0</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:516,&quot;y&quot;:183},{&quot;x&quot;:516,&quot;y&quot;:123}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.071ffdee-a061-4419-9d6b-4f0ee3387524</id>
			<name>Untitled</name>
			<start>2025.38defd9d-731b-40be-bc55-b8394884f507</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[]}</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.3a304684-944d-4b52-aee6-06137df3a249</id>
			<name>Untitled</name>
			<start>2025.b3198a56-3426-476a-8538-59163fff35d0</start>
			<startPosition>bottomRight</startPosition>
			<end>2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba</end>
			<endPosition>topRight</endPosition>
			<showName>false</showName>
			<showEndState>true</showEndState>
			<endState>Next &gt;&gt;</endState>
			<endStateType>CoachButton</endStateType>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[]}</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.6a7d3557-493a-4abe-b48b-425661390228</id>
			<name>New</name>
			<start>2025.204ff783-c15e-484b-ace8-8989d07f9825</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.7c5c6d7c-8e63-436a-b3c9-11160c44f2ba</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:516,&quot;y&quot;:183},{&quot;x&quot;:516,&quot;y&quot;:253}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.fc11b79d-42d0-4e2c-8a5f-f9bf64f19d50</id>
			<name>ok</name>
			<start>2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0</start>
			<startPosition>rightCenter</startPosition>
			<end>2025.204ff783-c15e-484b-ace8-8989d07f9825</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>true</showEndState>
			<endState>Next &gt;&gt;</endState>
			<endStateType>CoachButton</endStateType>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:388,&quot;y&quot;:186},{&quot;x&quot;:388,&quot;y&quot;:183}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<links>
			<id>2027.c791c596-f74d-4371-af12-a08ca0bc18b1</id>
			<name>Untitled</name>
			<start>2025.b3198a56-3426-476a-8538-59163fff35d0</start>
			<startPosition>leftTop</startPosition>
			<end>2025.a5822295-b44e-4b31-b6ff-279a9e36e1d0</end>
			<endPosition>topRight</endPosition>
			<showName>false</showName>
			<showEndState>true</showEndState>
			<endState>&lt;&lt; Back</endState>
			<endStateType>CoachButton</endStateType>
			<linkLabelPosition>0.84375</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:328,&quot;y&quot;:107}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
		</links>
		<properties>
			<variables>
				<name>instanceId</name>
				<poName>String</poName>
				<isList>false</isList>
				<type>input</type>
			</variables>
			<variables>
				<name>requisition</name>
				<poId>12.0b208895-bdb3-4e67-a402-af17a05858d2</poId>
				<poName>Requisition</poName>
				<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
				<isList>false</isList>
				<type>output</type>
			</variables>
			<variables>
				<name>currentPosition</name>
				<poId>12.0ea493a3-08b7-4456-84be-443c8d41bc8b</poId>
				<poName>Position</poName>
				<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
				<isList>false</isList>
				<type>output</type>
			</variables>
		</properties>
		<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="Provide details">
				<value xsi:type="ns5:TextLinePosition">
					<x>3</x>
					<y>-2</y>
					<width>83</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="for existing">
				<value xsi:type="ns5:TextLinePosition">
					<x>13</x>
					<y>12</y>
					<width>63</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="position">
				<value xsi:type="ns5:TextLinePosition">
					<x>23</x>
					<y>26</y>
					<width>43</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Create job">
				<value xsi:type="ns5:TextLinePosition">
					<x>16</x>
					<y>5</y>
					<width>57</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="Initialize Output">
				<value xsi:type="ns5:TextLinePosition">
					<x>2</x>
					<y>12</y>
					<width>85</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Confirm position">
				<value xsi:type="ns5:TextLinePosition">
					<x>-2</x>
					<y>5</y>
					<width>92</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="details">
				<value xsi:type="ns5:TextLinePosition">
					<x>26</x>
					<y>19</y>
					<width>36</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Position">
				<value xsi:type="ns5:TextLinePosition">
					<x>-22</x>
					<y>-12</y>
					<width>44</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="type">
				<value xsi:type="ns5:TextLinePosition">
					<x>-12</x>
					<y>2</y>
					<width>25</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<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="If the requisition is to fill an existing ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>204</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="position, the hiring manager fills out a ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>213</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="coach form with the position information. ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>232</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The hiring manager fills out a ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>165</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="job requisition coach form, ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>152</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="requesting to fill either a &quot;New&quot; ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>175</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="or an &quot;Existing&quot; position.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>42</y>
					<width>135</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The hiring manager reviews ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>156</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="and confirms the information provided ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>217</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="before submitting the job requisition.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>203</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>42</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>42</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Existing">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>43</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>42</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>42</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="New">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>23</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="ok">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>13</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>42</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<serviceType>Human Service</serviceType>
	</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 service 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: Service Visual Model Resource