SrealityImport2
The following methods are supported:
- addAdvert
- addPhoto
- addProject
- addSeller
- addVideo
- delAdvert
- delPhoto
- delSeller
- getHash
- listAdvert
- listAllDailyStat
- listDailyStat
- listPhoto
- listProject
- listSeller
- listSellerStat
- listStat
- listVideo
- login
- logout
- topAdvert
- version
method addAdvert
Parameters
| string | session_id |
| struct addAdv | advert_data |
Return Value
| struct retAdv |
method addPhoto
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
| struct photoAdd | data |
Return Value
| struct retPhoto |
method addProject
Parameters
| string | session_id |
| any | project_data |
Return Value
| struct retProjectStr |
method addSeller
Parameters
| string | session_id |
| integer | seller_id |
| string | seller_rkid |
| struct client_data | client_data |
Return Value
| struct retSeller |
method addVideo
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
| any | data |
Return Value
| struct retaddVideoStr |
method delAdvert
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
Return Value
| struct ret |
method delPhoto
Parameters
| string | session_id |
| integer | photo_id |
| string | photo_rkid |
Return Value
| struct ret |
method delSeller
Parameters
| string | session_id |
| integer | seller_id |
| string | seller_rkid |
Return Value
| struct ret |
method getHash
Parameters
| integer | client_id |
Return Value
| struct retHash |
method listAdvert
Parameters
| string | session_id |
Return Value
| struct retAdvert |
method listAllDailyStat
Parameters
| string | session_id |
| any | datum |
Return Value
| struct retListAllDailyStat |
method listDailyStat
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
Return Value
| struct retListDailyStat |
method listPhoto
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
Return Value
| struct retListPhoto |
method listProject
Parameters
| string | session_id |
Return Value
| struct retListProjectStr |
method listSeller
Parameters
| string | session_id |
Return Value
| struct retListSeller |
method listSellerStat
Parameters
| string | session_id |
| integer | seller_id |
| string | seller_rkid |
| any | from |
| any | till |
Return Value
| struct retlistSellerStat |
method listStat
Parameters
| string | session_id |
| array of integer | advert_id |
| array of string | rkid |
Return Value
| struct retListStat |
method listVideo
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
Return Value
| struct retListVideoStr |
method login
Parameters
| string | session_id |
Return Value
| struct ret |
method logout
Parameters
| string | session_id |
Return Value
| struct ret |
method topAdvert
Parameters
| string | session_id |
| integer | advert_id |
| string | advert_rkid |
Return Value
| struct ret |
method version
Parameters
| none |
Return Value
| struct retVersion |
struct addAdv
Members
| integer | advert_function |
| integer | advert_lifetime |
| double | advert_price |
| integer | advert_price_currency |
| integer | advert_price_unit |
| integer | advert_type |
| string | description |
| string | locality_city |
| integer | locality_inaccuracy_level |
| string | title (optional) |
| integer | advert_id (optional) |
| string | advert_rkid (optional) |
| integer | advert_subtype (optional) |
| any | balcony (optional) |
| integer | building_condition (optional) |
| integer | building_type (optional) |
| any | cellar (optional) |
| integer | estate_area (optional) |
| integer | floor_number (optional) |
| any | garage (optional) |
| double | locality_latitude (optional) |
| double | locality_longitude (optional) |
| any | locality_ruian (optional) |
| any | locality_ruian_level (optional) |
| integer | locality_uir (optional) |
| integer | locality_uir_level (optional) |
| any | loggia (optional) |
| integer | object_type (optional) |
| integer | ownership (optional) |
| any | parking_lots (optional) |
| integer | project_id (optional) |
| string | project_rkid (optional) |
| integer | seller_id (optional) |
| string | seller_rkid (optional) |
| any | terrace (optional) |
| integer | usable_area (optional) |
| integer | acceptance_year (optional) |
| string | advert_code (optional) |
| integer | advert_price_charge (optional) |
| integer | advert_price_commission (optional) |
| integer | advert_price_legal_services (optional) |
| any | advert_price_negotiation (optional) |
| string | advert_price_text_note (optional) |
| integer | advert_price_vat (optional) |
| integer | annuity (optional) |
| base64 | auction_advertisement_pdf (optional) |
| dateTime | auction_date (optional) |
| dateTime | auction_date_tour (optional) |
| dateTime | auction_date_tour2 (optional) |
| integer | auction_kind (optional) |
| string | auction_place (optional) |
| base64 | auction_review_pdf (optional) |
| integer | balcony_area (optional) |
| any | basin (optional) |
| integer | basin_area (optional) |
| integer | beds (optional) |
| any | beginning_date (optional) |
| integer | building_area (optional) |
| double | ceiling_height (optional) |
| integer | cellar_area (optional) |
| string | description_en (optional) |
| any | easy_access (optional) |
| any | electricity (optional) |
| any | elevator (optional) |
| integer | energy_efficiency_rating (optional) |
| base64 | energy_performance_attachment (optional) |
| integer | energy_performance_certificate (optional) |
| double | energy_performance_summary (optional) |
| any | equipment (optional) |
| integer | estate_building_type (optional) |
| integer | extra_info (optional) |
| any | finish_date (optional) |
| dateTime | first_tour_date (optional) |
| dateTime | first_tour_date_to (optional) |
| integer | flats (optional) |
| integer | floor_area (optional) |
| integer | floors (optional) |
| integer | free_flats (optional) |
| integer | free_offices (optional) |
| integer | furnished (optional) |
| integer | garage_count (optional) |
| integer | garden_area (optional) |
| any | garret (optional) |
| any | gas (optional) |
| any | gully (optional) |
| any | heating (optional) |
| integer | height (optional) |
| integer | house_count (optional) |
| integer | length (optional) |
| string | locality_citypart (optional) |
| string | locality_co (optional) |
| string | locality_cp (optional) |
| string | locality_street (optional) |
| integer | loggia_area (optional) |
| any | mortgage (optional) |
| double | mortgage_percent (optional) |
| integer | nolive_total_area (optional) |
| integer | object_age (optional) |
| integer | object_count (optional) |
| integer | object_kind (optional) |
| integer | object_location (optional) |
| integer | offices (optional) |
| integer | offices_area (optional) |
| integer | parking (optional) |
| integer | personal (optional) |
| double | price_auction_principal (optional) |
| double | price_expert_report (optional) |
| double | price_minimum_bid (optional) |
| integer | production_area (optional) |
| integer | protection (optional) |
| any | ready_date (optional) |
| integer | reconstruction_year (optional) |
| any | road_type (optional) |
| any | sale_date (optional) |
| integer | seats (optional) |
| integer | shop_area (optional) |
| integer | shops (optional) |
| double | spor_percent (optional) |
| string | steps (optional) |
| integer | store_area (optional) |
| integer | surroundings_type (optional) |
| any | telecommunication (optional) |
| integer | terrace_area (optional) |
| any | transport (optional) |
| integer | underground_floors (optional) |
| integer | usable_area_ground (optional) |
| any | user_status (optional) |
| any | water (optional) |
| integer | width (optional) |
| integer | workshop_area (optional) |
| string | ADVERT_CUSTOM_URL (optional) |
| any | circuit_breaker (optional) |
| any | commission (optional) |
| any | ftv_panels (optional) |
| any | heating_element (optional) |
| any | heating_source (optional) |
| any | internet_connection_provider (optional) |
| any | internet_connection_speed (optional) |
| any | internet_connection_type (optional) |
| any | keywords (optional) |
| any | lease_type_cb (optional) |
| any | mapy_panorama_url (optional) |
| any | phase_distributions (optional) |
| any | refundable_deposit (optional) |
| any | solar_panels (optional) |
| any | tenant_not_pay_commission (optional) |
| any | water_heat_source (optional) |
| any | well_type (optional) |
struct retAdv
Members
| integer | status |
| string | statusMessage |
| array of struct newAdvert | output |
struct photoAdd
Members
| base64 | data (optional) |
| integer | main |
| integer | order (optional) |
| string | alt (optional) |
| integer | photo_id (optional) |
| string | photo_rkid (optional) |
struct retPhoto
Members
| integer | status |
| string | statusMessage |
| array of struct photo | output (optional) |
struct retProjectStr
Members
| integer | status |
| string | statusMessage |
| array of any | output |
struct client_data
Members
| string | client_login |
| string | client_domain (optional) |
| string | client_name |
| string | contact_gsm |
| string | contact_gsm_code (optional) |
| string | contact_phone (optional) |
| string | contact_phone_code (optional) |
| string | contact_email (optional) |
| string | makler_note (optional) |
| base64 | photo (optional) |
struct retSeller
Members
| integer | status |
| string | statusMessage |
| array of struct seller | output |
struct retaddVideoStr
Members
| integer | status |
| string | statusMessage |
| array of any | output |
struct ret
Members
| integer | status |
| string | statusMessage |
struct retHash
Members
| integer | status |
| string | statusMessage |
| array of struct output | output |
struct retAdvert
Members
| integer | status |
| string | statusMessage |
| array of struct advert | output (optional) |
struct retListAllDailyStat
Members
| integer | status |
| string | statusMessage |
| array of struct statAllDailyList | output (optional) |
struct retListDailyStat
Members
| integer | status |
| string | statusMessage |
| array of struct statDailyList | output (optional) |
struct retListPhoto
Members
| integer | status |
| string | statusMessage |
| array of struct photoList | output (optional) |
struct retListProjectStr
Members
| integer | status |
| string | statusMessage |
| array of any | output |
struct retListSeller
Members
| integer | status |
| string | statusMessage |
| array of struct sellerList | output (optional) |
struct retlistSellerStat
Members
| integer | status |
| string | statusMessage |
| array of struct statSellerList | output (optional) |
struct retListStat
Members
| integer | status |
| string | statusMessage |
| array of struct statList | output (optional) |
struct retListVideoStr
Members
| integer | status |
| string | statusMessage |
| array of struct video | output |
struct retVersion
Members
| integer | status |
| string | statusMessage |
| array of struct ver | output |
struct newAdvert
Members
| integer | advert_id |
struct photo
Members
| integer | photo_id |
struct seller
Members
| integer | seller_id |
struct output
Members
| string | session_id |
| string | sessionId |
struct advert
Members
| integer | advert_id |
| string | advert_rkid |
| string | advert_url |
| integer | advert_type |
| integer | hash_id |
| string | modified |
| integer | published |
| integer | published_status |
| integer | top |
struct statAllDailyList
Members
| integer | advert_id |
| string | rkid |
| integer | views |
| double | advert_price |
| double | topped_price |
| double | total_price |
| integer | with_vat |
struct statDailyList
Members
| string | _date |
| integer | views |
| double | price |
| integer | with_vat |
struct photoList
Members
| integer | photo_id |
| integer | main |
| integer | order |
| string | photo_rkid |
struct sellerList
Members
| integer | seller_id |
| string | seller_rkid |
| string | client_name |
| string | client_login |
| integer | photo |
struct statSellerList
Members
| string | _date |
| integer | advert_count |
| integer | view |
| double | total_price |
| double | topped_price |
| double | advert_price |
| integer | with_vat |
struct statList
Members
| integer | advert_id |
| string | rkid |
| integer | total_views |
| double | total_price |
| double | topped_price |
| double | advert_price |
| integer | top |
| integer | with_vat |
struct video
Members
| string | video_name |
| integer | video_state |
| integer | video_length |
struct ver
Members
| string | version |