Reassigning Approval Requests
This API reassigns the approval request. This API accepts the ID of the approval request, Id of the assignee and comments as input parameters.
API |
Signature |
---|---|
reassignRequest |
webService static Boolean reassignRequest(Id requestId, Id toAssigneeId, String comments) |
Request Parameters | |||
---|---|---|---|
Name |
Type |
Required? |
Description |
requestId | ID |
Yes |
ID of the approval request. |
toAssigneeId | ID |
Yes |
ID of the new assignee. |
comments | String |
Yes |
Comments |
Response Parameter | ||
---|---|---|
Name |
Type |
Description |
result | Boolean |
Returns true if the approval request is reassigned. |
Integration Details
Use the following information in your integrations with Conga Approvals API. Refer to Integrating Conga with External Systems to get started.
API Prerequisites
None.
Response/Request XML
Example Request<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:app="http://soap.sforce.com/schemas/class/Apttus_Approval/ApprovalsWebService">
<soapenv:Header>
<app:SessionHeader>
<app:sessionId>00DR0000001nyVR!ARYAQNCIk5WB9S9PlmZzS2uecBjxnhB20ndYmyxseH1LEfStQi1cXAtXiDxEyd3kAbYrAXbpJmDZzVXGxrxxleE8Fmm6kqSm</app:sessionId>
</app:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<app:reassignRequest>
<app:requestId>a0oR0000006cr6t</app:requestId>
<app:toAssigneeId>005q00000028qNb</app:toAssigneeId>
<app:comments>ReAssigned</app:comments>
</app:reassignRequest>
</soapenv:Body>
</soapenv:Envelope>
Example Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://soap.sforce.com/schemas/class/Apttus_Approval/ApprovalsWebService">
<soapenv:Body>
<reassignRequestResponse>
<result>true</result>
</reassignRequestResponse>
</soapenv:Body>
</soapenv:Envelope>