GET https://omuservices.omu.edu.tr/KPS/BilesikKutukSorgulaKimlikNoServis/{gun}/{ay}/{yil}/{id}

GET https://omuservices.omu.edu.tr/KPS/KimlikNoSorgulaAdresServis/{gun}/{ay}/{yil}/{id}

{gun}: Doğum Tarihi (Gün)
{ay}: Doğum Tarihi (Ay)
{yil}: Doğum Tarihi (Yil)
{id}: TCKimlikNo

GuzzleHttp Örnek

function apiClient() { $response = $this->client->request('GET', $this->baseApiURL .$this->apiURL, [ 'headers' => ['Authorization' => 'Bearer '.$this->token], 'verify' => false ] ); return json_decode($response->getBody(), true); }

AngularJS Örnek

return $http({ method: 'GET', headers: { "authorization": "Bearer " + $window.localStorage.getItem('token'), "content-type": "application/json", "accept": "application/json" }, url: $rootScope.serviceBaseURL + 'BilesikKutukSorgulaKimlikNoServis/'+id }).success(function (data, status) { console.log(data); }).error(function (data, status) { console.log("Hata: " + JSON.stringify({ data: data })); });

Hatalar!

{ "status": "Token is Invalid" } , { "status": "Token is Expired" } , { "status": "Authorization Token not found" } , { "status": "User not found" } , { "status": "Unauthorized" } , { "status": "Record table write error" }

Başarılı!

{ "SorgulaResult": { "HataBilgisi": null, "SorguSonucu": { "BilesikKutukBilgileri": { ...