コード例 #1
0
        public SignatureStatusResponse SignEnvelope(string envelopeId, string recipientId)
        {
            var template   = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.SignEnvelope);
            var parameters = new NameValueCollection
            {
                { "userId", UserId },
                { "envelopeId", envelopeId },
                { "recipientId", recipientId }
            };

            var response = SubmitRequest <SignatureStatusResponse>(template, parameters, "PUT", HttpContent.CreateEmpty());

            return(response);
        }
コード例 #2
0
        public SignatureEnvelopeResponse CreateEnvelope(string templateId, string envelopeId, string name)
        {
            var template   = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.CreateEnvelope);
            var parameters = new NameValueCollection
            {
                { "userId", UserId },
                { "name", name },
                { "templateId", templateId },
                { "envelopeId", envelopeId }
            };

            var response = SubmitRequest <SignatureEnvelopeResponse>(template, parameters, "POST", HttpContent.CreateEmpty());

            return(response);
        }