...
https://demo.esignanywhere.net/Api/v6.0/draft/update
You will also need the configuration to determine which data should be changed. You can find a complete configuration belowThe POST body contains the data of the draft to update (i.e.: the updated draft configuration). A complete configuration contains:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "DraftId": "string", "Name": "string", "MetaData": "string", "AddDocumentTimestamp": true, "ShareWithTeam": true, "LockFormFieldsOnFinish": true, "EmailConfiguration": { "Subject": "string", "Body": "string", "SenderDisplayName": "string" }, "ReminderConfiguration": { "Enabled": true, "FirstReminderInDays": 0, "ReminderResendIntervalInDays": 0, "BeforeExpirationInDays": 0 }, "ExpirationConfiguration": { "ExpirationInSecondsAfterSending": 0, "ExpirationDate": "string" }, "CallbackConfiguration": { "CallbackUrl": "string", "StatusUpdateCallbackUrl": "string", "AfterSendCallbackUrl": "string", "StepActionCallbackConfiguration": { "Url": "string", "ActionCallbackSelectionInternal": { "ConfirmTransactionCode": true, "DefaultEventType": true, "AgreementAccepted": true, "AgreementRejected": true, "RequestPrepareAuthenticationInformationSuccess": true, "PrepareAuthenticationSuccess": true, "AuthenticationFailed": true, "AuthenticationRejected": true, "AuthenticationSuccess": true, "ReAuthenticationFailed": true, "AuditTrailRequested": true, "AuditTrailXmlRequested": true, "CalledPage": true, "WhoIsInformation": true, "DocumentDownloaded": true, "FlattenedDocumentDownloaded": true, "AddedAnnotation": true, "AddedAttachment": true, "AppendedDocument": true, "FormsFilled": true, "ConfirmReading": true, "PageViewChanged": true, "SendTransactionCode": true, "PrepareSignWorkstepDocument": true, "SignWorkstepDocument": true, "UndoAction": true, "WorkstepCreated": true, "WorkstepFinished": true, "WorkstepRejected": true, "DisablePolicyAndValidityChecks": true, "EnablePolicyAndValidityChecks": true, "AppendFileToWorkstep": true, "AppendTasksToWorkstep": true, "SetOptionalDocumentState": true, "PreparePayloadForBatch": true }, "ActionCallbackSelection": { "ConfirmTransactionCode": true, "DefaultEventType": true, "AgreementAccepted": true, "AgreementRejected": true, "RequestPrepareAuthenticationInformationSuccess": true, "PrepareAuthenticationSuccess": true, "AuthenticationFailed": true, "AuthenticationRejected": true, "AuthenticationSuccess": true, "ReAuthenticationFailed": true, "AuditTrailRequested": true, "AuditTrailXmlRequested": true, "CalledPage": true, "WhoIsInformation": true, "DocumentDownloaded": true, "FlattenedDocumentDownloaded": true, "AddedAnnotation": true, "AddedAttachment": true, "AppendedDocument": true, "FormsFilled": true, "ConfirmReading": true, "PageViewChanged": true, "SendTransactionCode": true, "PrepareSignWorkstepDocument": true, "SignWorkstepDocument": true, "UndoAction": true, "WorkstepCreated": true, "WorkstepFinished": true, "WorkstepRejected": true, "DisablePolicyAndValidityChecks": true, "EnablePolicyAndValidityChecks": true, "AppendFileToWorkstep": true, "AppendTasksToWorkstep": true, "SetOptionalDocumentState": true, "PreparePayloadForBatch": true } } }, "AgentRedirectConfiguration": { "Policy": "None", "Allow": true, "IframeWhitelisting": [ "string" ] }, "AgreementConfiguration": { "UseOrganizationAgreementSettings": true, "Translations": [ { "LanguageCode": "AF", "Text": "string", "Header": "string", "IsDefault": true } ] }, "RedirectConfiguration": { "AfterSendRedirectUrl": "string", "BeforeSendRedirectUrl": "string" } } |
...