ReportCard class

Hierarchy

Constructors

Properties

date: Date
documentGu: string
periodName: string

Methods

  • Retrieve the file from synergy servers. After retrieving the xmlObject, this method calls parseXMLObject which must be defined to parse the xmlObject into a readable, typesafe object.

    Returns

    Returns a base64 object

    Description

    const base64 = await document.get(); // { attribute: { nested: {...} }, base64: "base64 code" }
    

    Returns Promise<undefined | ReportCardFile>

  • Type Parameters

    • T extends undefined | object

    Parameters

    • url: string
    • options: Partial<RequestOptions> = {}
    • preparse: ((xml: string) => string) = ...
        • (xml: string): string
        • Parameters

          • xml: string

          Returns string

    Returns Promise<T>

Generated using TypeDoc