# Get all facilities Get facilities by query. Endpoint: GET /facilities Version: 0.0.1 Security: ## Header parameters: - `x-app-id` (string) Encoded customer identifier. Example: "2ZMEEX2otslHtRRgzQC0tPVwbasC23455vx0k=" ## Query parameters: - `name` (string) Facility name. Can be truncated. Example: "Test Cargo" - `firmsCode` (string) Facilities Information and Resources Management System (FIRMS) code. Example: "L247" - `airportCode` (string) Facility airport code. Example: "JFK" - `airlinePrefix` (string) Three digit prefix that identifies the airline transporting the cargo. Example: "871" ## Response 200 fields (application/json): - `content` (array) - `content.id` (integer) Example: 1 - `content.name` (string) facility name Example: "test facility" - `content.airportCode` (string) facility airport code Example: "ATL" - `content.prefixes` (string) all possible airline prefixes Example: "160,34" - `content.prefix` (string) selected airline prefix Example: "34" - `content.awbFieldType` (string) Example: "AWB" - `content.awbFieldLabel` (string) Example: "AWB Number" - `content.hawbFieldLabel` (string) Input label for hawb field Example: "Add one or more Hawb #" - `content.addressDTO` (object) - `content.addressDTO.addressLine1` (string) Example: "973 Barry Rd, South Building D" - `content.addressDTO.city` (string) Example: "Atlanta" - `content.addressDTO.state` (string) Example: "GA" - `content.addressDTO.zip` (string) Example: "30320" - `pageable` (object) - `totalPages` (integer) Example: 4 - `last` (boolean) - `totalElements` (integer) Example: 37 - `first` (boolean) Example: true - `sort` (object) - `sort.unsorted` (boolean) Example: true - `sort.sorted` (boolean) - `sort.empty` (boolean) Example: true - `numberOfElements` (integer) Example: 10 - `size` (integer) Example: 10 - `number` (integer) ## Response 400 fields (application/problem+json): - `errors` (array) Example: ["An error occured"] ## Response 401 fields (application/problem+json): - `errors` (array) Example: ["An error occured"]