Demo Talebinde Bulunun Demo Talebinde Bulunun

Müşteriye verilebilecek hizmetin BBK kodunu, TT Code bilgisini oluşturabilmek için öncelikli olarak altyapı sorgulama verisine ihtiyaç duyulmaktadır.

Bu servisin amacı, adresin il /ilçe / mahalle / cadde-Sokak / bina / bağımsız bölüm şeklinde sorgulanabilmesini sağlamaktır.

Servis içerisinde BBK bilgisini sorgulayacağımız alana kadar servisler açık olarak sunulmaktadır. Sonrasındaki tüm altyapı sorgulamaları firma özelinde yetkiye tabidir.

uniq_code ve api_code bilgisi için işletmenizden altyapı sorgulama yetkisi talep ediniz.

POST
https://address-ws.wiradius.com/address_inf
Parametre Örnek Değer Tip Açıklama
home_id 52080662 number Daire sorgulamasından gelen TT Adres Kodu bilgisi

curl -X POST 'https://address-ws.wiradius.com/address_inf' \
  --form 'home_id=52080662' \

<?php
  $post_fields = array();
  $post_fields[ 'home_id' ] = 52080662;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/address_inf',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/building
Parametre Örnek Değer Tip Açıklama
street_id 268735 number Sokak sorgusundan gelen code ID bilgisi ( Sokak ID)

curl -X POST 'https://address-ws.wiradius.com/building' \
  --form 'street_id=268735' \

<?php
  $post_fields = array();
  $post_fields[ 'street_id' ] = 268735;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/building',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/home
Parametre Örnek Değer Tip Açıklama
building_id 4909020 number Bina sorgusundan gelen code ID bilgisi ( Bina ID)

curl -X POST 'https://address-ws.wiradius.com/home' \
  --form 'building_id=4909020' \

<?php
  $post_fields = array();
  $post_fields[ 'building_id' ] = 4909020;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/home',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/town
Parametre Örnek Değer Tip Açıklama
city_id 41 number İl sorgusundan gelen code ID bilgisi ( Sehir ID )

curl -X POST 'https://address-ws.wiradius.com/town' \
  --form 'city_id=41' \

<?php
  $post_fields = array();
  $post_fields[ 'city_id' ] = 41;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/town',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/city

curl -X POST 'https://address-ws.wiradius.com/city' \

<?php
  $post_fields = array();

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/city',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

Bu HTTP POST isteği, Hizmet sağlayıcı Yerel internet altyapı bilgilerini sistemede sorgulamak için kullanılır. İstek, belirtilen URL'ye sağlanan API kodu ile yapılmalıdır. İstek gövdesi form-data türünde olmalıdır. İsteğin yanıtı, 200 durum kodu ve text/xml içerik türüne sahip olacaktır. Yanıt gövdesi, üye internet altyapısıyla ilgili bilgileri içerecektir.

Örnekteki gibi yerel altyapınızın girişini sağlarken kullandığınız string veri ile eşleşen sonuçlar cevaplanmaktadır. TT/VAE altyapı sorgulamak için bu servis kullanılmaz.

POST
https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure_v2/{{api_code}}
Parametre Örnek Değer Tip Açıklama
city İSTANBUL text
neighborhood FİRUZKÖY MAHALLESİ text
outside_door_no NO :62 text
street KAZIM KARABEKİR CADDESI text
town AVCILAR text
uniq_code {{uniq_code}} text Yetkiliden talep ediniz.

curl -X POST 'https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure_v2/{{api_code}}' \
  --form 'city=İSTANBUL' \
  --form 'neighborhood=FİRUZKÖY MAHALLESİ' \
  --form 'outside_door_no=NO :62' \
  --form 'street=KAZIM KARABEKİR CADDESI' \
  --form 'town=AVCILAR' \
  --form 'uniq_code={{uniq_code}}' \

<?php
  $post_fields = array();
  $post_fields[ 'city' ] = 'İSTANBUL';
  $post_fields[ 'neighborhood' ] = 'FİRUZKÖY MAHALLESİ';
  $post_fields[ 'outside_door_no' ] = 'NO :62';
  $post_fields[ 'street' ] = 'KAZIM KARABEKİR CADDESI';
  $post_fields[ 'town' ] = 'AVCILAR';
  $post_fields[ 'uniq_code' ] = '{{uniq_code}}';

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure_v2/{{api_code}}',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure/{{api_code}}
Parametre Örnek Değer Tip Açıklama
city İSTANBUL text
neighborhood FİRUZKÖY MAHALLESİ text
outside_door_no NO :62 text
street KAZIM KARABEKİR CADDESI text
town AVCILAR text
uniq_code {{uniq_code}} text Yetkiliden talep ediniz.

curl -X POST 'https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure/{{api_code}}' \
  --form 'city=İSTANBUL' \
  --form 'neighborhood=FİRUZKÖY MAHALLESİ' \
  --form 'outside_door_no=NO :62' \
  --form 'street=KAZIM KARABEKİR CADDESI' \
  --form 'town=AVCILAR' \
  --form 'uniq_code={{uniq_code}}' \

<?php
  $post_fields = array();
  $post_fields[ 'city' ] = 'İSTANBUL';
  $post_fields[ 'neighborhood' ] = 'FİRUZKÖY MAHALLESİ';
  $post_fields[ 'outside_door_no' ] = 'NO :62';
  $post_fields[ 'street' ] = 'KAZIM KARABEKİR CADDESI';
  $post_fields[ 'town' ] = 'AVCILAR';
  $post_fields[ 'uniq_code' ] = '{{uniq_code}}';

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/internet_infrastructure/member_internet_infrastructure/{{api_code}}',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/neighboor
Parametre Örnek Değer Tip Açıklama
town_id 1338 number İlçe sorgusundan gelen code ID bilgisi ( Ilçe ID)

curl -X POST 'https://address-ws.wiradius.com/neighboor' \
  --form 'town_id=1338' \

<?php
  $post_fields = array();
  $post_fields[ 'town_id' ] = 1338;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/neighboor',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

POST
https://address-ws.wiradius.com/street
Parametre Örnek Değer Tip Açıklama
neighboor_id 50285 number Mahalle sorgusundan gelen code ID bilgisi (Mahalle ID)

curl -X POST 'https://address-ws.wiradius.com/street' \
  --form 'neighboor_id=50285' \

<?php
  $post_fields = array();
  $post_fields[ 'neighboor_id' ] = 50285;

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/street',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>

Bu endpoint ile birlikte TT VAE hizmeti entegrasyonu olan operatörler, TT VAE hizmeti altyapı sorgulaması, altyapı ve port bilgileri sorgulanabilir.

Request Body

  • tt_code ( turktelekom Adres kodu bilgisidir )

  • uniq_code ( Operatör Api UniqCode )

Response

  • Status: 200

  • Content-Type: text/json

POST
https://address-ws.wiradius.com/internet_infrastructure/tt_vae_query/{{api_code}}
Parametre Örnek Değer Tip Açıklama
tt_code 23936155 text Adres Detay sorgulamasında yada Daire sorgusundan gelen TT Kodu
uniq_code {{uniq_code}} text Yetkiliden talep ediniz.

curl -X POST 'https://address-ws.wiradius.com/internet_infrastructure/tt_vae_query/{{api_code}}' \
  --form 'tt_code=23936155' \
  --form 'uniq_code={{uniq_code}}' \

<?php
  $post_fields = array();
  $post_fields[ 'tt_code' ] = '23936155';
  $post_fields[ 'uniq_code' ] = '{{uniq_code}}';

  $curl = curl_init();
  curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://address-ws.wiradius.com/internet_infrastructure/tt_vae_query/{{api_code}}',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS => $post_fields,
  ));

  $response = curl_exec( $curl );
  curl_close($curl);
  echo $response; ?>
Servisler