Permission for Reassigning a List of Approval Requests
API |
Signature |
---|---|
canReassign |
WebService static List<PermissionResponseDTO> canReassign(ID userId, List<Approval_Request__c> requests); |
Request Parameters | |||
---|---|---|---|
Name |
Type |
Required? |
Description |
userId5555565 | ID |
Yes |
ID of a given user. |
Approval_Request__c | List |
Yes |
List of approval requests. |
Response Parameter | ||
---|---|---|
Name |
Type |
Description |
PermissionResponseDTO | List |
List of approval requests. |
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>00D1100000CM36i!ARkAQAhcDKNrCF6UES74x8alG4XcHv7hoylqycl.Hr.wkayGbXLb9QI81sX45XYS1M8F29cGtznu3RRgupmNsRfO49uJbr2w</app:sessionId>
</app:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<app:canReassign>
<app:userId>0051100000CsHKu</app:userId>
<app:requests>
<app:Apttus_Approval__Approval_Request__c>
<ar:Id>a1W11000008fXduEAE</ar:Id>
<!--other fields for approval request instance-->
</app:Apttus_Approval__Approval_Request__c>
</app:requests>
</app:canReassign>
</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>
<app:canReassign>
<app:PermissionResponseDTO>
<app:requestId>a1W11000008fXduEAE</app:requestId>
<app:hasPermission>true</app:hasPermission>
</app:PermissionResponseDTO>
</app:canReassign>
</soapenv:Body>
</soapenv:Envelope>