SOAP API - replaceUser
The table summarizes the SOAP API - replaceUser.
Request | Uses the replaceUserRequest element (from the ProcessManagement schema) |
Response | Returns a replaceUserResponse element (from the ProcessManagement schema) |
Example 1 - passing a user name | Request:
<soapenv:Envelope xmlns:proc="http://www.tibco.com/bx/2009/management/processManagerType" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> </soapenv:Header> <soapenv:Body> <proc:replaceUserRequest> <proc:user>Clint Hill</proc:user> </proc:replaceUserRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <replaceUserResponse xmlns="http://www.tibco.com/bx/2009/management/processManagerType"> <count>4</count> <status>COMPLETED</status> </replaceUserResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
|
Example 2 - passing process instance IDs | Request:
<soapenv:Envelope xmlns:proc="http://www.tibco.com/bx/2009/management/processManagerType" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> </soapenv:Header> <soapenv:Body> <proc:replaceUserRequest> <proc:processInstances> <proc:processInstance>pvm:0a122</proc:processInstance> <proc:processInstance>pvm:0a123</proc:processInstance> </proc:processInstances> </proc:replaceUserRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <replaceUserResponse xmlns="http://www.tibco.com/bx/2009/management/processManagerType"> <count>2</count> <status>COMPLETED</status> </replaceUserResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.