# Gets Units for Venue

Gets the list of units paged.

Endpoint: GET /venues/{venueId}/units
Version: 1.0.0

## Path parameters:

  - `venueId` (string, required)
    Venue Id

## Query parameters:

  - `size` (integer)
    Page size

  - `page` (integer)
    The page to retrieve (starts at one).

  - `sort` (string)
    The field name to sort, comma separated from the sort order (asc or desc).

## Response 200 fields (application/json):

  - `totalElements` (integer)
    Total number of elements across all pages.

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

  - `pageable` (object)
    Pagination parameters used for the request.

  - `pageable.pageSize` (integer)
    Number of elements per page.

  - `pageable.paged` (boolean)
    Indicates if pagination is enabled.

  - `pageable.pageNumber` (integer)
    Current page number starting from zero.

  - `pageable.unpaged` (boolean)
    Indicates if pagination is disabled.

  - `pageable.offset` (integer)
    Offset of the first element in the page.

  - `pageable.sort` (object)
    Sort information for the page.

  - `pageable.sort.sorted` (boolean)
    Indicates if results are sorted.

  - `pageable.sort.unsorted` (boolean)
    Indicates if results are unsorted.

  - `pageable.sort.empty` (boolean)
    Indicates if no sort criteria specified.

  - `first` (boolean)
    Indicates if this is the first page.

  - `last` (boolean)
    Indicates if this is the last page.

  - `size` (integer)
    Maximum number of elements per page.

  - `content` (array)
    List of items in the current page.

  - `number` (integer)
    Current page number starting from zero.

  - `sort` (object)
    Sort information for the page.

  - `numberOfElements` (integer)
    Number of elements in the current page.

  - `empty` (boolean)
    Indicates if the page has no content.

## Response 400 fields (application/json):

  - `status` (string)
    HTTP status code of the error response.
    Enum: "100 CONTINUE", "101 SWITCHING_PROTOCOLS", "102 PROCESSING", "103 EARLY_HINTS", "103 CHECKPOINT", "200 OK", "201 CREATED", "202 ACCEPTED", "203 NON_AUTHORITATIVE_INFORMATION", "204 NO_CONTENT", "205 RESET_CONTENT", "206 PARTIAL_CONTENT", "207 MULTI_STATUS", "208 ALREADY_REPORTED", "226 IM_USED", "300 MULTIPLE_CHOICES", "301 MOVED_PERMANENTLY", "302 FOUND", "302 MOVED_TEMPORARILY", "303 SEE_OTHER", "304 NOT_MODIFIED", "305 USE_PROXY", "307 TEMPORARY_REDIRECT", "308 PERMANENT_REDIRECT", "400 BAD_REQUEST", "401 UNAUTHORIZED", "402 PAYMENT_REQUIRED", "403 FORBIDDEN", "404 NOT_FOUND", "405 METHOD_NOT_ALLOWED", "406 NOT_ACCEPTABLE", "407 PROXY_AUTHENTICATION_REQUIRED", "408 REQUEST_TIMEOUT", "409 CONFLICT", "410 GONE", "411 LENGTH_REQUIRED", "412 PRECONDITION_FAILED", "413 PAYLOAD_TOO_LARGE", "413 REQUEST_ENTITY_TOO_LARGE", "414 URI_TOO_LONG", "414 REQUEST_URI_TOO_LONG", "415 UNSUPPORTED_MEDIA_TYPE", "416 REQUESTED_RANGE_NOT_SATISFIABLE", "417 EXPECTATION_FAILED", "418 I_AM_A_TEAPOT", "419 INSUFFICIENT_SPACE_ON_RESOURCE", "420 METHOD_FAILURE", "421 DESTINATION_LOCKED", "422 UNPROCESSABLE_ENTITY", "423 LOCKED", "424 FAILED_DEPENDENCY", "425 TOO_EARLY", "426 UPGRADE_REQUIRED", "428 PRECONDITION_REQUIRED", "429 TOO_MANY_REQUESTS", "431 REQUEST_HEADER_FIELDS_TOO_LARGE", "451 UNAVAILABLE_FOR_LEGAL_REASONS", "500 INTERNAL_SERVER_ERROR", "501 NOT_IMPLEMENTED", "502 BAD_GATEWAY", "503 SERVICE_UNAVAILABLE", "504 GATEWAY_TIMEOUT", "505 HTTP_VERSION_NOT_SUPPORTED", "506 VARIANT_ALSO_NEGOTIATES", "507 INSUFFICIENT_STORAGE", "508 LOOP_DETECTED", "509 BANDWIDTH_LIMIT_EXCEEDED", "510 NOT_EXTENDED", "511 NETWORK_AUTHENTICATION_REQUIRED"

  - `timestamp` (string)
    Timestamp when the error occurred.

  - `requestId` (string)
    Unique identifier for tracking the failed request.

  - `message` (string)
    Brief error message describing the issue.

  - `detailedMessage` (string)
    Detailed error message with additional context.

  - `validationErrors` (array)
    List of validation error messages.

  - `errors` (array)
    List of nested error details.

  - `errors.code` (string)
    Error code identifier.

  - `errors.message` (string)
    Human-readable error message.

  - `errors.reason` (string)
    Reason for the error.

  - `errors.suggestion` (string)
    Suggested action to resolve the error.


