Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Real-time Parking Availability (RTA) RabbitMQ Occupancy API is capable of sending updates about parking occupancy with its a calculated summary. RabbitMQ Occupancy is also referred to as RTA (Real-Time Availability).

When you use this API, you are getting full occupancy info about parking. Nwave cloud calculates the number of occupied and vacant spaces according to parking type, parking sensors health and other secondary data.

...

Code Block
languagejson
{
  "timestamp": string ISO8601,
  "group_id": integer,
  "group_custom_id": string,
  "level_id": int,
  "floor_number": int,
  "positions_availability": [
    {
      "position": {
        "id": int,
        "network_id": UUID,
        "custom_id": string,
        "group_inner_id": int,
        "lat": real,
        "lon": real
      },
      "occupation_status": string //'occupied' / 'free' / 'n/a'
    }
    ...
  ],
  "summary": {
      "total": int,
      "occupied": int,
      "available": int,
      "undefined": int
  }
}

where:

  • timestamp - a time of a message generation ;time

  • group_id - an ID of a group (parking);parking group id

  • group_custom_id - a user-defined ID of a parking group(parking);

  • level_id - an ID identified of a level (an object which describes parking floor);

  • floor_number - a parking floor ;number

  • positions_availability - a list of parking spaces in a parking ( group ) with their IDs, geo-locations and occupancy statuses;

  • summary - an object which describes a number of parking spaces inside of parking and a number of occupied and vacant spaces.