List Signature Requests
Lists the SignatureRequests (both inbound and outbound) that you have access to.
Class: HelloSign.SignatureRequestService
Return type: HelloSign.ServiceObjects.SignatureRequestListResponse
Method
Name |
---|
getList() |
Acceptable Parameters
Name | Type | Required | Note |
---|---|---|---|
page | Integer | Which page number of the SignatureRequest List to return. Defaults to 1. | |
page_size | Integer | Number of objects to be returned per page. Must be between 1 and 100. Default is 20. | |
query | String | String that includes search terms and/or fields to be used to filter the SignatureRequest objects. Take a look at our search guide to learn more about querying signature requests. | |
isLastCallout | Boolean |
HelloSign.SignatureRequestService sigReq = new HelloSign.SignatureRequestService();
sigReq.page = 2;
sigReq.page_size = 3;
sigReq.query = 'Test';
HelloSign.ServiceObjects.SignatureRequestListResponse response = sigReq.getList();
// object type: HelloSign.ServiceObjects.ListInfo
System.debug(response.list_info);
// object type: List<HelloSign.ServiceObjects.SignatureRequest>
System.debug(response.signature_requests);
// object type: List<HelloSign.ServiceObjects.Warning>
System.debug(response.warnings);
for (HelloSign.ServiceObjects.SignatureRequest req : response.signature_requests) {
System.debug(req.title);
}
Updated over 4 years ago