Function getUser

  • Returns the requested user.

    Parameters

    • userId: string

      The user's unique identifier

    • query: { fields?: string }

      an object with query parameters

      • Optionalfields?: string

        A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted.

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetUserHttpResponse>

    GetUserHttpError