Bir randevu ayarla
apimo™

Webservice & API

Sayın emlakçılar, API yazılımına hoş geldiniz, burada bir emlak ajansının tüm bilgilerini, ürünlerini, kişilerini ve ayarlarını bulabilirsiniz. Haklarınıza bağlı olarak potansiyel müşteriler gibi bazı bilgilerinizi gönderebilirsiniz.

Ortaklar

Bizimle baglantiya gecin

Agencies/contacts

Mevcut yöntemler

HTTP yöntemi Yol Fonksiyon
get /agencies/{agency_id}/contacts Retrieve the contacts list
post /agencies/{agency_id}/contacts Create a new contact
put /agencies/{agency_id}/contacts/{contact_id} Update a contact

get Retrieve the contacts list /agencies/{agency_id}/contacts

Yol parametreleri

  • agency_id  The unique id for the real estate agency

İçerik parametrelerini isteyin

  • limit  The number of records to return (max: 10000, default: 10000)
  • offset  The number of records to skip (default: 0)
  • timestamp  Return records created or updated since this UNIX/POSIX timestamp

İçerik cevabı

  • total_items  The total number of item regardless of pagination
  • timestamp  UNIX/POSIX timestamp of the most recent item inside this list
  • contacts  Array

İstek örneği

Console
PHP
curl --request GET \
--url 'https://api.apimo.pro/agencies/{agency_id}/contacts' \
--user 'provider:token'
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.apimo.pro/agencies/{agency_id}/contacts');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, 'provider:token');
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
$output = curl_exec($ch);
curl_close($ch);
$values = json_decode($output, true);
?>

post Create a new contact /agencies/{agency_id}/contacts

Yol parametreleri

  • agency_id  The unique id for the real estate agency

İçerik parametrelerini isteyin

İçerik cevabı

  • id  Unique ID
  • created_at  Date/time of the first creation
  • updated_at  Date/time of the last update

İstek örneği

Console
PHP
curl --request POST \
--url 'https://api.apimo.pro/agencies/{agency_id}/contacts' \
--user 'provider:token' \
--header 'content-type: application/json' \
--data '{ }' \
--include
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.apimo.pro/agencies/{agency_id}/contacts');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, 'provider:token');
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POSTFIELDS, '{ }');
$output = curl_exec($ch);
curl_close($ch);
$values = json_decode($output, true);
?>

Örnek cevap

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 21 Dec 2024 18:22:34 +0100
Content-Type: application/json; charset=utf-8
Content-Length: 137
Connection: keep-alive
Vary: Accept-Encoding

{"id":"3021944"}

put Update a contact /agencies/{agency_id}/contacts/{contact_id}

Yol parametreleri

  • agency_id  The unique id for the real estate agency
  • contact_id  The unique id for the contact to update

İçerik parametrelerini isteyin

İçerik cevabı

  • id  Unique ID
  • created_at  Date/time of the first creation
  • updated_at  Date/time of the last update

İstek örneği

Console
PHP
curl --request PUT \
--url 'https://api.apimo.pro/agencies/{agency_id}/contacts/{contact_id}' \
--user 'provider:token' \
--header 'content-type: application/json' \
--data '{ }' \
--include
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.apimo.pro/agencies/{agency_id}/contacts/{contact_id}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, 'provider:token');
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POSTFIELDS, '{ }');
$output = curl_exec($ch);
curl_close($ch);
$values = json_decode($output, true);
?>

Örnek cevap

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 21 Dec 2024 18:22:34 +0100
Content-Type: application/json; charset=utf-8
Content-Length: 137
Connection: keep-alive
Vary: Accept-Encoding

{"id":"3021944"}

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.