docusignapi - RoutingOrder does not work -



docusignapi - RoutingOrder does not work -

when getting envelope requeststatus recipients have same routing number. sure , debug provided different parameter each recipient. , recipients gets email in same time. how can send envelope each recipient according routingorder?

sequential signing (api) enabled account:

my examlple:

webapi.recipient[] recipients = {new webapi.recipient(), new webapi.recipient()}; recipients[0].email = "johndo@gmail.com"; recipients[0].username = "john do"; recipients[0].type = webapi.recipienttypecode.signer; recipients[0].id = "2"; recipients[0].routingorder = 2; recipients[1].email = "johndo2@gmail.com"; recipients[1].username = "john do2"; recipients[1].type = webapi.recipienttypecode.signer; recipients[1].id = "1"; recipients[1].routingorder = 1; // create envelope webapi.envelope envelope = new webapi.envelope(); envelope.subject = "subject line mandatory!"; envelope.recipients = recipients; envelope.accountid = apiaccountid; // create document envelope.documents = new webapi.document[1]; webapi.document doc = new webapi.document(); doc.id = "1"; doc.name = "picture pdf"; doc.transformpdffields = true; doc.pdfbytes = properties.resources.test; envelope.documents[0] = doc; // create tab webapi.tab tab = new webapi.tab(); webapi.anchortab anchortab = new webapi.anchortab(); anchortab.anchortabstring = "adobe"; anchortab.ignoreifnotpresent = true; anchortab.ignoreifnotpresentspecified = true; tab.anchortabitem = anchortab; tab.customtabrequired = false; tab.senderrequired = false; tab.type = webapi.tabtypecode.signhere; tab.documentid = "1"; tab.recipientid = "1"; webapi.tab tab2 = new webapi.tab(); webapi.anchortab anchortab2 = new webapi.anchortab(); anchortab2.anchortabstring = "customtag"; anchortab2.ignoreifnotpresent = true; anchortab2.ignoreifnotpresentspecified = true; tab2.anchortabitem = anchortab2; tab2.type = webapi.tabtypecode.signhere; tab2.documentid = "1"; tab2.recipientid = "2"; tab2.senderrequired = false; tab2.sharedtab = true; tab2.tablabel = "customtag"; tab2.value = "value2"; envelope.tabs = new webapi.tab[2]; envelope.tabs[0] = tab; envelope.tabs[1] = tab2; // results webapi.envelopestatus status = apiclient.createandsendenvelope(envelope);

request docusing soap api: request docusing soap api

problem resolved adding option: routingorderspecified = true each recipient ;

this code resolve problem me:

recipients[0].routingorderspecified = true; recipients[1].routingorderspecified = true;

docusignapi docusign

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -