Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Our REST service allows the user to specify which ESign type they want to use in the forms. Currently, we support one of: Docusign, Signix and Native Esign. Each of them are represented as a JSON object, and this json must be set in the "ESignType" property. It is very important to include the property "Type" as the first property of the Esign JSON object, or else the signature won't be enabled. The structure for all three are described as follows.

DocuSign


Code Block
languagejs
themeConfluence
titleDocusign JSON
{
   "Type":"DOCUSIGN",
   "AllowMarkup":true,
   "AllowReassign":true,
   "AllowRecipientRecursion":true,
   "Asynchronous":true,
   "AuthoritativeCopy":true,
   "AuthUserID":"string",
   "AutoNavigation":true,
   "BrandId":"string",
   "BrandLock":true,
   "CustomFields":{
      "ListCustomFields":[
         {
            "ListItems":[
               "string"
            ],
            "Name":"string",
            "Required":true,
            "Show":true,
            "Value":"string"
         }
      ],
      "TextCustomFields":[
         {
            "Name":"string",
            "Required":true,
            "Show":true,
            "Value":"string"
         }
      ]
   },
   "EmailSettings":{
      "BccEmailAddresses":[
         "string"
      ],
      "ReplyEmailAddressOverride":"string",
      "ReplyEmailNameOverride":"string"
   },
   "EnableWetSign":true,
   "EnforceSignerVisibility":true,
   "ESignMetaData":{
      "AccountCode":"string",
      "ClientCode":"string",
      "FirmCode":"string",
      "RepCode":"string"
   },
   "HTMLButtonSignName":"string",
   "MessageLock":true,
   "Notification":{
      "Expirations":{
         "ExpireAfter":0,
         "ExpireEnabled":true,
         "ExpireWarn":0
      },
      "Reminders":{
         "ReminderDelay":0,
         "ReminderEnabled":true,
         "ReminderFrequency":0
      },
      "UseAccountDefaults":true
   },
   "RecipientsLock":true,
   "SenderUserID":"string",
   "SignAllDocsCombined":true,
   "SignCallBackURL":"string",
   "SignEnvironmentID":0,
   "SignErrorMessage":"string",
   "SignHideEmptySigners":true,
   "SigningLocation":0,
   "SignJavascript":"string",
   "SignMessage":"string",
   "SignMultipleDocs":true,
   "SignOrderLock":true,
   "SignRequireIDCheck":true,
   "SignRequireIDCheckName":0,
   "SignSendJavascript":"string",
   "SignShowAccessCode":true,
   "SignShowVerifyCode":true,
   "SignShowVerifyIDCheck":true,
   "SignSubject":"string",
   "SignTransDescription":"string",
   "SignURL":"string",
   "SOBOFlag":true,
   "TransactionId":"string",
   "UseDisclosure":true,
	"Recipients": {
	"Signers": [
        {
          "OrderAccessCode": {
 1,           "PhoneNumberCode": 0"string",
            "RoleReadOnly": true,
            "string",Required": true
          },
          "IdentityCheck": "string",
		  "Instance": 0,
		  "Order": 1,
          "PhoneNumber": 0,
          "IdentityCheckRole": "string",
		
          "SendType": "string"
        },
		
        {
          "AccessCode": {
            "Code": "string",
            "RequiredReadOnly": true,
            "Required": true
 }         },
        { 		  "OrderIdentityCheck": 2"string",
		  "PhoneNumberInstance": 0,
		  "RoleOrder": 1,
          "stringPhoneNumber": 0,
          "IdentityCheckRole": "string",
          "SendType": "string"  
        }
	],
	"ExtraRecipients": [
        {
		
          "OrderAccessCode": {
 5,           "NameCode": "string",
            "EmailReadOnly": "string"true,
            "RecipientNumberRequired": true
1          },
           {"IdentityCheck": "string",
		  "Order": 40,
          "Name": "string",
          "Email": "string",
          "PhoneNumber": 0,        
          "RecipientNumber": 2, 0
        },
        {
          "AccessCode": {
            "Code": "123string",
            "RequiredReadOnly": true,
            "ReadOnlyRequired": true
          },
          "IdentityCheck": "string",
		  "Order": 0,
          "Name": "string",
          "Email": "string",
          "PhoneNumber": 0,        
          "RecipientNumber": 0
        }
	]
}

}


 NativeESign


Code Block
languagejs
themeConfluence
titleNativeESign JSON
{
  "Type": "NATIVEESIGN",
  "HTMLButtonSignName": "string" 
} 


Signix

Code Block
languagejs
themeConfluence
titleSignix JSON
{
   "Type":"SIGNIX",
   "ESignMetaData":{
      "AccountCode":"string",
      "ClientCode":"string",
      "FirmCode":"string",
      "RepCode":"string"
   },
   "HTMLButtonSignName":"string",
   "SignAllDocsCombined":true,
   "SignCallBackURL":"string",
   "SignEnvironmentID":0,
   "SignErrorMessage":"string",
   "SignHideEmptySigners":true,
   "SignixAuthTypeShow":[
      1
   ],
   "SignixBillingRef":"string",
   "SignixClientPrefAllowSignatureGraphic":0,
   "SignixClientPrefAuditTrailWithCC":0,
   "SignixClientPrefAutoAdvanceToNextDocument":0,
   "SignixClientPrefAutoAdvanceToNextSignature":0,
   "SignixClientPrefAutoOpenFirstDocument":0,
   "SignixClientPrefBrowserAutofill":0,
   "SignixClientPrefDateSignedFormat":0,
   "SignixClientPrefDateSignedTimeZone":0,
   "SignixClientPrefEnable21CFRPart11CompliantMode":0,
   "SignixClientPrefMiddleName":0,
   "SignixClientPrefMustSignFirstDocumentFirst":0,
   "SignixClientPrefNextPartyLink":0,
   "SignixClientPrefNotificationSchedule":"string",
   "SignixContactInfo":"string",
   "SignixDateSignedFormat":0,
   "SignixDateSignedTimeZone":0,
   "SignixDeliveryType":1,
   "SignixDemo":true,
   "SignixDistributeToSubmitter":true,
   "SignixDistributionEmailContent":"string",
   "SignixDistributionEmailList":"string",
   "SignixDocSetDescription":"string",
   "SignixExpireAfter":"string",
   "SignixShowSignNow":true,
   "SignixSubmitterEmail":"string",
   "SignixSubmitterEmailList":"string",
   "SignixSubmitterName":"string",
   "SignixSuspendOnStart":true,
   "SignixWorkgroup":"string",
   "SignJavascript":"string",
   "SignMessage":"string",
   "SignMultipleDocs":true,
   "SignOrderLock":true,
   "SignSendJavascript":"string",
   "SignShowVerifyCode":true,
   "SignURL":"string"
} 


Example

In order to use Docusign, for example, this is a valid json body:

...