Guides

Get Signature Request

Gets a SignatureRequest that includes the current status for each signer.

Class: HelloSign.SignatureRequestService

Return type: HelloSign.ServiceObjects.SignatureRequestResponse

Method

Name
get()

Acceptable Parameters

NameTypeRequiredNote
signature_request_idStringHelloSign_Signature_Request_ID_c field from the HelloSign_HelloSign_Signature_Request_c object.
isLastCalloutBoolean
String sigReqId = [
    SELECT HelloSign__Signature_Request_ID__c
    FROM HelloSign__HelloSign_Signature_Request__c
    WHERE Id = 'a063F00000GGTQ7QAP'].HelloSign__Signature_Request_ID__c;

HelloSign.SignatureRequestService sigReq = new HelloSign.SignatureRequestService(sigReqId);
HelloSign.ServiceObjects.SignatureRequestResponse response = sigReq.get();

// Object type: HelloSign.ServiceObjects.SignatureRequest
System.debug(response.signature_request);

// Object type: List<HelloSign.ServiceObjects.Warning>
System.debug(response.warnings);