GET https://omuservices.omu.edu.tr/OSYM/BilgiServisi/{method}

GET https://omuservices.omu.edu.tr/OSYM/BilgiServisi/{method}/{id}/{year}/{groupId}

GET https://omuservices.omu.edu.tr/OSYM/BilgiServisi/{method}/{id}/{resultId}

{method}: Kullanılabilir metodlar
{id}: TCKimlikNo
{resultId}: SinavSonuclariGetir metodu ile gelen resultId
{year}: Yıl
{groupId}: SinavGrupBilgileriniGetir metodu ile gelen ilgili groupId

Metodlar!

SinavGrupBilgileriniGetir SinavSonuclariGetir/{id}/{year}/{groupId} SinavSonucHtml/{id}/{resultId} SinavSonucXml/{id}/{resultId}

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ı!

{ "SinavSonucHtmlResult": { "Aciklama": "Herhangi bir veri yoktur.", "SonucKodu": "KayitBulunamadi", "Sonuc": null } }