Instant signature posting service
The instant signature web service is intended for situations where the signature posting is to be signed immediately by the signatories.
A typical use case is a web form where the user completes the form and commit an electronic signature in the same session.
As the signatories needs to be present at the time of signing, the instant signature web service does not send any notifications to the signatories. Instead you may run the instant service several times in order to add more signatures to a document.
Instant sign sequence diagram
The following sequence diagram demonstrates the data flow and operational sequence in an instant signature posting.
The instant signature service creates a signature posting for a limited period of time while the signatories perform their signatures. The posting will then be removed from the service.
This is how the posting expiry time is set and updated:
Example of a posting expired date being moved 15 minutes for each time an action is executed.
It is crucial for the «Integrator backend» to check the status regularly (every 5 min) and download the document as soon as the WS returns a status indicating that the document has been signed. If this step is not executed correctly the Integrator can potentially lose the signed documents because it will be deleted from Signant servers when the expired date has been reached.
Code sample for CreateInstantPosting
Function: CreateInstantPosting
Function to create the instant signature posting.
1) CloseWindow only works if the browser window is opened from a parent window.
Object: InstantPostingRecipient
1) User of WS must have permission from recipient to use their SSN 2) If this check fails, the user will be redirected to CancelUrl from InstantPosting object (if that parameter is set).
1) File for signing must be a valid PDF file 2) BankID requires a https address.
CreateInstantPosting output – object CreateInstantPostingResponse
Function: GetPostingStatus
Used to check posting status. When function returns «Incorrect postingID/ErrorCode: 4008» posting is expired and has been deleted from the system.
GetPostingStatus output – object: GetPostingStatusResponse
Function: DownloadInstantAttachment
For downloading the attachment after successful signing. Attachment cannot be downloaded after posting has expired.
DownloadInstantAttachment output – object: DownloadInstantAttachmentResponse
The sample requests and responses have been shortened down for readability and will therefore not work «as is», you will have to replace all required fields with correct data before trying to send a request to the service.
Sample request: CreateInstantPosting – Kopier fra Visual til Code
Sample response: CreateInstantPosting – Kopier fra Visual til Code
Sample request: GetPostingStatus – Kopier fra Visual til Code
Sample response: GetPostingStatus – Kopier fra Visual til Code
Sample request: DownloadInstantAttachment – Kopier fra Visual til Code
Sample response: DownloadInstantAttachment – Kopier fra Visual til Code