public SignatureTemplateFieldResponse AddSignatureTemplateField(string templateId, string documentId, string recipientId, string fieldId, SignatureTemplateFieldSettings fieldSettings) { var template = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.AddTemplateField); var parameters = new NameValueCollection { {"userId", UserId}, {"templateId", templateId}, {"documentId", documentId}, {"recipientId", recipientId}, {"fieldId", fieldId} }; var content = HttpContentNetExtensions.CreateJsonNetDataContract(fieldSettings); var response = SubmitRequest<SignatureTemplateFieldResponse>(template, parameters, "POST", content); return response; }
public SignatureTemplateFieldResponse AddSignatureTemplateField(string templateId, string documentId, string recipientId, string fieldId, SignatureTemplateFieldSettings fieldSettings) { var template = SignatureApiUriTemplates.BuildUriTemplate(SignatureApiUriTemplates.AddTemplateField); var parameters = new NameValueCollection { { "userId", UserId }, { "templateId", templateId }, { "documentId", documentId }, { "recipientId", recipientId }, { "fieldId", fieldId } }; var content = HttpContentNetExtensions.CreateJsonNetDataContract(fieldSettings); var response = SubmitRequest <SignatureTemplateFieldResponse>(template, parameters, "POST", content); return(response); }