signatures

Introduced in version 25.591

Create signature case

Creates a contract and sends it to Assently for signing. Returns url to the document. If the provided subscription has a different payer than user and is of type autogiro, two contracts till be created.

Call

HTTP POST to /signatures

Filter

Name

Required

Example value

Description

Value/datatype

Default

subscriptionidyes14ID for the subscription to be signedID-
languagenosv

Selected language for the contract. The value must be expressed using ISO 639 (two character language code). 

String 
returnurlno
http://www.mysite.se/subscriptionsigned/14?hash=3327468723647637463746
 String-
onlydirectdebitconsentnotrueIn only the page containing the direct debit consent should be included in the document to sign.booleanfalse

 

Example:

POST:APIURL/signatures.json?apikey=338934897438&subscriptionid=14&returnurl=http://www.mysite.se/subscriptionsigned/14?hash=3327468723647637463746

Return values

Tag

Format

Example

Desription

signaturecases  signaturecases-tag surrounds all signature cases
signaturecase  one signature case
idID
<id>7</id>
Unique ID to the case in BRP
guidTEXT
<guid>1234234-234234-234234-23423</guid>
Unique ID of the case at egree
documenturlText
<documenturl>https://www.egree.com/8974897234892398489234</documenturl>
The documents to sign
emailText
<email>carl.duck@gmail.com</email>
E-mail to the person to sign
nameText<name>Carl Duck</name>Name of the person to sign
<signaturecases>
	<signaturecase>
		<id>7</id>			
		<guid>1234234-234234-234234-23423</guid>
		<documenturl>https://www.egree.com/8974897234892398489234</documenturl>
		<email>knatte.duck@gmail.com</email>
		<name>Knatte Duck</name>
	</signaturecase>
	<signaturecase>
		<id>8</id>			
		<guid>12344234-2343-234344-23423</guid>
		<documenturl>https://www.egree.com/89748972345465466549234</documenturl>
		<email>carl.duck@gmail.com</email>
		<name>Carl Duck</name>
	</signaturecase>
</signaturecases>