Show / Hide Table of Contents

    Class SevDeskExporter

    Inheritance
    System.Object
    SevDeskExporter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.SevDeskExport
    Assembly: Dangl.SevDeskExport.dll
    Syntax
    public class SevDeskExporter

    Constructors

    | Improve this Doc View Source

    SevDeskExporter(String, List<SevDeskDataApiEndpoint>, HttpClient)

    Declaration
    public SevDeskExporter(string apiToken, List<SevDeskDataApiEndpoint> apiOptions, HttpClient httpClient)
    Parameters
    Type Name Description
    System.String apiToken
    System.Collections.Generic.List<SevDeskDataApiEndpoint> apiOptions
    System.Net.Http.HttpClient httpClient

    Methods

    | Improve this Doc View Source

    DownloadDocumentAsync(String)

    Declaration
    public Task<(Stream file, string fileName)> DownloadDocumentAsync(string documentId)
    Parameters
    Type Name Description
    System.String documentId
    Returns
    Type Description
    System.Threading.Tasks.Task<System.ValueTuple<System.IO.Stream, System.String>>
    | Improve this Doc View Source

    DownloadInvoiceAsPdfAsync(String)

    Declaration
    public Task<(Stream file, string fileName)> DownloadInvoiceAsPdfAsync(string invoiceId)
    Parameters
    Type Name Description
    System.String invoiceId
    Returns
    Type Description
    System.Threading.Tasks.Task<System.ValueTuple<System.IO.Stream, System.String>>
    | Improve this Doc View Source

    EnumerateDataAsync()

    Declaration
    public IAsyncEnumerable<(string modelName, List<JObject> values)> EnumerateDataAsync()
    Returns
    Type Description
    System.Collections.Generic.IAsyncEnumerable<System.ValueTuple<System.String, System.Collections.Generic.List<JObject>>>
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH