|
SERVİS APİ DOKÜMANI |
Bu servis ile hisselerin favök değerlerini listeleyebilirsiniz.
Method | Url |
GET | {{api_url}}BilancoRapor/FavokData?Year={{Year}}&Month={{Month}}&Symbol={{Symbol}}&Symbol={{Symbol}}&api_key={{api_key}} |
Type | Params | Values |
URL_PARAM | Year | int |
URL_PARAM | Month | int |
URL_PARAM | Symbol | string array |
URL_PARAM | api_key | string |
Year: Dönem yılı. Opsiyoneldir.
Month: Belirtilen dönem yılına ait periyot.1-> 3 aylık, 2-> 6 aylık, 3-> 9 aylık, 4-> 12 aylık(yıllık). Opsiyoneldir.
UzunAd: Servis cevabında sembolün uzun adının dönmesini sağlar. UzunAd=1 durumunda sembolün uzun adı gelir. Boş bırakılırsa sembolün uzun adı gelmez. Opsiyoneldir.
SonFiyat: Servis cevabında sembolün son fiyat bilgisinin dönmesini sağlar. SonFiyat=1 durumunda sembolün son fiyat bilgiside gelir. Boş bırakılırsa son fiyat bilgisi gelmez. Opsiyoneldir.
api_key: Server bilgilerinde api key değeri pre-define olarak verilmiştir.
Status | Response |
200 |
{ "message": { "isError": false, "errorCode": "", "errorText": "", "resultOk": true, "resultCode": "200", "resultText": "OK" }, "data": { "stocks": [ { "code": "A1CAP", "fdFavok": { "value": 1.1327295213363942, "period": { "year": 2024, "month": 9 } }, "ceyreklikFavok": [ { "value": 297345011, "period": { "year": 2024, "month": 9 } }, { "value": 944821203, "period": { "year": 2024, "month": 6 } }, { "value": 676075130, "period": { "year": 2024, "month": 3 } }, { "value": null, "period": { "year": 2023, "month": 12 } }, { "value": 613757783, "period": { "year": 2023, "month": 9 } } ] }, ... } code (string) Hisse sembolü. year (int) Dönem yılı. month (int) Dönem periyot. |
401 |
{ "message": { "errorText": "Bu servis için yetkiniz yok.", "errorCode": "Permission401", "isError": true, "resultText": null, "resultOk": false, "resultCode": null } } |
Not: Bu servis için örnek istekler aşağıya eklenmiştir.
Request-1 {{api_url}}BilancoRapor/FavokData?api_key={{api_key}}
Bu istek ile tüm favök verilerini listeleyebilirsiniz.
Request-2 {{api_url}}BilancoRapor/FavokData?Year=2024&Month=9&api_key={{api_key}}
Bu istek ile tüm sembollere ait 2024 / 9 FdFavök ve çeyreklik favök değerlerini listeleyebilirsiniz.
Request-3 {{api_url}}BilancoRapor/FavokData?Symbol=ASELS&Symbol=BIMAS&api_key={{api_key}}
Bu istek ile birden fazla sembolü sorgulayabilirsiniz.