# Get All Facilities

Search the facility catalog. Supply at least one filter. Results are paginated.

Endpoint: GET /facilities
Version: 1.0.0
Security: bearerAuth, appId

## Query parameters:

  - `name` (string)
    Facility name, or part of it.

  - `firmsCode` (string)
    Facilities Information and Resources Management System (FIRMS) code.

  - `airportCode` (string)
    Three letter IATA airport code.

  - `airlinePrefix` (string)
    Three digit airline prefix.

  - `page` (integer)
    Zero indexed page number.

  - `size` (integer)
    Number of results per page.

## Response 200 fields (application/json):

  - `content` (array)
    Facilities on this page.

  - `content.id` (integer)
    Facility identifier.
    Example: 6225

  - `content.name` (string)
    Facility name.
    Example: Worldwide Flight Services (LAX)

  - `content.airportCode` (string)
    Airport code, or `ALL` when the facility is not airport specific.
    Example: LAX

  - `content.firmsCode` (string)
    FIRMS code.
    Example: E528

  - `content.deliveryType` (string)
    How the facility is notified of payment.
    Example: Electronic

  - `content.awbFieldLabel` (string)
    Label the facility uses for the shipment reference.
    Example: Air Waybill

  - `content.hawbFieldLabel` (string)
    Label the facility uses for the house bill or container.
    Example: House Bill

  - `content.integration` (object)
    Present when the facility is served by an integration. Its absence means the facility is paid directly.

  - `content.integration.code` (string)
    Identifier for the integration serving this facility.
    Example: EXAMPLE

  - `content.integration.operations` (array)
    Operations supported when retrieving charges.

  - `content.integration.queryFields` (array)
    Fields required when retrieving charges.

  - `content.integration.queryFields.operation` (string)
    Operation the field applies to.
    Example: MASTER

  - `content.integration.queryFields.key` (string)
    Field key to send in `queryFields`.
    Example: awb

  - `content.integration.queryFields.label` (string)
    Human readable label.
    Example: Air Waybill

  - `content.integration.queryFields.type` (string)
    Value type.
    Example: string

  - `content.integration.queryFields.required` (boolean)
    Whether the field is mandatory.
    Example: true

  - `content.integration.constraints` (object)
    Limits on which shipments the integration handles.

  - `content.integration.constraints.airlinePrefixes` (array)
    Airline prefixes served by the integration.

  - `totalElements` (integer)
    Total number of matching facilities.
    Example: 42

  - `totalPages` (integer)
    Total number of pages available.
    Example: 5

## Response 401 fields (application/json):

  - `errors` (array)
    Error messages.

