Models
User
This object should be added where __USER_DATA__
is referenced.
{
user_id: 'USER_ID', // user_id
user_registration_date: '2022-11-12', // create_time
user_type: 1, // type
user_iam_verified: true, // iam_verified
user_subscription: 3, // paid
user_subscribed_since: 3, // sub_from
user_paying: 0, // fee
user_aqar_plus_active: true, // active_aqar_plus_user
user_aqar_plus_subscribed: true, // active_aqar_plus_user
}
Listing
This object should be added where __LISTING_DATA__
is referenced.
iOS : Won't send 'listing_title', 'listing_city_name', 'listing_district_name' because there is no such information from query
{
listing_id: 4729149,
listing_category_id: 12,
listing_category_name: "فيلا للبيع",
listing_title: 'فيلا للبيع في حي القيروان ، الرياض ، الرياض',
listing_city_id: 1,
listing_city_name: 'الرياض',
listing_district_id: 5,
listing_district_name: 'القيروان',
listing_price: 5200000,
daily_rentable: true | false,
}
Daily Rental Booking
This object should be added where __BOOKING_DATA__
is referenced.
{
...__LISTING_DATA__,
user_id: 123,
booking_start_date: '2023-06-01', // YYYY-MM-DD
booking_end_date: '2023-06-04', // YYYY-MM-DD
booking_value: 900, // total value
booking_duration: 2, // nights count
booking_avg_unit_price: 450, // average night price (value / duration)
}
Listing List Params
This object should be added where __LISTING_LIST_PARAMS__
is referenced.
{
listing_category: 5,
listing_search_filters: __LISTING_SEARCH_FILTERS__,
listing_list_view: 'list' | 'map',
// if view is list
listing_list_page: 1,
// if view is map
listing_map_coords_ne: 43.2323,
listing_map_coords_nw: 24.2323,
listing_map_coords_se: 43.2323,
listing_map_coords_sw: 43.2323,
listing_map_coords_center: 43.2323,
listing_map_zoom: 12,
listings: [
__LISTING_DATA__,
__LISTING_DATA__,
__LISTING_DATA__,
],
}
List Search Filters
This object should be added where __LISTING_SEARCH_FILTERS__
is referenced.
{
poster_category_type: 'owner',
}