Címezhető típusok lekérése
Kérés a szervertől
GEThttps://eugyintezes.e-kreta.hu/api/v1/kommunikacio/cimezhetotipusok
HEADERX-Uzenet-Lokalizacio = hu-HU
HEADERAuthorization = Bearer xxxxxxxxxx (Bearer tokened)
Válasz a szervertől
Sikeres lekérdezés: (200 OK)
[
{
"azonosito": 1,
"kod": "TANAROK",
"rovidNev": "Tanárok",
"nev": "Tanárok",
"leiras": "Tanárok"
},
...
]
Helytelen bearer token: (401 Unauthorized)
Structure: List<AddresseeType>
C# class file: AddresseeType.cs
| Field name | Variable name | Variable type |
|---|---|---|
| kod | code | string |
| leiras | description | string |
| azonosito | id | long |
| nev | name | string |
| rovidNev | shortName | string |
cURL:
curl "https://eugyintezes.e-kreta.hu/api/v1/kommunikacio/cimezhetotipusok" -H "X-Uzenet-Lokalizacio: hu-HU" --oauth2-bearer "{accessToken}"