public virtual HttpResponseMessage Export(string organizationId, string type, string where = null) { string whereString = ""; if (where != null) { whereString = $"&where={whereString}"; } var whereObj = where != null?JsonConvert.DeserializeObject(where) : null; return(Requestor.GetFile($"{Urls.Organizations}/{organizationId}/export?type={type}{whereString}")); }
public virtual HttpResponseMessage GetPdf(string documentId) { return(Requestor.GetFile($"{Urls.Documents}/{documentId}/pdf")); }
public virtual HttpResponseMessage DownloadImage(string organizationId, string type) { return(Requestor.GetFile($"{Urls.Organizations}/{organizationId}/download-image")); }