Docusign Embedded Signing
Używamydocusign
dla osób podpisujących formularze zgody, które rejestrują się na naszej stronie internetowej, i wskazano mi interfejs API Embedded Signing.
Z tego, co zrozumiałem, musiałem stworzyć kopertę, którą zrobiłem.
Używam do tego przykładów .Net.
Zaloguj się przez interfejs API, ale pojawia się następujący błąd podczas próby odzyskania adresu URL z interfejsu API:
ENVELOPE_IS_INCOMPLETE The Envelope is not Complete. A Complete Envelope Requires Documents, Recipients, Tabs, and a Subject Line.
Oto moja koperta Definicja xml:
string requestBody = "<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">" +
"<accountId>" + accountId + "</accountId>" +
"<status>sent</status>" +
"<emailSubject>API Call for Embedded Sending</emailSubject>" +
"<emailBlurb>This comes from C#</emailBlurb>" +
"<templateId>[TEMPLATE ID FROM DOCUSIGN]</templateId>" +
"<templateRoles>" +
"<email>[email protected]</email>" + // NOTE: Use different email address if username provided in non-email format!
"<name>[email protected]</name>" + // username can be in email format or an actual ID string
"<roleName>Signer</roleName>" +
"</templateRoles>" +
"</envelopeDefinition>";
Widziałem inny post o tym, że potrzebuję UserUserId tutaj:
Ale nie jestem pewien, jak zaimplementować w kopercie definicję.
Proszę pomóż!