Friday, 15 February 2013

docusignapi - Does RequestEnvelopeHistoryToken exist in SOAP API? -



docusignapi - Does RequestEnvelopeHistoryToken exist in SOAP API? -

i'm trying create utilize of requestenvelopehistorytoken via soap api. solution uses embedded sending requestsendertoken method, requestenvelopehistorytoken not seem exist within instance of dsapiservice. has method been deprecated? exclusively using soap api consider using rest 1 purpose if similar functionality exists.

public class servicewrapper : dsapiservice { //override of getwebrequest here } public class docusignjob { public string getsendertoken(string envelopeid, string accountid) { string sendurl, historyurl; using (servicewrapper client = new servicewrapper()) { sendurl = client.requestsendertoken(_envelopeid, accounted, "http://www.google.com"); //works historyurl = client.requestenvelopehistorytoken(envelopeid, "http://www.google.com"); //servicewrapper not contain definition 'requestenvelopehistorytoken } } }

i have no thought why (perhaps legacy, perhaps bug, perhaps else) requestenvelopehistorytoken soap phone call seems exist in api.asmx service not dsapi.asmx service:

https://demo.docusign.net/api/3.0/api.asmx

try hitting instead , should work.

https://demo.docusign.net/api/3.0/api.asmx?op=requestenvelopehistorytoken

update:

after reading more documentation looks besides 1 or 2 method differences main difference between api , dsapi services how authenticate calls. api service requires ws-security usernametoken, dsapi requires http auth header.

see page 19 of soap api guide more info.

soap docusignapi

No comments:

Post a Comment