3562 lines
194 KiB
JSON
3562 lines
194 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "09bb41ab-b6d8-428a-9c42-ef1fb51f68b9",
|
|
"name": "Naplo_Mobile",
|
|
"description": "Offline módban is működő mobilalkalmazás kiszolgálásáért felelős Napló BE dokumentáció. A tanárok számára, órarend, naplózás és értékelés lehetőséggel.</br>\r\nKészítés dátuma: 2018.08.</br>\r\nSzerző: Kovács Kornél (DevKornél)</br>\r\nCopyright © 2018 eKRÉTA Informatikai Zrt.",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "V1",
|
|
"item": [
|
|
{
|
|
"name": "PROXY",
|
|
"item": [
|
|
{
|
|
"name": "Enum",
|
|
"item": [
|
|
{
|
|
"name": "NaploEnum",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"dddd\",\n \"EnumType\": {\n \"id\":1,\n \"name\":\"TODO\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Enum/NaploEnum?Hash=theHash&EngedelyezettEnumName=MulasztasTipusEnum",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Enum", "NaploEnum"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "EngedelyezettEnumName",
|
|
"value": "MulasztasTipusEnum",
|
|
"description": "Az elkérhető enumok neve. (ErtekelesModEnum, ErtekelesTipusEnum,EsemenyTipusEnum,MulasztasTipusEnum,OsztalyzatTipusEnum)"
|
|
}
|
|
]
|
|
},
|
|
"description": "Adatszótárak lekérdezése.\nA Nev az adott elem leírását jelenti."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK mulasztastipus",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"dddd\",\n \"EnumType\": {\n \"id\":1,\n \"name\":\"TODO\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Enum/NaploEnum?Hash=theHash&EngedelyezettEnumName=MulasztasTipusEnum",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Enum", "NaploEnum"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "EngedelyezettEnumName",
|
|
"value": "MulasztasTipusEnum",
|
|
"description": "Az elkérhető enumok neve. (ErtekelesModEnum, ErtekelesTipusEnum,EsemenyTipusEnum,MulasztasTipusEnum,OsztalyzatTipusEnum)"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "436",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 08 Aug 2018 14:10:15 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-08T14:10:15.5024107Z\",\r\n \"Hash\": \".-1595017002__2_60_0_0\",\r\n \"Adatcsomag\": [\r\n {\r\n \"Id\": 1497,\r\n \"Nev\": \"Na\"\r\n },\r\n {\r\n \"Id\": 1498,\r\n \"Nev\": \"Jelenlét\"\r\n },\r\n {\r\n \"Id\": 1499,\r\n \"Nev\": \"Késés\"\r\n },\r\n {\r\n \"Id\": 1500,\r\n \"Nev\": \"Hiányzás\"\r\n },\r\n {\r\n \"Id\": 1817,\r\n \"Nev\": \"Üres\"\r\n }\r\n ]\r\n}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Orarend",
|
|
"item": [
|
|
{
|
|
"name": "OraLista",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Orarend/OraLista?Hash=theHash&DatumUtc=2017-09-03T20:00:00Z",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Orarend", "OraLista"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash"
|
|
},
|
|
{
|
|
"key": "DatumUtc",
|
|
"value": "2017-09-03T20:00:00Z"
|
|
}
|
|
]
|
|
},
|
|
"description": "Tanári órarend lekérdezése adott napra."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Orarend/OraLista?Hash=theHash&DatumUtc=2018-05-29T00:00:00Z",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Orarend", "OraLista"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "DatumUtc",
|
|
"value": "2018-05-29T00:00:00Z",
|
|
"description": "Annak a napnak a dátuma, amelyre az órákat lekérdezzük."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "842",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Fri, 03 Aug 2018 08:45:20 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"StatusCode\": \"OK\",\n \"UtolsoSzinkronDatumUtc\": \"2018-08-03T08:45:19.820829Z\",\n \"Hash\": \".787924404__2_60_0_0\",\n \"Adatcsomag\": [\n {\n \"OrarendiOraId\": 64354,\n \"TanitasiOraId\": null,\n \"Allapot\": {\n \"Id\": 2,\n \"Nev\": \"Nem_naplozott\"\n },\n \"KezdeteUtc\": \"2018-05-29T11:00:00Z\",\n \"VegeUtc\": \"2018-05-29T11:45:00Z\",\n \"EvesOraszam\": 0,\n \"Oraszam\": 6,\n \"IsElmaradt\": false,\n \"Tema\": \"\",\n \"TantargyId\": 2528,\n \"TantargyNev\": \"Teszt Tantárgy II Ho\",\n \"TantargyKategoria\": \"Na\",\n \"OsztalyCsoportId\": 4102,\n \"OsztalyCsoportNev\": \"Teszt Osztály II\",\n \"TeremNev\": \"Teszt Terem II\",\n \"HazifeladatSzovege\": null,\n \"HazifeladatId\": null,\n \"HazifeladatHataridoUtc\": null,\n \"HelyettesitoId\": 9071,\n \"OraTulajdonosTanar\": {\n \"Id\": 9395,\n \"Nev\": \"Teszt Tanár I\"\n }\n }\n ]\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "OraNaplozas",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "[\r\n {\r\n \"MobilId\": 10,\r\n \"OrarendiOraId\": 101418,\r\n \"TanitasiOraId\": null,\r\n \"DatumUtc\": \"2018-09-03T11:00:00Z\",\r\n \"RogzitesDatumUtc\": \"2018-09-09T22:00:00Z\",\r\n \"IsElmaradt\": false,\r\n \"Tema\": \"Ipon2\",\r\n \"Hazifeladat\": null,\r\n \"HazifeladatId\": null,\r\n \"HazifeladatHataridoUtc\": null,\r\n \"TanuloLista\": [\r\n {\r\n \t\"Id\": 210366,\r\n \"Mulasztas\":{\r\n \t\"Tipus\": {\r\n\t \"Id\": 1500,\r\n\t \"Nev\": \"hianyzas\"\r\n \t},\r\n \t\"Keses\": null\r\n },\r\n \"FeljegyzesTipusLista\": []\r\n }\r\n ]\r\n }\r\n]"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Orarend/OraNaplozas",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Orarend", "OraNaplozas"]
|
|
},
|
|
"description": "Egy órarendi óra naplózása + tanuló mulasztások rögzítése (pl.: hiányzások, késések)\n\nNaplzóás módosítása esetén: TanitasiOraId kötelező mező, a megadott tanóra adatai fognak frissülni!"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "A tanuló többször szerepel",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}",
|
|
"disabled": false
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"disabled": false
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "[\r\n {\r\n \"MobilId\": 10,\r\n \"OrarendiOraId\": 101418,\r\n \"TanitasiOraId\": null,\r\n \"DatumUtc\": \"2018-09-03T11:00:00Z\",\r\n \"RogzitesDatumUtc\": \"2018-09-09T22:00:00Z\",\r\n \"IsElmaradt\": false,\r\n \"Tema\": \"Ipon2\",\r\n \"Hazifeladat\": null,\r\n \"HazifeladatId\": null,\r\n \"HazifeladatHataridoUtc\": null,\r\n \"TanuloLista\": [\r\n {\r\n \t\"Id\": 210366,\r\n \"Mulasztas\":{\r\n \t\"Tipus\": {\r\n\t \"Id\": 1500,\r\n\t \"Nev\": \"hianyzas\"\r\n \t},\r\n \t\"Keses\": null\r\n },\r\n \"FeljegyzesTipusLista\": []\r\n },\r\n {\r\n\t\t\t\"Id\": 210366,\r\n \"Mulasztas\":{\r\n \t\"Tipus\": {\r\n\t \"Id\": 1500,\r\n\t \"Nev\": \"hianyzas\"\r\n \t},\r\n \t\"Keses\": null\r\n },\r\n \"FeljegyzesTipusLista\": []\r\n \t\r\n }\r\n ]\r\n }\r\n]"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Orarend/OraNaplozas",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Orarend", "OraNaplozas"]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "349",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Tue, 11 Sep 2018 09:41:21 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\r\n {\r\n \"MobilId\": 10,\r\n \"Exception\": {\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Validációs Hiba!\",\r\n \"ValidationItems\": [\r\n {\r\n \"Id\": \"custom_1\",\r\n \"Message\": \"A tanuló többször szerepel: Id=210366\",\r\n \"Details\": null\r\n }\r\n ]\r\n }\r\n }\r\n]"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Tanar",
|
|
"item": [
|
|
{
|
|
"name": "Profil",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\":\"7ae26e64679abd1e66cfe1e9b99e85\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanar/Profil?Hash=d",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanar", "Profil"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "d",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
}
|
|
]
|
|
},
|
|
"description": "Tanári profil adatok lekérdezése."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\":\"7ae26e64679abd1e66cfe1e9b99e85\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanar/Profil?Hash=d",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanar", "Profil"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "d",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "212",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:26:02 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-02T10:26:01.6892195Z\",\r\n \"Hash\": \".1664079480__2_60_0_0\",\r\n \"Adatcsomag\": {\r\n \"Id\": 9395,\r\n \"Nev\": \"Teszt Tanár I\",\r\n \"Kep\": null\r\n }\r\n}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Ora",
|
|
"item": [
|
|
{
|
|
"name": "OrarendiOra",
|
|
"item": [
|
|
{
|
|
"name": "JavasoltJelenlet",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OrarendiOra/JavasoltJelenlet?key[0].OrarendiOraId=64348&key[0].OraKezdetDatumaUtc=2018-05-28T06:00:00Z&key[0].OraVegDatumaUtc=2018-05-28T06:45:00Z",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "OrarendiOra", "JavasoltJelenlet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OrarendiOraId",
|
|
"value": "64348"
|
|
},
|
|
{
|
|
"key": "key[0].OraKezdetDatumaUtc",
|
|
"value": "2018-05-28T06:00:00Z"
|
|
},
|
|
{
|
|
"key": "key[0].OraVegDatumaUtc",
|
|
"value": "2018-05-28T06:45:00Z"
|
|
}
|
|
]
|
|
},
|
|
"description": "Órarendi órákra járó tanulók javasolt jelenléti listájának lekérdezése.<br>\nTanulónként meghatározott szűrők vannak (Nem_naplozott template tartalmazza), melyeket a FE-nek figyelembe kell vennie.\n<i>Jogosultság</i>\n<ul>\n <li>Tanár: csak a sajátját, valamint a helyettesített tanárokét láthatja</li>\n</ul>"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OrarendiOra/JavasoltJelenlet?key[0].OrarendiOraId=64348&key[0].OraKezdetDatumaUtc=2018-05-28T06:00:00Z",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": [
|
|
"Ora",
|
|
"OrarendiOra",
|
|
"JavasoltJelenlet"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OrarendiOraId",
|
|
"value": "64348"
|
|
},
|
|
{
|
|
"key": "key[0].OraKezdetDatumaUtc",
|
|
"value": "2018-05-28T06:00:00Z"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "656",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Tue, 14 Aug 2018 14:33:53 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\r\n {\r\n \"OrarendiOraId\": 64348,\r\n \"OraKezdetDatumaUtc\": \"2018-05-28T08:00:00Z\",\r\n \"TanuloLista\": [\r\n {\r\n \"TanuloId\": 9402,\r\n \"JavasoltJelenletTemplateTipusSzuroLista\": [\r\n {\r\n \"Megjegyzes\": null,\r\n \"Tipus\": \"Default\"\r\n },\r\n {\r\n \"Megjegyzes\": \"A tanulónak igazolás lett rögzítve.\",\r\n \"Tipus\": \"Igazolas\"\r\n }\r\n ]\r\n },\r\n {\r\n \"TanuloId\": 9399,\r\n \"JavasoltJelenletTemplateTipusSzuroLista\": [\r\n {\r\n \"Megjegyzes\": null,\r\n \"Tipus\": \"Default\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n]"
|
|
},
|
|
{
|
|
"name": "Jogosultság hiánya",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OrarendiOra/JavasoltJelenlet?key[0].OrarendiOraId=64348&key[0].OraKezdetDatumaUtc=2018-05-28T06:00:00Z&key[0].OraVegDatumaUtc=2018-05-28T06:45:00Z",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": [
|
|
"Ora",
|
|
"OrarendiOra",
|
|
"JavasoltJelenlet"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OrarendiOraId",
|
|
"value": "64348"
|
|
},
|
|
{
|
|
"key": "key[0].OraKezdetDatumaUtc",
|
|
"value": "2018-05-28T06:00:00Z"
|
|
},
|
|
{
|
|
"key": "key[0].OraVegDatumaUtc",
|
|
"value": "2018-05-28T06:45:00Z"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "184",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 05 Sep 2018 09:03:49 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Nincs jogosultsága, csak a saját vagy helyettesítési óra kérdezhető le!\",\r\n \"ValidationItems\": []\r\n}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "TanitasiOra",
|
|
"item": [
|
|
{
|
|
"name": "JavasoltJelenlet",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/TanitasiOra/JavasoltJelenlet?key[0].TanitasiOraId=2798881",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "TanitasiOra", "JavasoltJelenlet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].TanitasiOraId",
|
|
"value": "2798881"
|
|
}
|
|
]
|
|
},
|
|
"description": "Tanítási órákra járó tanulók javasolt jelenléti listájának lekérdezése.<br>\nTanulónként meghatározott szűrők vannak (Naplozott template tartalmazza), melyeket a FE-nek figyelembe kell vennie.<br>\n<i>Jogosultság</i>\n<ul>\n <li>Tanár: csak a sajátját, valamint a helyettesített tanárokét láthatja</li>\n</ul>"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Jogosultság hiánya",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/TanitasiOra/JavasoltJelenlet?key[0].TanitasiOraId=2798579",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": [
|
|
"Ora",
|
|
"TanitasiOra",
|
|
"JavasoltJelenlet"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "key[0].TanitasiOraId",
|
|
"value": "2798579"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "184",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 05 Sep 2018 09:07:32 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Nincs jogosultsága, csak a saját vagy helyettesítési óra kérdezhető le!\",\r\n \"ValidationItems\": []\r\n}"
|
|
},
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/TanitasiOra/JavasoltJelenlet?key[0].TanitasiOraId=2798881",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": [
|
|
"Ora",
|
|
"TanitasiOra",
|
|
"JavasoltJelenlet"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "key[0].TanitasiOraId",
|
|
"value": "2798881"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "607",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Tue, 14 Aug 2018 15:29:57 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\r\n {\r\n \"TanitasiOraId\": 2798881,\r\n \"TanuloLista\": [\r\n {\r\n \"TanuloId\": 9402,\r\n \"JavasoltJelenletTemplateTipusSzuroLista\": [\r\n {\r\n \"Megjegyzes\": null,\r\n \"Tipus\": \"Default\"\r\n },\r\n {\r\n \"Megjegyzes\": \"A tanulónak igazolás lett rögzítve.\",\r\n \"Tipus\": \"Igazolas\"\r\n }\r\n ]\r\n },\r\n {\r\n \"TanuloId\": 9399,\r\n \"JavasoltJelenletTemplateTipusSzuroLista\": [\r\n {\r\n \"Megjegyzes\": null,\r\n \"Tipus\": \"Default\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n]"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Feljegyzes",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/Feljegyzes?Hash=theHash&TanoraId=2798883",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "Feljegyzes"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "TanoraId",
|
|
"value": "2798883",
|
|
"description": "Tanítási óra id-ja"
|
|
}
|
|
]
|
|
},
|
|
"description": "Tanítási órán tanulókhoz rögzített feljegyzések lekérdezése."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Nem létező tanítási óra",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/Feljegyzes?Hash=theHash&TanoraId=27988533",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "Feljegyzes"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash"
|
|
},
|
|
{
|
|
"key": "TanoraId",
|
|
"value": "27988533"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Not Found",
|
|
"code": 404,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "142",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:23:40 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"ResourceNotFound\",\r\n \"Message\": \"Nem létező tanítási óra!\",\r\n \"ValidationItems\": []\r\n}"
|
|
},
|
|
{
|
|
"name": "Nem létező tanítási óra",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/Feljegyzes?Hash=theHash&TanoraId=2798487",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "Feljegyzes"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash"
|
|
},
|
|
{
|
|
"key": "TanoraId",
|
|
"value": "2798487"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Not Found",
|
|
"code": 404,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "142",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:15:45 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"ResourceNotFound\",\r\n \"Message\": \"Nem létező tanítási óra!\",\r\n \"ValidationItems\": []\r\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Mulasztas",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/Mulasztas?Hash=theHash&TanoraId=2798881",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "Mulasztas"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "TanoraId",
|
|
"value": "2798881",
|
|
"description": "Tanítási óra id-ja"
|
|
}
|
|
]
|
|
},
|
|
"description": "Tanítási órán tanulókhoz rögzített mulasztások/hiányzások lekérdezése."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/Mulasztas?Hash=theHash&TanoraId=2798853",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "Mulasztas"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash"
|
|
},
|
|
{
|
|
"key": "TanoraId",
|
|
"value": "2798853"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "459",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:13:22 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-02T10:13:22.462765Z\",\r\n \"Hash\": \".-1209677233__2_60_0_0\",\r\n \"Adatcsomag\": [\r\n {\r\n \"Id\": 1430460,\r\n \"Tipus\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n },\r\n \"Keses\": null,\r\n \"TanuloId\": 9399\r\n },\r\n {\r\n \"Id\": 1430461,\r\n \"Tipus\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n },\r\n \"Keses\": 3,\r\n \"TanuloId\": 9402\r\n }\r\n ]\r\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "OsztalyTanuloi",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OsztalyTanuloi?Hash=theHash&OsztalyCsoportId=4101",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "OsztalyTanuloi"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OsztalyCsoportId",
|
|
"value": "4101",
|
|
"description": "Osztály vagy csoport id-ja."
|
|
}
|
|
]
|
|
},
|
|
"description": "Osztály/csoportba jelenleg besorolt tanulók listájának lekérdezése."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Nem létező osztály/csoport",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OsztalyTanuloi?Hash=theHash&OsztalyCsoportId=41011",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "OsztalyTanuloi"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OsztalyCsoportId",
|
|
"value": "41011",
|
|
"description": "Az adott órához tartozó osztálycsoport ID. Ez az a csoport akinek az adott órát tartják. (Az \"OraLista\" lekérdezés tartalmazza az ID-t.)"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Not Found",
|
|
"code": 404,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "143",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:23:11 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"ResourceNotFound\",\r\n \"Message\": \"Nem létező osztály/csoport!\",\r\n \"ValidationItems\": []\r\n}"
|
|
},
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/OsztalyTanuloi?Hash=theHash&OsztalyCsoportId=4101",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "OsztalyTanuloi"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OsztalyCsoportId",
|
|
"value": "4101",
|
|
"description": "Osztály vagy csoport id-ja."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "1081",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 29 Aug 2018 12:49:51 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-29T12:49:51.3272123Z\",\r\n \"Hash\": \".1618546461__2_61_0_0\",\r\n \"Adatcsomag\": {\r\n \"Id\": 4101,\r\n \"Nev\": \"Teszt Osztály I\",\r\n \"TanuloLista\": [\r\n {\r\n \"Id\": 9401,\r\n \"Nev\": \"Teszt Diák III\",\r\n \"AnyjaNev\": \"Nagy Alma\",\r\n \"SzuletesUtc\": \"1989-12-31T23:00:00Z\",\r\n \"TanugyiAdatok\": {\r\n \"IsJogviszonySzunetelteto\": true,\r\n \"IsSzakmaiGyakorlatonLevo\": false\r\n }\r\n },\r\n {\r\n \"Id\": 9402,\r\n \"Nev\": \"Teszt Diák IV\",\r\n \"AnyjaNev\": \"Nagy Alma\",\r\n \"SzuletesUtc\": \"1990-01-01T23:00:00Z\",\r\n \"TanugyiAdatok\": {\r\n \"IsJogviszonySzunetelteto\": false,\r\n \"IsSzakmaiGyakorlatonLevo\": false\r\n }\r\n },\r\n {\r\n \"Id\": 9399,\r\n \"Nev\": \"Teszt Diák V\",\r\n \"AnyjaNev\": \"Nagy Alma\",\r\n \"SzuletesUtc\": \"1990-01-02T23:00:00Z\",\r\n \"TanugyiAdatok\": {\r\n \"IsJogviszonySzunetelteto\": false,\r\n \"IsSzakmaiGyakorlatonLevo\": true\r\n }\r\n }\r\n ]\r\n }\r\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "JavasoltJelenletTemplate",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/JavasoltJelenletTemplate?Hash=theHash&OraAllapot=Naplozott",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "JavasoltJelenletTemplate"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OraAllapot",
|
|
"value": "Naplozott",
|
|
"description": "Naplozott, Nem_naplozott"
|
|
}
|
|
]
|
|
},
|
|
"description": "Naplózás rögzítés, módosítás esetén meghatározott szűrők, melyek a tanulók jelenlét naplózására vonatkoznak (megjelenő gombok pl.: jelenlét, üres (ott sem kell lennie a tanulónak), hiányzás, késés).<br>\nA szűrők csak elvehetnek a jogokból/javaslatokból.<br>\nA prioritási sorrend kizárólag a Default/kiválasztott érték szempontjából fontos (low-to-high) felülíródik. Lowest <code>Prioritas</code> value: 1"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK Nem_naplozott",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/JavasoltJelenletTemplate?Hash=theHash&OraAllapot=Nem_naplozott",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "JavasoltJelenletTemplate"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OraAllapot",
|
|
"value": "Nem_naplozott",
|
|
"description": "Naplozott, Nem_naplozott"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "8122",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Mon, 13 Aug 2018 14:35:37 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-13T14:35:37.3695172Z\",\r\n \"Hash\": \".-2071446930__2_60_0_0\",\r\n \"Adatcsomag\": [\r\n {\r\n \"Prioritas\": 1,\r\n \"Tipus\": \"Default\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 2,\r\n \"Tipus\": \"ElozoOranHianyzott\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 3,\r\n \"Tipus\": \"Igazolas\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 4,\r\n \"Tipus\": \"ParhuzamosOranNaplozott\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 5,\r\n \"Tipus\": \"MagantanuloOralatogatasAloliMentessegNemKellMegjelennie\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 6,\r\n \"Tipus\": \"MagantanuloOralatogatasAloliMentessegCsakGyakorlaton\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 7,\r\n \"Tipus\": \"Felmentes\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 8,\r\n \"Tipus\": \"SzakmaiGyakorlat\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 9,\r\n \"Tipus\": \"JogviszonySzuneteltetes\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": true,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}"
|
|
},
|
|
{
|
|
"name": "Nem létező template",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/JavasoltJelenletTemplate?Hash=theHash&OraAllapot=dsd",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "JavasoltJelenletTemplate"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OraAllapot",
|
|
"value": "dsd",
|
|
"description": "Naplozott, Nem_naplozott"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "130",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Mon, 13 Aug 2018 14:39:30 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Template does not exist!\",\r\n \"ValidationItems\": []\r\n}"
|
|
},
|
|
{
|
|
"name": "OK Naplozott",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"1716287434__2_52_0\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ora/JavasoltJelenletTemplate?Hash=theHash&OraAllapot=Naplozott",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ora", "JavasoltJelenletTemplate"],
|
|
"query": [
|
|
{
|
|
"key": "Hash",
|
|
"value": "theHash",
|
|
"description": "A szervertől kapott response-ban lévő hash. Force refresh esetén null. Szerver oldali egyezés esetén a data null."
|
|
},
|
|
{
|
|
"key": "OraAllapot",
|
|
"value": "Naplozott",
|
|
"description": "Naplozott, Nem_naplozott"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "7197",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 15 Aug 2018 10:27:26 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"StatusCode\": \"OK\",\r\n \"UtolsoSzinkronDatumUtc\": \"2018-08-15T10:27:26.6673628Z\",\r\n \"Hash\": \".-1345931800__2_60_0_0\",\r\n \"Adatcsomag\": [\r\n {\r\n \"Prioritas\": 1,\r\n \"Tipus\": \"Default\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 2,\r\n \"Tipus\": \"ElozoOranHianyzott\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 3,\r\n \"Tipus\": \"Igazolas\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 4,\r\n \"Tipus\": \"ParhuzamosOranNaplozott\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 5,\r\n \"Tipus\": \"MagantanuloOralatogatasAloliMentesseg\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 6,\r\n \"Tipus\": \"Felmentes\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 7,\r\n \"Tipus\": \"SzakmaiGyakorlat\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"Prioritas\": 8,\r\n \"Tipus\": \"JogviszonySzuneteltetes\",\r\n \"SzuroElemLista\": [\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": true,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1817,\r\n \"Nev\": \"ures\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1498,\r\n \"Nev\": \"jelenlet\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1500,\r\n \"Nev\": \"hianyzas\"\r\n }\r\n },\r\n {\r\n \"IsDefault\": false,\r\n \"IsEnabled\": false,\r\n \"MulasztasTipusAdatszotar\": {\r\n \"Id\": 1499,\r\n \"Nev\": \"keses\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Ertekeles",
|
|
"item": [
|
|
{
|
|
"name": "OsztalyCsoportErtekeles (Invalid)",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "[\r\n {\r\n \"DatumUtc\": \"2018-05-14T00:00:00\",\r\n \"Mod\": \r\n {\r\n \"id\": 1510,\r\n \"nev\": \"\"\r\n },\r\n \"Tipus\": \r\n {\r\n \"id\": 1518,\r\n \"nev\": \"\"\r\n }, \r\n \"Tema\": \"Ért. téma1\",\r\n \"osztalyCsoportId\": 4101,\r\n \"tantargyId\": 2527,\r\n \"tanuloLista\": \r\n [\r\n {\r\n \"mobilId\": 1,\r\n \"TanuloId\": 940221,\r\n \"ertekeles\":\r\n {\r\n \"osztalyzatTipus\": \r\n {\r\n \"id\": 1505,\r\n \"nev\": \"\"\r\n },\r\n \"szazalek\": null,\r\n \"szoveg\": null\r\n }\r\n } \r\n ]\r\n }\r\n]"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ertekeles/OsztalyCsoportErtekeles",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ertekeles", "OsztalyCsoportErtekeles"]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "OsztalyCsoportErtekeles (Valid)",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "[\r\n {\r\n \"DatumUtc\": \"2017-09-04T00:00:00\",\r\n \"Mod\":{\r\n \"id\": 1509,\r\n \"nev\": \"\"\r\n }\r\n ,\r\n \"Tipus\": \r\n {\r\n \"id\": 1518,\r\n \"nev\": \"\"\r\n }, \r\n \"Tema\": null,\r\n \"osztalyCsoportId\": 4101,\r\n \"tantargyId\": 2527,\r\n \"tanuloLista\": \r\n [\r\n {\r\n \"mobilId\": 1,\r\n \"TanuloId\": 9402,\r\n \"ertekeles\":\r\n {\r\n \"osztalyzatTipus\":null,\r\n \"szazalek\": 99,\r\n \"szoveg\": null\r\n }\r\n },\r\n\t\t\t{\r\n \"mobilId\": 2,\r\n \"TanuloId\": 9401,\r\n \"ertekeles\":\r\n {\r\n \"osztalyzatTipus\":null,\r\n \"szazalek\": 99,\r\n \"szoveg\": null\r\n }\r\n } \r\n ]\r\n }\r\n]"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Ertekeles/OsztalyCsoportErtekeles",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Ertekeles", "OsztalyCsoportErtekeles"]
|
|
},
|
|
"description": "Osztály/csoport tanulóinak értékelése."
|
|
},
|
|
"response": []
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
},
|
|
{
|
|
"name": "Tanmenet",
|
|
"item": [
|
|
{
|
|
"name": "Tanmenet",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=4102&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "2077",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395",
|
|
"disabled": true
|
|
}
|
|
]
|
|
},
|
|
"description": "A tanmenet a naplózandó órák téma sablonját határozzák meg, egy adott foglalkozáshoz.<br>\nMaximum 10db tanmenet kérdezhető le!<br>\n<i>Jogosultság</i>\n<ul>\n <li>Tanár: csak az általa felvett, valamint a helyettesített tanárok tanmenetét láthatja</li>\n</ul>"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=4102&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395&key[1].OsztalyCsoportId=4102&key[1].TantargyId=2077&key[1].FeltoltoTanarId=9395",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "2077"
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "3653",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 01 Aug 2018 08:53:38 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\r\n {\r\n \"OsztalyCsoportId\": 4102,\r\n \"TantargyId\": 2528,\r\n \"FeltoltoTanarId\": 9395,\r\n \"Items\": [\r\n {\r\n \"Id\": 43063,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"1. Van gogh\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Van gogh\",\r\n \"EvesOraszam\": 1\r\n },\r\n {\r\n \"Id\": 43064,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"2. S. Dali\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"S. Dali\",\r\n \"EvesOraszam\": 2\r\n },\r\n {\r\n \"Id\": 43065,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"3. Degas\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Degas\",\r\n \"EvesOraszam\": 3\r\n },\r\n {\r\n \"Id\": 43066,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"4. Boticchelli\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Boticchelli\",\r\n \"EvesOraszam\": 4\r\n },\r\n {\r\n \"Id\": 43067,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"5. Monet\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Monet\",\r\n \"EvesOraszam\": 5\r\n }\r\n ]\r\n },\r\n {\r\n \"OsztalyCsoportId\": 4102,\r\n \"TantargyId\": 2077,\r\n \"FeltoltoTanarId\": 9395,\r\n \"Items\": [\r\n {\r\n \"Id\": 43068,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"1. Agatha Christie\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Agatha Christie\",\r\n \"EvesOraszam\": 1\r\n },\r\n {\r\n \"Id\": 43069,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"2. Shakespeare\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Shakespeare\",\r\n \"EvesOraszam\": 2\r\n },\r\n {\r\n \"Id\": 43070,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"3. Emily Bronte\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Emily Bronte\",\r\n \"EvesOraszam\": 3\r\n },\r\n {\r\n \"Id\": 43071,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"4. Jane Austen\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Jane Austen\",\r\n \"EvesOraszam\": 4\r\n },\r\n {\r\n \"Id\": 43072,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"5. Sir Arthur Conan Doyle\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Sir Arthur Conan Doyle\",\r\n \"EvesOraszam\": 5\r\n },\r\n {\r\n \"Id\": 43073,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"6. Virginia Woolf\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Virginia Woolf\",\r\n \"EvesOraszam\": 6\r\n },\r\n {\r\n \"Id\": 43074,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"7. Charles Dickens\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Charles Dickens\",\r\n \"EvesOraszam\": 7\r\n },\r\n {\r\n \"Id\": 43075,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"8. Oscar Wilde\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Oscar Wilde\",\r\n \"EvesOraszam\": 8\r\n },\r\n {\r\n \"Id\": 43076,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"9. James Joyce\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"James Joyce\",\r\n \"EvesOraszam\": 9\r\n },\r\n {\r\n \"Id\": 43077,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"10. Douglas Adams\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Douglas Adams\",\r\n \"EvesOraszam\": 10\r\n },\r\n {\r\n \"Id\": 43078,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"11. Tolkien\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Tolkien\",\r\n \"EvesOraszam\": 11\r\n },\r\n {\r\n \"Id\": 43079,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"12. Lewis Caroll\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"Lewis Caroll\",\r\n \"EvesOraszam\": 12\r\n },\r\n {\r\n \"Id\": 43080,\r\n \"Megjegyzes\": null,\r\n \"Nev\": \"13. C.S.Lewis\",\r\n \"RovidNev\": null,\r\n \"Tema\": \"C.S.Lewis\",\r\n \"EvesOraszam\": 13\r\n }\r\n ]\r\n }\r\n]"
|
|
},
|
|
{
|
|
"name": "Nem létező tanmenet",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=2&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395&key[1].OsztalyCsoportId=4102&key[1].TantargyId=3&key[1].FeltoltoTanarId=9395",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "225",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 01 Aug 2018 09:07:16 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\r\n {\r\n \"OsztalyCsoportId\": 2,\r\n \"TantargyId\": 2528,\r\n \"FeltoltoTanarId\": 9395,\r\n \"Items\": []\r\n },\r\n {\r\n \"OsztalyCsoportId\": 4102,\r\n \"TantargyId\": 3,\r\n \"FeltoltoTanarId\": 9395,\r\n \"Items\": []\r\n }\r\n]"
|
|
},
|
|
{
|
|
"name": "Elrontott jogosultság",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=4102&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "2077",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395",
|
|
"disabled": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "284",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Fri, 03 Aug 2018 11:02:49 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Hiba történt!\",\r\n \"ValidationItems\": [\r\n {\r\n \"Id\": \"0\",\r\n \"Message\": \"Nincs jogosultsága, csak a saját vagy helyettesítési tanmenet kérdezhető le!\",\r\n \"Details\": null\r\n }\r\n ]\r\n}"
|
|
},
|
|
{
|
|
"name": "AllowedRequestRecordLength túllépése",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=4102&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395&key[1].OsztalyCsoportId=4102&key[1].TantargyId=2077&key[1].FeltoltoTanarId=9395&key[2].OsztalyCsoportId=4102&key[3].OsztalyCsoportId=4102&key[4].OsztalyCsoportId=4102&key[5].OsztalyCsoportId=4102",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "2077"
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[2].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[3].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[4].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[5].OsztalyCsoportId",
|
|
"value": "4102"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "151",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 01 Aug 2018 09:04:06 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Hiba történt, allowedRequestRecordLength=5!\",\r\n \"ValidationItems\": []\r\n}"
|
|
},
|
|
{
|
|
"name": "Több elrontott jogosultság",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}{{NaploSubroot}}/Tanmenet?key[0].OsztalyCsoportId=4102&key[0].TantargyId=2528&key[0].FeltoltoTanarId=9395&key[1].OsztalyCsoportId=4102&key[1].TantargyId=2077&key[1].FeltoltoTanarId=9395",
|
|
"host": ["{{NaploUrl}}{{NaploSubroot}}"],
|
|
"path": ["Tanmenet"],
|
|
"query": [
|
|
{
|
|
"key": "key[0].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[0].TantargyId",
|
|
"value": "2528"
|
|
},
|
|
{
|
|
"key": "key[0].FeltoltoTanarId",
|
|
"value": "9395"
|
|
},
|
|
{
|
|
"key": "key[1].OsztalyCsoportId",
|
|
"value": "4102"
|
|
},
|
|
{
|
|
"key": "key[1].TantargyId",
|
|
"value": "2077"
|
|
},
|
|
{
|
|
"key": "key[1].FeltoltoTanarId",
|
|
"value": "9395"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "Bad Request",
|
|
"code": 400,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "444",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Fri, 03 Aug 2018 11:03:57 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"IsValidationError\": true,\r\n \"ErrorType\": \"Undefined\",\r\n \"Message\": \"Hiba történt!\",\r\n \"ValidationItems\": [\r\n {\r\n \"Id\": \"0\",\r\n \"Message\": \"Nincs jogosultsága, csak a saját vagy helyettesítési tanmenet kérdezhető le!\",\r\n \"Details\": null\r\n },\r\n {\r\n \"Id\": \"1\",\r\n \"Message\": \"Nincs jogosultsága, csak a saját vagy helyettesítési tanmenet kérdezhető le!\",\r\n \"Details\": null\r\n }\r\n ]\r\n}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
}
|
|
],
|
|
"_postman_isSubFolder": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "VersionInfo",
|
|
"item": [
|
|
{
|
|
"name": "Blob - NaploMobilVersionInfo.json (Global)",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "https://kretamobile.blob.core.windows.net/configuration/NaploMobilVersionInfo.json",
|
|
"protocol": "https",
|
|
"host": ["kretamobile", "blob", "core", "windows", "net"],
|
|
"path": ["configuration", "NaploMobilVersionInfo.json"]
|
|
},
|
|
"description": "Anonymus version info.<br>\nEnnek a kérésnek a segítségével az alkalmazások indulásukkor ellenőrizhetik, hogy minden rendelkezésre áll-e a működésükhöz.<br>\n(Leggyakoribb eset, amikor a BE csak 1 verziót támogat): A legfrissebb backend verzió az 1, és ez a minimum supported verzió is.\n<br>Ha a FE verzió is 1, akkor az app futhat, nincs semmi, ami ebben gátolná.<br><br>\n<h2>A responseban szereplő mezők, és leírásuk:</h2><br>\n<ul>\n<li><b>LatestVersion</b> (Integer): A backend legfrissebb fő verziója<br></li><br>\n\n<li><b>MinimumSupportedVersion</b> (Integer): A legalacsonyabb támogatott BE verzió. Az FE-be be van égetve, hogy melyik api verziót használja, és ha ennek a mezőnek az értéke nagyobb, mint az amit a FE használ, akkor force update szükséges.<br></li><br>\n\n<li><b>BlacklistPlatformByMobileBuildVersion</b>: Tömb, ami tartalmazza azoknak a FE verzióknak és platformoknak a listáját, amit azonnal frissíteni kell. Ha az alkalmazás megtalálja a saját platformját, verzióját és build számát a tömbben, akkor force update szükséges. Frissítés nélkül a user nem használhatja az appot.\n<code>[{\"Platform\" : \"iOS\"/\"Andoid\"/\"Xamarin\", \"MobileBuildVersions\" : string }]</code><br>\nA MobileBuildVersions kulcs értékének formátuma: verziószám.buildszám. Tehát pl: 1.0.2.20180102 az 1.0.2 verziójú, 20180102-es build számú buildet jelenti\n</li><br>\n\n<li><b>IsClientEnabled</b> (Boolean):Ennek a flagnek a segítségével lehet letiltani az alkalmazás működését (Ha az alkalmazás valamiért ideiglenesen nem működtethető, a mező értéke false). Például, ha karbantartás miatt az alkalmazás átmenetileg nem üzemel, akkor false az értéke. Nem szabad frissítést kényszeríteni(nem szükséges force update), minden app verziót letilt (ideiglenesen).</li><br>\n\n<li><b>MaintenanceMessage</b> (String?): Ha az <b>IsClientEnabled</b> értéke false, ezt az üzenetet kell megjeleníteni a felhasználónak. Ez a magyarázata annak, hogy miért nem üzemel éppen az alkalmazás.</li><br>\n\n<li><b>GDPRLink</b> (String): Az adatvédelmi szabályzat menüpont ezt az urlt nyitja meg.</li><br>\n\n<li><b>GDPRUpdateDate</b> (UtcDateTime): Az adatvédelmi szabályzatot el kell fogadni. Ha módosítás történik az adatvédelmi szabályzatban, akkor azt újra el kell fogadja a felhasználó. Az utolsó módosítás dátumát tartalmazza ez a mező. Ha a FE a legutóbb elfogadott adatvédelmi szabályzat update dateje régebbi, mint ennek a mezőnek az értéke, akkor újra el kell fogadja a (frissített) adatvédelmi szabályzatot a felhasználó. (FONTOS INFÓ: Jelenleg csak az oldalsó menüben megnyitható az adatvédelmi szabályzat, nem kell sehol elfogadni azt)</li>\n</ul>"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "https://kretamobile.blob.core.windows.net/configuration/NaploMobilVersionInfo.json",
|
|
"protocol": "https",
|
|
"host": ["kretamobile", "blob", "core", "windows", "net"],
|
|
"path": ["configuration", "NaploMobilVersionInfo.json"]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "104",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-MD5",
|
|
"value": "uMidDsHkflN9tPnwl+CTlg==",
|
|
"name": "Content-MD5",
|
|
"description": "A Base64-encoded binary MD5 sum of the content of the response"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:33:56 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "ETag",
|
|
"value": "0x8D5ED5A000EE65B",
|
|
"name": "ETag",
|
|
"description": "An identifier for a specific version of a resource, often a message digest"
|
|
},
|
|
{
|
|
"key": "Last-Modified",
|
|
"value": "Thu, 19 Jul 2018 09:28:34 GMT",
|
|
"name": "Last-Modified",
|
|
"description": "The last modified date for the requested object, in RFC 2822 format"
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "x-ms-blob-type",
|
|
"value": "BlockBlob",
|
|
"name": "x-ms-blob-type",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-lease-status",
|
|
"value": "unlocked",
|
|
"name": "x-ms-lease-status",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-request-id",
|
|
"value": "f9935a40-301e-0067-344c-2a4890000000",
|
|
"name": "x-ms-request-id",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-version",
|
|
"value": "2009-09-19",
|
|
"name": "x-ms-version",
|
|
"description": "Custom header"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{ \r\n \"LatestVersion\":1, \r\n \"MinimumSupportedVersion\":1, \r\n \"BlacklistPlatformByMobileBuildVersion\":[ \r\n { \r\n \"Platform\":\"iOS\", \r\n \"Version\":\"1.0.3\" \r\n }, \r\n { \r\n \"Platform\":\"Android\", \r\n \"Version\":\"1.2.1\" \r\n }, \r\n { \r\n \"Platform\":\"Xamarin\", \r\n \"Version\":\"1.7.6\" \r\n } \r\n ], \r\n \"IsClientEnabled\":true, \r\n \"MaintenanceMessage\":null, \r\n \"GDPRLink\":\"https://tudasbazis.ekreta.hu/pages/viewpage.action?pageId=4065038\", \r\n \"GDPRUpdateDate\":\"2018-08-20T21:00:00Z\" \r\n}"
|
|
},
|
|
{
|
|
"name": "Maintenance",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "https://kretamobile.blob.core.windows.net/configuration/NaploMobilVersionInfo.json",
|
|
"protocol": "https",
|
|
"host": ["kretamobile", "blob", "core", "windows", "net"],
|
|
"path": ["configuration", "NaploMobilVersionInfo.json"]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "291",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-MD5",
|
|
"value": "RW3le2loM+GOQ3OyNqMC+A==",
|
|
"name": "Content-MD5",
|
|
"description": "A Base64-encoded binary MD5 sum of the content of the response"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Tue, 04 Sep 2018 12:59:53 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "ETag",
|
|
"value": "0x8D60F8A34135A50",
|
|
"name": "ETag",
|
|
"description": "An identifier for a specific version of a resource, often a message digest"
|
|
},
|
|
{
|
|
"key": "Last-Modified",
|
|
"value": "Fri, 31 Aug 2018 21:39:17 GMT",
|
|
"name": "Last-Modified",
|
|
"description": "The last modified date for the requested object, in RFC 2822 format"
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "x-ms-blob-type",
|
|
"value": "BlockBlob",
|
|
"name": "x-ms-blob-type",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-lease-status",
|
|
"value": "unlocked",
|
|
"name": "x-ms-lease-status",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-request-id",
|
|
"value": "2de81c0e-301e-004e-1b4f-443ed2000000",
|
|
"name": "x-ms-request-id",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "x-ms-version",
|
|
"value": "2009-09-19",
|
|
"name": "x-ms-version",
|
|
"description": "Custom header"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{ \r\n \"LatestVersion\":1, \r\n \"MinimumSupportedVersion\":1, \r\n \"BlacklistPlatformByMobileBuildVersion\":[ ], \r\n \"IsClientEnabled\":false, \r\n \"MaintenanceMessage\":\"Az alkalmazás frissítés miatt átmenetileg nem használható\", \r\n \"GDPRLink\":\"https://tudasbazis.ekreta.hu/pages/viewpage.action?pageId=4065038\", \r\n \"GDPRUpdateDate\":\"2018-08-20T21:00:00Z\" \r\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "VersionInfo",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}/VersionInfo?MobilePlatform=Android&MobileBuildVersion=2.4.5.201804041",
|
|
"host": ["{{NaploUrl}}"],
|
|
"path": ["VersionInfo"],
|
|
"query": [
|
|
{
|
|
"key": "MobilePlatform",
|
|
"value": "Android",
|
|
"description": "platform"
|
|
},
|
|
{
|
|
"key": "MobileBuildVersion",
|
|
"value": "2.4.5.201804041",
|
|
"description": "Mobil build (string)"
|
|
}
|
|
]
|
|
},
|
|
"description": "Intézményi verzió info."
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "bearer {{TOKEN}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"Hash\": \"d\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{NaploUrl}}/VersionInfo?MobilePlatform=Android&MobileBuildVersion=2.4.5.201804041",
|
|
"host": ["{{NaploUrl}}"],
|
|
"path": ["VersionInfo"],
|
|
"query": [
|
|
{
|
|
"key": "MobilePlatform",
|
|
"value": "Android",
|
|
"description": "platform"
|
|
},
|
|
{
|
|
"key": "MobileBuildVersion",
|
|
"value": "2.4.5.201804041",
|
|
"description": "Mobil build (string)"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "61",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json; charset=utf-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 02 Aug 2018 10:32:13 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-AspNet-Version",
|
|
"value": "4.0.30319",
|
|
"name": "X-AspNet-Version",
|
|
"description": "Custom header"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\r\n \"MobileDatabaseVersion\": 1,\r\n \"CultureInfo\": \"hu-HU\"\r\n}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TesztTanar (Documented)",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"var data = JSON.parse(responseBody);\r",
|
|
"postman.setEnvironmentVariable(\"TOKEN\", data.access_token);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "tanar",
|
|
"description": "A felhasználó belépéshez használt felhasználóneve ",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "jelszo",
|
|
"description": "A felhasználó jelszava ",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"description": "Az intézménylistában minden intézményhez tartozik egy \"InstituteCode\". Itt azt kell felküldeni.",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "refresh_token",
|
|
"description": " Milyen típusú belépés történik. \nLehetséges értékei:\npassword: felhasználónév-jelszó párossal történő belépés;\nrefresh_token: az app újítja a sessiont",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"description": "Optional",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"description": "Beégetett azonosító. More info: Alkalmazás környezetek és konfiguráció/Api keys",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "refresh_token",
|
|
"value": "YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmU2IyMyMzBmYzgxNS1kNjJhLTQ5NGYtOGQwZi1kMjI3N2ZhMmRhZjY=",
|
|
"description": "(Optional) Ha ez aktív, akkor username és password nem kell Ha az alkalmazás megújítja a session-t, akkor a korábban kapott refresh_token-t itt küldi vissza.",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
},
|
|
"description": "<ul>\n\t<li><b>access_token</b>: A többi kérés headerjében el kell küldeni ezt a tokent Authorization kulccsal. Ezzel fogja ellenőrizni a backend, hogy jogosult-e a kliens az adott lekérdezésre.</li>\n\t<li><b>token_type</b>: A token típusa. Az access_token elé kell fűzni az értékét és egy szóközt a további sikeres azonosításhoz</li>\n\t<li><b>expires_in</b>: Az access_token érvényességi ideje percben megadva a lekérdezés pillanatától</li>\n\t<li><b>refresh_token</b>: Ha lejár az access_token, a refresh_token segítségével lehet új access_tokent generálni username és password nélkül</li>\n</ul>"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "invalid_refresh_token",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "farkase",
|
|
"description": "A felhasználó belépéshez használt felhasználóneve ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "farkase",
|
|
"description": "A felhasználó jelszava ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"description": "Az intézménylistában minden intézményhez tartozik egy \"InstituteCode\". Itt azt kell felküldeni.",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "refresh_token",
|
|
"description": " Milyen típusú belépés történik. \nLehetséges értékei:\npassword: felhasználónév-jelszó párossal történő belépés;\nrefresh_token: az app újítja a sessiont",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"description": "Optional",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"description": "Beégetett azonosító. More info: Alkalmazás környezetek és konfiguráció/Api keys",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "refresh_token",
|
|
"value": "YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmU2IyNkMWE2NDFjOS04YTg4LTRhODAtYmY2NC1iMmUyMjE3NjIyNTI=",
|
|
"description": "(Optional) Ha ez aktív, akkor username és password nem kell Ha az alkalmazás megújítja a session-t, akkor a korábban kapott refresh_token-t itt küldi vissza.",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
}
|
|
},
|
|
"status": "Unauthorized",
|
|
"code": 401,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "106",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json;charset=UTF-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Fri, 14 Sep 2018 12:34:28 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\"error\":\"invalid_refresh_token\",\"error_description\":\"Invalid \\\"instituteUserId\\\" claim in refresh token\"}"
|
|
},
|
|
{
|
|
"name": "Jogosultsag csere - Invalid hash of roles in refresh token or roles of current user changed",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "farkase",
|
|
"description": "A felhasználó belépéshez használt felhasználóneve ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "farkase",
|
|
"description": "A felhasználó jelszava ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"description": "Az intézménylistában minden intézményhez tartozik egy \"InstituteCode\". Itt azt kell felküldeni.",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "refresh_token",
|
|
"description": " Milyen típusú belépés történik. \nLehetséges értékei:\npassword: felhasználónév-jelszó párossal történő belépés;\nrefresh_token: az app újítja a sessiont",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"description": "Optional",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"description": "Beégetett azonosító. More info: Alkalmazás környezetek és konfiguráció/Api keys",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "refresh_token",
|
|
"value": "YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmU2IyM1YjYzNzMxOS05OGY0LTRiZTgtYTllMC0xNjE2NTQyZWU3ZmI=",
|
|
"description": "(Optional) Ha ez aktív, akkor username és password nem kell Ha az alkalmazás megújítja a session-t, akkor a korábban kapott refresh_token-t itt küldi vissza.",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
}
|
|
},
|
|
"status": "Unauthorized",
|
|
"code": 401,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "127",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json;charset=UTF-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Fri, 14 Sep 2018 12:46:26 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\"error\":\"invalid_refresh_token\",\"error_description\":\"Invalid hash of roles in refresh token or roles of current user changed\"}"
|
|
},
|
|
{
|
|
"name": "OK - Refresh tokennel",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "tanar2",
|
|
"description": "A felhasználó belépéshez használt felhasználóneve ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "jelszo",
|
|
"description": "A felhasználó jelszava ",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"description": "Az intézménylistában minden intézményhez tartozik egy \"InstituteCode\". Itt azt kell felküldeni.",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "refresh_token",
|
|
"description": " Milyen típusú belépés történik. \nLehetséges értékei:\npassword: felhasználónév-jelszó párossal történő belépés;\nrefresh_token: az app újítja a sessiont",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"description": "Beégetett azonosító. More info: Alkalmazás környezetek és konfiguráció/Api keys",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "refresh_token",
|
|
"value": "YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmU2IyM3NmJmNWE3My0xODMzLTRjZmEtODk5MS03MjQwZjViMjg0M2I=",
|
|
"description": "(Optional) Ha ez aktív, akkor username és password nem kell Ha az alkalmazás megújítja a session-t, akkor a korábban kapott refresh_token-t itt küldi vissza.",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "748",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json;charset=UTF-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 12 Sep 2018 11:04:50 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\"access_token\":\"eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZHA6dXNlcl9pZCI6ImJhMjY2NjI2LWQ4MTEtNGVmOC05OWQ4LWJjNjg4MTJjZDZlNiIsImtyZXRhOmluc3RpdHV0ZV9jb2RlIjoiYmlhdG9yYmFneWkiLCJrcmV0YTppbnN0aXR1dGVfdXNlcl9pZCI6Ijk2NjgiLCJrcmV0YTp0dXRlbGFyeV9pZCI6IiIsImlkcDpoYXNob2Zyb2xlcyI6Ilh1N2xMc0hsZ0ppYjZVVHVmSzZSZlh1QkZhR1RkWnhnOGtiNENYcEtkRXc9IiwiZXhwIjoxNTM2NzUwODkwLCJyb2xlIjoiVGVhY2hlciIsImlzcyI6ImtyZXRhLmlkZW50aXR5cHJvdmlkZXIiLCJhdWQiOiI2OWJmZGNlOS0yYzlmLTRhMTItYWE3Yi00ZmUxNWUxMjI4ZGMifQ.xAywfb4goAAsu4yZC9t-HEwN-N10NanS6qGcN-uC9FA\",\"token_type\":\"bearer\",\"expires_in\":599,\"refresh_token\":\"YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmU2IyM3MzNjMDZlOC01OWJiLTRmZjAtOWZkYS0zZGRlYTFmZmI3ZTY=\"}"
|
|
},
|
|
{
|
|
"name": "OK",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "tanar",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "jelszo",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache",
|
|
"name": "Cache-Control",
|
|
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
|
|
},
|
|
{
|
|
"key": "Content-Length",
|
|
"value": "661",
|
|
"name": "Content-Length",
|
|
"description": "The length of the response body in octets (8-bit bytes)"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json;charset=UTF-8",
|
|
"name": "Content-Type",
|
|
"description": "The mime type of this content"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Wed, 15 Aug 2018 10:26:56 GMT",
|
|
"name": "Date",
|
|
"description": "The date and time that the message was sent"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "-1",
|
|
"name": "Expires",
|
|
"description": "Gives the date/time after which the response is considered stale"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache",
|
|
"name": "Pragma",
|
|
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
|
|
},
|
|
{
|
|
"key": "Server",
|
|
"value": "Microsoft-IIS/10.0",
|
|
"name": "Server",
|
|
"description": "A name for the server"
|
|
},
|
|
{
|
|
"key": "X-Powered-By",
|
|
"value": "ASP.NET",
|
|
"name": "X-Powered-By",
|
|
"description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\"access_token\":\"eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpZHA6dXNlcl9pZCI6ImJhMjY2NjI2LWQ4MTEtNGVmOC05OWQ4LWJjNjg4MTJjZDZlMSIsImtyZXRhOmluc3RpdHV0ZV9jb2RlIjoiYmlhdG9yYmFneWkiLCJrcmV0YTppbnN0aXR1dGVfdXNlcl9pZCI6IjkzOTUiLCJrcmV0YTp0dXRlbGFyeV9pZCI6IiIsInJvbGUiOiJUZWFjaGVyIiwiZXhwIjoxNTM0MzI5NDE2LCJpc3MiOiJrcmV0YS5pZGVudGl0eXByb3ZpZGVyIiwiYXVkIjoiNjliZmRjZTktMmM5Zi00YTEyLWFhN2ItNGZlMTVlMTIyOGRjIn0.dkJLFNCC-e5R1qTg_wycYNGL8co4PSjoN4zlls16COA\",\"token_type\":\"bearer\",\"expires_in\":600,\"refresh_token\":\"YmEyNjY2MjYtZDgxMS00ZWY4LTk5ZDgtYmM2ODgxMmNkNmUxIyM5YjAzMTE1Ny0yZTQwLTRkZjctOTM0NS00ZDk5N2E0NGY4Yjg=\"}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TesztTanar2",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"var data = JSON.parse(responseBody);\r",
|
|
"postman.setEnvironmentVariable(\"TOKEN\", data.access_token);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "urlencoded",
|
|
"urlencoded": [
|
|
{
|
|
"key": "username",
|
|
"value": "tanar2",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "jelszo",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "institute_code",
|
|
"value": "biatorbagyi",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "grant_type",
|
|
"value": "password",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "client_id",
|
|
"value": "{{CLIENTID}}",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "{{IDPURL}}",
|
|
"host": ["{{IDPURL}}"]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
}
|