Function getAwardById

  • Retrieve an award with given ID (if it exists). If requested award has children they will get returned with it.

    Award is identified by its stringified ObjectID.

    Usage

    const awardId: string = "5f5e555d5a578b6";
    const award: Award = await sdk.getAwardById({ awardId });

    Parameters

    • params: {
          awardId: string;
      }
      • awardId: string

        ID of the award to fetch.

    Returns Promise<Award>

Generated using TypeDoc