SOAP API - updateResource
The table summarizes the SOAP API - updateResource.
Request | Uses the updateResource element (from the OrgResourceService schema) |
Parameter notes |
|
Response | Returns a updateResourceResponse element (from the OrgResourceService schema) |
Example | Request:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://resource.api.de.bpm.tibco.com"> <soapenv:Header/> <soapenv:Body> <res:updateResource model-version="2"> <resource guid="98C600DC-0117-4DA5-8B8C-14600377F121"> <set-location guid="_jqpJ4MpREd64gM7QE8RwxA"/> <add-position guid="__O368MpREd64gM7QE8RwxA"/> <remove-position guid="_2ieLgMpREd64gM7QE8RwxA"/> <remove-capability guid="_xI4ikMpPEd64gM7QE8RwxA"/> </resource> </res:updateResource> </soapenv:Body> </soapenv:Envelope> |
Response:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <updateResourceResponse xmlns="http://resource.api.de.bpm.tibco.com"> <resource container-id="2" container-name="Eastern" guid="98C600DC-0117-4DA5-8B8C-14600377F121" label="Tony Pulis" model-version="2" name="Tony Pulis" resource-type="HUMAN" xmlns=""> <location guid="_jqpJ4MpREd64gM7QE8RwxA" label="Palo Alto" name="PaloAlto"/> <position guid="_ArjUUMpSEd64gM7QE8RwxA" label="Sales Representatives" name="SalesRepresentatives"/> <position guid="__O368MpREd64gM7QE8RwxA" label="Sales Managers" name="SalesManagers"/> <group guid="_PishwKm-EeGVBPh-9xEbfQ" label="Create Resource Admin" name="CreateResourceAdmin"/> <capability guid="_iGzOAMpQEd64gM7QE8RwxA" label="Orientation Completed" name="OrientationCompleted"/> <capability guid="_tCpQgMpQEd64gM7QE8RwxA" label="Technical Rating" name="TechnicalRating"> <qualifier-value>10</qualifier-value> </capability> <privilege guid="_dfZioKm9EeGVBPh-9xEbfQ" label="de_create_resource_admin" name="de_create_resource_admin"> <group guid="_PishwKm-EeGVBPh-9xEbfQ" label="Create Resource Admin" name="CreateResourceAdmin"/> </privilege> . . . </resource> </updateResourceResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.