Class LocationsApi

Hierarchy (view full)

Constructors

Properties

configuration: Configuration = DefaultConfig

Methods

  • Delete CWMS Location Delete cwmsData locations with locationId

    Parameters

    Returns Promise<void>

  • Returns CWMS Location Data Get cwmsData locations

    Parameters

    Returns Promise<object>

  • Returns CWMS Location Data Get cwmsData locations

    Parameters

    Returns Promise<ApiResponse<object>>

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

  • Update CWMS Location Patch cwmsData locations with locationId

    Parameters

    Returns Promise<void>

  • Create new CWMS Location Post cwmsData locations

    Parameters

    Returns Promise<void>

  • Create new CWMS Location Post cwmsData locations

    Parameters

    Returns Promise<ApiResponse<void>>

  • Parameters

    Returns Promise<Response>

  • Type Parameters

    Parameters

    • this: T
    • Rest ...postMiddlewares: ((context) => Promise<void | Response>)[]

    Returns T

  • Type Parameters

    Parameters

    • this: T
    • Rest ...preMiddlewares: ((context) => Promise<void | FetchParams>)[]

    Returns T