docusignapi - Error making call "Invalid multi part request" Docusign API -
I am normally new to the API and I was hoping to get the other pair eyes on it. I have a document that I am sending through the call and want to apply the template I created. Until I left the XML to handle the composite template, everything worked. I'm not sure there is something wrong with nested information. If I have this in an improper order with any help you are ready to lend to everyone is very much appreciated. Q when posting it helpful to share the specific XML / JSON for HTTPS requests The headers and end points in which you are calling should also post the specific error messages / response messages you receive from the API call. That's what it looks like you could really be a multipart are not kindly request SOAP headers / endpoint and not to share the actual raw XML (asterisk code) in order to identify the error. Thanks! Paul string xmlBody = "& lt; envelopeDefinition xmlns = \" http: //www.docusign.com/restapi \ "& gt; + "& Lt; email subject & gt; keeping this document in mind & lt; / emailSubject & gt;" + "& Lt; status & gt; sent & lt; / status & gt;" + "& Lt; compositeTemplates & gt;" + "& Lt; Composite Templates & gt;" + "& Lt; server templates & gt;" + "& Lt; server template & gt;" + "& Lt; sequence & gt; 1 & lt; / sequence & gt;" + "& Lt; Template ID & gt; Marie + TemplateID & lt; / templateId & gt;" + "& Lt; server template & gt;" + "& Lt; / serverTemplates & gt;" + "& Lt; Inline templates & gt;" + "& Lt; Inline templates & gt;" + "& Lt; sequence & gt; 2 & lt; / sequence & gt;" + "& Lt; recipient & gt;" + "& Lt; signers & gt;" + "& Lt; siner & gt;" + "& Lt; rolename> sub & lt; / roleName & gt;" + "& Lt; recipient id = 1 & lt; / recipientId & gt;" + "& Lt; email & gt; sub@email.com< / email & gt;" + "& Lt; name & gt; John Do & lt; / name & gt;" + "& Lt; / signer & gt;" + "& Lt; siner & gt;" + "& Lt; role name & gt; c & lt; / roleName & gt;" + "& Lt; recipient id & gt; 2 & lt; / recipientId & gt;" + "& Lt; email & gt; con@email.com< / email & gt;" + "& Lt; name & gt; John Smith & lt; / name & gt;" + "& Lt; / signer & gt;" + "& Lt; / signers & gt;" + "& Lt; / recipient & gt;" + "& Lt; / inlineTemplate & gt;" + "& Lt; / inlineTemplates & gt;" + "& Lt; docs & gt;" + "& Lt; name & gt;" + DocumentName + "& lt; / name & gt; + "& Lt; doc id & gt; 1 " + "& Lt; / document & gt;" + "& Lt; / compositeTemplate & gt;" + "& Lt; / compositeTemplates & gt;" + "& Lt; / envelopeDefinition & gt;";
Comments
Post a Comment