{ "openapi": "3.0.1", "info": { "title": "eVascoAPI", "description": "VASCO d.o.o. , REST spletne storitve", "version": "1.0 (27.05.2024 13:10)" }, "paths": { "/api/v1/Avtentikacija": { "post": { "tags": [ "Avtentikacija" ], "summary": "Metoda za avtentikacijo uporabnika (pridobitev ApiKey)", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AvtentikacijaRequest" } } } }, "responses": { "200": { "description": "Prijava uspešna. Vrne ApiKey", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AvtentikacijaResponse" } } } }, "403": { "description": "Napačni podatki za prijavo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Baza za preteklo leto ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/v1/EFAPriloge/dokumentVsebina": { "get": { "tags": [ "EFAPriloge" ], "summary": "Pridobi vsebino dokumenta glede na filter", "parameters": [ { "name": "Stevilka", "in": "query", "description": "Številka dokumenta", "required": true, "schema": { "type": "string" } }, { "name": "Stevilka2", "in": "query", "description": "Vrsta dokumenta/priloge (Stevilka2)", "schema": { "type": "integer", "format": "int32" } }, { "name": "Leto", "in": "query", "description": "Leto dokumenta", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Tip", "in": "query", "description": "2 - Artikli\r\n3 - Računi\r\n4 - Predračuni\r\n5 - Dobavnice\r\n6 - Prevzemnice\r\n9 - Naročila dobaviteljem\r\n10 - Servisni nalogi\r\n11 - Naročila kupcev\r\n12 - Kompenzacije", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EFAGetDokumentVsebinaResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EFAPriloge/dokumentVsebina2": { "post": { "tags": [ "EFAPriloge" ], "summary": "Pridobi vsebino dokumenta glede na filter", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EFAGetDokumentVsebinaArrayRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EFAGetDokumentVsebinaResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/placiloZbirno": { "get": { "tags": [ "EKPF" ], "summary": "Seznam zbirnih plačil dobaviteljev", "responses": { "200": { "description": "Zbirna plačila uspešno pridobljena.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlaciloZbirniResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/placilo/prFak/izpisek": { "post": { "tags": [ "EKPF" ], "summary": "Skupen znesek plačil po podanih št. faktur + konto kredit, partner, veza fakture", "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlaciloIzpisekRequest" } } } } }, "responses": { "200": { "description": "Skupni zneski plačil faktur uspešno pridobljeni.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlaciloIzpisekResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/placiloKomp": { "get": { "tags": [ "EKPF" ], "summary": "Plačila kompenzacije", "parameters": [ { "name": "stevilka", "in": "query", "description": "št. kompenzacije", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "leto", "in": "query", "description": "leto kompenzacije", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Plačila kompenzacije uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KPFPlaciloKompResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Kompenzacija plačil ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/placiloKompDevizni": { "get": { "tags": [ "EKPF" ], "summary": "Plačila kompenzacij deviznih faktur", "parameters": [ { "name": "stevilka", "in": "query", "description": "št. kompenzacije", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "leto", "in": "query", "description": "leto kompenzacije", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Plačila kompenzacije uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KPFPlaciloKompResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Kompenzacija plačil ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/bancniIzpiski/neobdelani": { "get": { "tags": [ "EKPF" ], "summary": "Neobdelani bančni izpiski - seznam", "responses": { "200": { "description": "Bančni izpiski uspešno pridobljeni.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfBancniIzpisekResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci": { "post": { "tags": [ "EKPF" ], "summary": "Vnos prejetih računov (Insert).", "requestBody": { "description": "Podatki računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakPostRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Račun že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Račun uspešno vnešen." } } }, "get": { "tags": [ "EKPF" ], "summary": "Seznam računov.", "parameters": [ { "name": "VrstaKnjige", "in": "query", "description": "Knjiga prejetih faktur", "schema": { "type": "integer", "format": "int32" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka računa od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka računa do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "DobaviteljevaStRacuna", "in": "query", "description": "Številka dobaviteljevega računa", "schema": { "type": "string" } }, { "name": "DatumDokumentaOd", "in": "query", "description": "Datum dokumenta od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDokumentaDo", "in": "query", "description": "Datum dokumenta do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaOd", "in": "query", "description": "Datum knjiženja od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaDo", "in": "query", "description": "Datum knjiženja do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveOd", "in": "query", "description": "Datum storitve od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveDo", "in": "query", "description": "Datum storitve do", "schema": { "type": "string", "format": "date-time" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več sm-jev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2-jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM3", "in": "query", "description": "SM3 knjižbe:\r\nOPCIJA 1: več sm3-jev ločite z vejico (sm3_1,sm3_2,...). \r\nOPCIJA 2: sm3 lahko vnesete kot SM3_OD..SM3_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Dobavitelj", "in": "query", "description": "Dobavitelj računa:\r\nOPCIJA 1: več dobaviteljev ločite z vejico (dobavitelj1,dobavitelj2,...). \r\nOPCIJA 2: dobavitelja lahko vnesete kot DOBAVITELJ_OD..DOBAVITELJ_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VrniKnjizbeKontiranja", "in": "query", "description": "1: vrne knjižbe kontiranja\r\n0 ali prazno: ne vrne knjižb kontiranja", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniKnjigoDDV", "in": "query", "description": "1: vrne knjigo DDV\r\n0 ali prazno: ne vrne knjige DDV", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniDelitevSM", "in": "query", "description": "1: vrne delitev po SM\r\n0 ali prazno: ne vrne delitve po SM", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPriloge", "in": "query", "description": "1: vrne priloge (dokumente)\r\n0 ali prazno: ne vrne prilog", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniOpombe", "in": "query", "description": "1: vrni opombo (več opomb se združi kot ena)\r\n0 ali prazno: ne vrne opombe", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniLikvidacijo", "in": "query", "description": "1: vrne seznam določenih likvidatorjev\r\n0 ali prazno: ne vrne likvidacije", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPrevzemniceOdvisni", "in": "query", "description": "1: vrni povezave na FA prevzemnice / odvisne stroške\r\n0 ali prazno: ne vrne povezav", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFPrFakResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci/glava/polja": { "get": { "tags": [ "EKPF" ], "summary": "Vrne seznam aktivnih polj baze za glavo domače prejete fakture", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci/glava": { "put": { "tags": [ "EKPF" ], "summary": "Delno ažuriranje glave računa (Update).", "requestBody": { "description": "Podatki za ažuriranje .", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakHeaderPutRequest" } } } }, "responses": { "200": { "description": "Račun uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci/opomba": { "post": { "tags": [ "EKPF" ], "summary": "Vnos nove opombe računa (Insert).", "requestBody": { "description": "Podatki za vnos opombe na fakturo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakOpombaPostRequest" } } } }, "responses": { "200": { "description": "Opomba računa uspešno vnesena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci/prevzemnice": { "put": { "tags": [ "EKPF" ], "summary": "Povezava prevzemnice domačega prejetega računa.", "requestBody": { "description": "Podatki za ažuriranje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakLinkPrevzemPutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Prevzemnica na račun uspešno ažurirana." } } } }, "/api/v1/EKPF/prejetRacunDomaci/likvidatorji": { "put": { "tags": [ "EKPF" ], "summary": "Ažuriranje likvidatorjev računa (Update).", "requestBody": { "description": "Podatki za ažuriranje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakLikvidacijaPutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Likvidacija računa uspešno ažurirana." } } } }, "/api/v1/EKPF/prejetRacunDomaci/likvidiranje": { "put": { "tags": [ "EKPF" ], "summary": "Likvidiranje domače prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakLikvidiranjeRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno fakturirana.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakLikvidiranjeResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDomaci/zavrni": { "put": { "tags": [ "EKPF" ], "summary": "Zavrnitev domače prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFPrFakZavrniRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno zavrnjena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakZavrniResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDevizni": { "post": { "tags": [ "EKPF" ], "summary": "Vnos deviznih računov (Insert).", "requestBody": { "description": "Podatki računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFDevizniRacPostRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Račun že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Račun uspešno vnešen." } } }, "get": { "tags": [ "EKPF" ], "summary": "Seznam deviznih računov.", "parameters": [ { "name": "StevilkaOd", "in": "query", "description": "Številka računa od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka računa do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "DobaviteljevaStRacuna", "in": "query", "description": "Številka dobaviteljevega računa", "schema": { "type": "string" } }, { "name": "DatumDokumentaOd", "in": "query", "description": "Datum računa od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDokumentaDo", "in": "query", "description": "Datum računa do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaOd", "in": "query", "description": "Datum knjiženja od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaDo", "in": "query", "description": "Datum knjiženja do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveOd", "in": "query", "description": "Datum storitve od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveDo", "in": "query", "description": "Datum storitve do", "schema": { "type": "string", "format": "date-time" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več sm-jev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2-jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM3", "in": "query", "description": "SM3 knjižbe:\r\nOPCIJA 1: več sm3-jev ločite z vejico (sm3_1,sm3_2,...). \r\nOPCIJA 2: sm3 lahko vnesete kot SM3_OD..SM3_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Dobavitelj", "in": "query", "description": "Dobavitelj računa:\r\nOPCIJA 1: več dobaviteljev ločite z vejico (dobavitelj1,dobavitelj2,...). \r\nOPCIJA 2: dobavitelja lahko vnesete kot DOBAVITELJ_OD..DOBAVITELJ_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VrniKnjizbeKontiranja", "in": "query", "description": "1: vrne knjižbe kontiranja\r\n0 ali prazno: ne vrne knjižb kontiranja", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniKnjigoDDV", "in": "query", "description": "1: vrne knjigo DDV\r\n0 ali prazno: ne vrne knjige DDV", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniDelitevSM", "in": "query", "description": "1: vrne delitev po SM\r\n0 ali prazno: ne vrne delitve po SM", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPriloge", "in": "query", "description": "1: vrne priloge (dokumente)\r\n0 ali prazno: ne vrne prilog", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniOpombe", "in": "query", "description": "1: vrni opombo (več opomb se združi kot ena)\r\n0 ali prazno: ne vrne opombe", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniLikvidacijo", "in": "query", "description": "1: vrne seznam določenih likvidatorjev\r\n0 ali prazno: ne vrne likvidacije", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPrevzemniceOdvisni", "in": "query", "description": "1: vrni povezave na FA prevzemnice / odvisne stroške\r\n0 ali prazno: ne vrne povezav", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFDevizniRacResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDevizni/prevzemnice": { "put": { "tags": [ "EKPF" ], "summary": "Povezava prevzemnice deviznega računa.", "requestBody": { "description": "Podatki za ažuriranje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFDevizniRacLinkPrevzemPutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Prevzemnica na račun uspešno ažurirana." } } } }, "/api/v1/EKPF/prejetRacunDevizni/likvidiranje": { "put": { "tags": [ "EKPF" ], "summary": "Likvidiranje devizne prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFDevizniRacLikvidiranjeRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno fakturirana.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFDevizniRacLikvidiranjeResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Devizna prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/prejetRacunDevizni/zavrni": { "put": { "tags": [ "EKPF" ], "summary": "Zavrnitev devizne prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFDevizniRacZavrniRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno zavrnjena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFDevizniRacZavrniResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/SeznamPrejetihFaktur": { "get": { "tags": [ "EKPF" ], "summary": "Seznam prejetih faktur (NIJZ)", "parameters": [ { "name": "OdDatuma", "in": "query", "description": "Od datuma prejete fakture", "schema": { "type": "string", "format": "date-time" } }, { "name": "DoDatuma", "in": "query", "description": "Do datuma prejete fakture", "schema": { "type": "string", "format": "date-time" } }, { "name": "Stevilka", "in": "query", "description": "Številka prejete fakture", "schema": { "type": "integer", "format": "int32" } }, { "name": "Leto", "in": "query", "description": "Leto prejete fakture", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrstaKnjige", "in": "query", "description": "Knjiga prejetih faktur", "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam prejetih faktur uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPrejeteFatureSeznamResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/SeznamPlacilPrejetihFaktur": { "get": { "tags": [ "EKPF" ], "summary": "Seznam plačil za prejete fakture (NIJZ)", "parameters": [ { "name": "OdDatuma", "in": "query", "description": "Od datuma plačila prejete fakture", "schema": { "type": "string", "format": "date-time" } }, { "name": "DoDatuma", "in": "query", "description": "Do datuma plačila prejete fakture", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam prejetih faktur uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlacilaPrejetihFaturSeznamResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/SeznamPotnihNalogov": { "get": { "tags": [ "EKPF" ], "summary": "Seznam potnih nalogov (NIJZ)", "parameters": [ { "name": "OdDatuma", "in": "query", "description": "Od datuma potnega naloga", "schema": { "type": "string", "format": "date-time" } }, { "name": "DoDatuma", "in": "query", "description": "Do datuma potnega naloga", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam potnih nalogov uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPotniNalogSeznamResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPF/SeznamAvtorskihObracunov": { "get": { "tags": [ "EKPF" ], "summary": "Seznam avtorskih obračunov (NIJZ)", "parameters": [ { "name": "OdDatuma", "in": "query", "description": "Od datuma avtorskega obračuna", "schema": { "type": "string", "format": "date-time" } }, { "name": "DoDatuma", "in": "query", "description": "Do datuma avtorskega obračuna", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam avtorskih obračunov uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfAvtorskiObracunSeznamResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPFPriloge/dokumentVsebina": { "get": { "tags": [ "EKPFPriloge" ], "summary": "Pridobi vsebino dokumenta glede na filter", "parameters": [ { "name": "Stevilka", "in": "query", "description": "Številka dokumenta", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Leto", "in": "query", "description": "Leto dokumenta", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "Tip", "in": "query", "description": "0 - Nastavljivi tip pošiljke\r\n1 - Domača prejeta faktura\r\n2 - Prejeta pošta\r\n3 - Domači predračun\r\n4 - Devizni predračun\r\n5 - Devizna faktura\r\n99 - Razširjen vnos (znesek, sklic, rok plačila)", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "VrstaKnjige", "in": "query", "description": "Vrsta dokumenta (knjige) PF. Privzeto je to vrednost 1.", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFGetDokumentVsebinaResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/EKPFPriloge/dokumentVsebinaPrevzemnica": { "get": { "tags": [ "EKPFPriloge" ], "summary": "Pridobi vsebino dokumenta glede na filter (št.prevzemnice / leto prevzemnice)", "parameters": [ { "name": "Stevilka", "in": "query", "description": "Številka dokumenta", "required": true, "schema": { "type": "string" } }, { "name": "Leto", "in": "query", "description": "Leto dokumenta", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EKPFGetDokumentVsebinaResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca": { "get": { "tags": [ "FA" ], "summary": "Seznam naročil kupca", "parameters": [ { "name": "StevilkaLeto", "in": "query", "description": "Številka naročila:\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019.\r\nČe je vnesen polje OD, mora biti tudi DO). STEVILKA IN LETO naročila se vedno vnašata skupaj npr. 00001.2019.\r\nOPCIJA 1: več številk ločite z vejico (StevilkaLeto1,StevilkaLeto2,...).\r\nOPCIJA 2: Številke lahko vnesete kot StevilkaLeto_OD..StevilkaLeto_DO. Primer: 00001.2019..99999.2019", "schema": { "type": "string" } }, { "name": "DatumOd", "in": "query", "description": "Datum naročila od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum naročila do", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner naročila:\r\nOPCIJA 1: več partnerjev ločite z vejico (partner1,partner2,...). \r\nOPCIJA 2: partner lahko vnesete kot PARTNER_OD..PARTNER_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke naročila\r\n0 ali prazno: ne vrne postavk naročila", "schema": { "type": "integer", "format": "int32" } }, { "name": "Artikel", "in": "query", "description": "Vrne samo dobavnice, ki imajo vnešen artikel", "schema": { "type": "string" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NarociloKupcaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FA" ], "summary": "Ažuriranje obstoječega naročila kupca (Update)", "requestBody": { "description": "Podatki naročila kupca za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPutRequest" } } } }, "responses": { "200": { "description": "Naročilo kupca uspešno ažurirano." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega naročila kupca (Insert)", "requestBody": { "description": "Podatki naročila kupca za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPostBaseRequest" } } } }, "responses": { "201": { "description": "Naročilo kupca uspešno vnešeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Naročilo kupca s število in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca/postavke": { "put": { "tags": [ "FA" ], "summary": "Dodajanje postavk na naročila kupca (Update)", "requestBody": { "description": "Podatki za dodajanje postavk na naročilo kupca.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPostavkePutRequest" } } } }, "responses": { "201": { "description": "Postavke na naročilo kupca uspešno dodane.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPostavkePutResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca/spremembaPostavke": { "put": { "tags": [ "FA" ], "summary": "Spreminjanje postavk naročila kupca (Update)", "requestBody": { "description": "Podatki za spreminjanje postavke na naročilu kupca.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPutPostavkaBaseRequest" } } } }, "responses": { "201": { "description": "Postavka na naročilu kupca uspešno spremenjena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaPostavkePutResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca/stanje/{stevilka}/{leto}": { "get": { "tags": [ "FA" ], "summary": "Stanje naročila kupca", "parameters": [ { "name": "stevilka", "in": "path", "description": "Številka naročila", "required": true, "schema": { "type": "string", "default": null } }, { "name": "leto", "in": "path", "description": "Leto naročila", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Stanje uspešno pridobljeno.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NarociloKupcaStanjeResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za naročilo kupca", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupca/postavke/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke naročila kupca", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloKupcaStorno": { "put": { "tags": [ "FA" ], "summary": "Storniranje naročila kupca (celega ali po postavkah)", "requestBody": { "description": "Podatki naročila kupca za storniranje\r\n Za stornacijo celega dokumenta potrebujete samo številko in leto naročila kupca.\r\n Za stornacijo posamičnih postavk je potrebno dodati še zap. št. postavk/e.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloKupcaStornoRequest" } } } }, "responses": { "200": { "description": "Naročilo kupca uspešno stornirano." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/komisionarniList": { "get": { "tags": [ "FA" ], "summary": "Seznam komisionarnih listov", "parameters": [ { "name": "StevilkaLeto", "in": "query", "description": "Številka komisionarnega lista:\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019.\r\nČe je vnesen polje OD, mora biti tudi DO). STEVILKA IN LETO naročila se vedno vnašata skupaj npr. 00001.2019.\r\nOPCIJA 1: več številk ločite z vejico (StevilkaLeto1,StevilkaLeto2,...).\r\nOPCIJA 2: Številke lahko vnesete kot StevilkaLeto_OD..StevilkaLeto_DO. Primer: 00001.2019..99999.2019", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner komisionarnega lista:\r\nOPCIJA 1: več partnerjev ločite z vejico (partner1,partner2,...). \r\nOPCIJA 2: partner lahko vnesete kot PARTNER_OD..PARTNER_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke komisionarnih listov\r\n0 ali prazno: ne vrne postavk komisionarnih listov", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KomisionarniListResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega komisionarnega lista (Insert)", "requestBody": { "description": "Podatki komisionarnega lista za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KomisionarniListPostBaseRequest" } } } }, "responses": { "201": { "description": "Komisionarni list uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KomisionarniListPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Naročilo kupca s število in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/komisionarniList/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze komisionarnega lista", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/komisionarniList/postavke/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze postavke komisionarnega lista", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun": { "get": { "tags": [ "FA" ], "summary": "Seznam računov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum računa od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum računa do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka računa od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka računa do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner", "schema": { "type": "integer", "format": "int32" } }, { "name": "PrikaziOdprtoStanje", "in": "query", "description": "Prikazi odprto stanje", "schema": { "type": "boolean" } }, { "name": "BlockSize", "in": "query", "description": "Velikost bloka podatkov - število vrstic/zapisov\r\nPrivzeto je 10000", "schema": { "type": "integer", "format": "int32" } }, { "name": "BlockIndex", "in": "query", "description": "Indeks bloka podatkov\r\nPrvi index je 0 (privzeto). BlockIndex = 0: prvih 10000 (BlockSize) zapisov, BlockIndex = 1: drugih 10000, ....", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke računa\r\n0 ali prazno: ne vrne postavk računa", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RacunResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega računa (Insert)", "requestBody": { "description": "Podatki računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunPostBaseRequest" } } } }, "responses": { "201": { "description": "Račun uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Račun s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/azuriranjeFurs": { "put": { "tags": [ "FA" ], "summary": "Ažuriranje računa s podatki o davčni blagajni (Update)", "requestBody": { "description": "Podatki računa za davčno blagajno", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunFursPutRequest" } } } }, "responses": { "200": { "description": "Račun uspešno ažurirano." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/brisanje": { "delete": { "tags": [ "FA" ], "summary": "Brisanje računa (Delete)", "requestBody": { "description": "Brisanje računa", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunDeleteRequest" } } } }, "responses": { "200": { "description": "Račun uspešno pobrisan." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racunPlacilo": { "post": { "tags": [ "FA" ], "summary": "Vnos plačila računa (Insert)", "requestBody": { "description": "Podatki plačila računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunPlaciloPostBaseRequest" } } } }, "responses": { "201": { "description": "Plačilo računa uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunPlaciloPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Plačilo račun s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/print": { "get": { "tags": [ "FA" ], "summary": "Vrne PDF vsebino računov, če imajo zadaj eFA program", "parameters": [ { "name": "racunOd", "in": "query", "schema": { "type": "string" } }, { "name": "racunDo", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "string" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/vsebina/{stevilka}/{leto}": { "get": { "tags": [ "FA" ], "summary": "Vrne PDF vsebino računa iz VASCO_DOKUMENTI", "parameters": [ { "name": "stevilka", "in": "path", "description": "Številka računa", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "leto", "in": "path", "description": "Leto računa", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunDokResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/stanjeRacunov": { "get": { "tags": [ "FA" ], "summary": "Stanje Računov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum računa od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum računa do", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner", "schema": { "type": "integer", "format": "int32" } }, { "name": "SamoNeplacani", "in": "query", "description": "Samo neplačani", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StanjeRacunovResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za račun", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/racun/postavke/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke računa", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/interni": { "get": { "tags": [ "FA" ], "summary": "Seznam internih", "parameters": [ { "name": "StevilkaLeto", "in": "query", "description": "Številka internega naloga:\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019.\r\nOPCIJA 1: več številk ločite z vejico (StevilkaLeto1,StevilkaLeto2,...).\r\nOPCIJA 2: Številke lahko vnesete kot StevilkaLeto_OD..StevilkaLeto_DO. Primer: 00001.2019..99999.2019", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner:", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke naročila\r\n0 ali prazno: ne vrne postavk naročila", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/InterniResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega internega prenosa (Insert)", "requestBody": { "description": "Podatki internega prenosa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InterniPostBaseRequest" } } } }, "responses": { "201": { "description": "Interni uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InterniPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Interni s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/interni/postavke": { "put": { "tags": [ "FA" ], "summary": "Dodajanje postavk na interni prenos (Update)", "requestBody": { "description": "Podatki za dodajanje postavk na interni prenos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InterniPrenosPostavkePutRequest" } } } }, "responses": { "201": { "description": "Postavke na intrni prenos uspešno dodane.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InterniPrenosPostavkePutResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/interni/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za interne prenose", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/interni/postavka/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke internih prenosov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun": { "get": { "tags": [ "FA" ], "summary": "Seznam predračunov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum predračuna od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum predračuna do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka predračuna od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2020. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka predračuna do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00010.2020.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner", "schema": { "type": "integer", "format": "int32" } }, { "name": "BlockSize", "in": "query", "description": "Velikost bloka podatkov - število vrstic/zapisov\r\nPrivzeto je 10000", "schema": { "type": "integer", "format": "int32" } }, { "name": "BlockIndex", "in": "query", "description": "Indeks bloka podatkov\r\nPrvi index je 0 (privzeto). BlockIndex = 0: prvih 10000 (BlockSize) zapisov, BlockIndex = 1: drugih 10000, ....", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke predračuna\r\n0 ali prazno: ne vrne postavk predračuna", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPlacila", "in": "query", "description": "1: vrača plačila predračuna\r\n0 ali prazno: ne plačil predračuna predračuna", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PredracunResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FA" ], "summary": "Ažuriranje obstoječega predračuna (Update)", "requestBody": { "description": "Podatki predračuna za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPutRequest" } } } }, "responses": { "200": { "description": "Predračun uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega predračuna (Insert)", "requestBody": { "description": "Podatki predračuna za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPostBaseRequest" } } } }, "responses": { "201": { "description": "Predračun uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Predračun s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracunPlacila": { "get": { "tags": [ "FA" ], "summary": "Seznam plačil predračunov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum placila predračuna do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum placila predračuna od", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner", "schema": { "type": "integer", "format": "int32" } }, { "name": "AvansnaPlacila", "in": "query", "description": "Avansna plačila 1 - doda plačila brez povezave na račun ali predračun 0 ali prazno ne dodaja", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PredracunPlacilaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun/postavke": { "put": { "tags": [ "FA" ], "summary": "Dodajanje postavk na predračun (Update)", "requestBody": { "description": "Podatki za dodajanje postavk na predračun.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPostavkePutRequest" } } } }, "responses": { "201": { "description": "Postavke na predračun uspešno dodane.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPostavkePutResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun/spremembaPostavke": { "put": { "tags": [ "FA" ], "summary": "Spreminjanje postavk predračuna (Update)", "requestBody": { "description": "Podatki za spreminjanje postavke na predračunu.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPutPostavkaBaseRequest" } } } }, "responses": { "201": { "description": "Postavka na predračunu uspešno spremenjena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunPostavkePutResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za predračune", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun/postavka/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke predračunov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/predracun/vsebina/{stevilka}/{leto}": { "get": { "tags": [ "FA" ], "summary": "Vrne PDF vsebino predračuna iz VASCO_DOKUMENTI", "parameters": [ { "name": "stevilka", "in": "path", "description": "Številka predračuna", "required": true, "schema": { "type": "string", "default": null } }, { "name": "leto", "in": "path", "description": "Leto predračuna", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PredracunDokResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/prevzemnica": { "get": { "tags": [ "FA" ], "summary": "Seznam prevzemnic", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum prevzemnice od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum prevzemnice do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka prevzemnice od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka prevzemnice do \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke prevzemnice\r\n0 ali prazno: ne vrne postavk prevzemnice", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PrevzemnicaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos nove prevzemnice (Insert)", "requestBody": { "description": "Podatki prevzemnice za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrevzemnicaPostBaseRequest" } } } }, "responses": { "201": { "description": "Prevzemnice uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RacunPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prevzemnica s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/prevzemnica/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za prevzemnice", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/prevzemnica/postavka/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke prevzemnice", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobavnica": { "get": { "tags": [ "FA" ], "summary": "Seznam dobavnic", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum dobavnice od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum dobavnice do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka dobavnice od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka dobavnice do \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke dobavnice\r\n0 ali prazno: ne vrne postavk dobavnice", "schema": { "type": "integer", "format": "int32" } }, { "name": "Artikel", "in": "query", "description": "Vrne samo dobavnice, ki imajo vnešen artikel", "schema": { "type": "string" } }, { "name": "DatumSpremembe", "in": "query", "description": "Dobavnice, ki so bile vnešene ali popravljene po datumu", "schema": { "type": "string", "format": "date-time" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment artiklov glede na segmentSize. Primer: 1 je prvih 50000 (ali manj glede na segmentSize) artiklov, 2 naslednjih 50000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. artiklov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment artiklov.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos nove dobavnice (Insert)", "requestBody": { "description": "Podatki dobavnice za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DobavnicaPostBaseRequest" } } } }, "responses": { "201": { "description": "Dobavnica uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DobavnicaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Dobavnica s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobavnica/fakturiranje": { "post": { "tags": [ "FA" ], "summary": "Fakturiranje dobavnica (Insert)", "requestBody": { "description": "Izdelava računa iz dobavnice", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DobavnicaFakturiranjePostBaseRequest" } } } }, "responses": { "201": { "description": "Dobavnica uspešno fakturirana.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DobavnicaFakturiranjePostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Dobavnica s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobavnica/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za dobavnico", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobavnica/postavka/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke dobavnice", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobavnica/vsebina/{stevilka}/{leto}": { "get": { "tags": [ "FA" ], "summary": "Vrne PDF vsebino dobavnice iz VASCO_DOKUMENTI", "parameters": [ { "name": "stevilka", "in": "path", "description": "Številka dobavnice", "required": true, "schema": { "type": "string", "default": null } }, { "name": "leto", "in": "path", "description": "Leto dobavnice", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DobavnicaDokResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/SSCC_dobavnice": { "get": { "tags": [ "FA" ], "summary": "Seznam SSCC za dobavnice", "parameters": [ { "name": "StevilkaOd", "in": "query", "description": "Številka dobavnice od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka dobavnice do \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaSSCCResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloDobavitelju": { "get": { "tags": [ "FA" ], "summary": "Seznam naročil dobaviteljem", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum naročila od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum naročila do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka naročila od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka naročila do \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner naročila:", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke naročila\r\n0 ali prazno: ne vrne postavk naročila", "schema": { "type": "integer", "format": "int32" } }, { "name": "Artikel", "in": "query", "description": "Vrne samo dobavnice, ki imajo vnešen artikel", "schema": { "type": "string" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NarociloDobaviteljuResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FA" ], "summary": "Vnos novega naročila dobavitelju (Insert)", "requestBody": { "description": "Podatki naročila dobavitelju za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloDobaviteljuPostBaseRequest" } } } }, "responses": { "201": { "description": "Naročilo dobavitelju uspešno vnešeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NarociloDobaviteljuPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Naročilo dobavitelju s število in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloDobavitelju/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za naročilo dobavitelju", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/narociloDobavitelju/postavke/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke naročila dobavitelju", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/paragon": { "get": { "tags": [ "FA" ], "summary": "Seznam paragonov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum paragona od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum paragona do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka paragona od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka paragona do \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke paragona\r\n0 ali prazno: ne vrne postavk paragona", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ParagonResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/paragonPlacilo": { "post": { "tags": [ "FA" ], "summary": "Vnos plačila paragonskega bloka (Insert)", "requestBody": { "description": "Podatki plačila paragonskega bloka za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParagonPlaciloPostBaseRequest" } } } }, "responses": { "201": { "description": "Plačilo paragonskega bloka uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParagonPlaciloPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Paragonski blok s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/prodajaKupcu": { "get": { "tags": [ "FA" ], "summary": "Prodaja Kupcu", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Prodaja od datuma", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Prodaja do datuma", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega se dela poizvedba", "schema": { "type": "integer", "format": "int32" } }, { "name": "KodaPartnerja", "in": "query", "description": "Koda partnerja\r\nKoda partnerja za katerega se dela poizvedba", "schema": { "type": "string" } }, { "name": "Paragoni", "in": "query", "description": "Paragoni \r\n1: vrača seštevek prodaje paragonov\r\n0: ne vrača seštevka prodaje paragonov", "schema": { "type": "integer", "format": "int32" } }, { "name": "Dobavnice", "in": "query", "description": "Dobavnice\r\n1: vrača seštevek prodaje dobavnic\r\n0: ne vrača seštevka prodaje dobavnic", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProdajaKupcuResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/terjatvePoZamudi": { "get": { "tags": [ "FA" ], "summary": "Terjatve po zamudi", "parameters": [ { "name": "NaDan", "in": "query", "description": "Stanje na dan", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega se dela poizvedba", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TerjatvePoZamudiResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/zadnjNakupi": { "get": { "tags": [ "FA" ], "summary": "Zadnji nakupi", "parameters": [ { "name": "OdDne", "in": "query", "description": "Nakupi od dne", "schema": { "type": "string", "format": "date-time" } }, { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega se dela poizvedba", "schema": { "type": "integer", "format": "int32" } }, { "name": "Paragoni", "in": "query", "description": "Paragoni\r\n1: vračajo se tudi zadnji nakupi preko paragona\r\n0: ne vračajo se zadnji nakupi preko paragona", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ZadnjiNakupiResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/odprtaNarocilaKupca": { "get": { "tags": [ "FA" ], "summary": "Odprta naročila kupca", "parameters": [ { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega se dela poizvedba", "schema": { "type": "integer", "format": "int32" } }, { "name": "Prodajalna", "in": "query", "description": "PRODAJALNA\r\nŠifra prodajalne, če se dela samo za določeno prodajalno -1 vse prodajalne kupca", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OdprtaNarocilaKupcaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/limitPartnerja": { "get": { "tags": [ "FA" ], "summary": "Limit in izkoriščen limit partnerja", "parameters": [ { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega iščem podatek o limitu", "schema": { "type": "integer", "format": "int32" } }, { "name": "NefakDobavnice", "in": "query", "description": "Pri saldu tudi vrednost nefakturiranih dobavnic", "schema": { "type": "integer", "format": "int32" } }, { "name": "Datum", "in": "query", "description": "Stanje na dan", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LimitPartnerjaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/naprava": { "get": { "tags": [ "FA" ], "summary": "Seznam naprav delovnih nalogov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra naprave", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DNNapravaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/naprava/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za naprave delovnih nalogov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/nalog": { "get": { "tags": [ "FA" ], "summary": "Seznam delovnih nalogov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum naloga od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum naloga do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka naloga od \r\nŠtevilka skupaj z letom v obliki stevika.leto, npr. 00001.2019. \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka naloga do \r\nŠtevilka skupaj z letom v obliki stevika.leto, npr. 00009.2019 \r\nŠtevilka mora imeti vodilne ničle. biti mora dolga kakor je nastavljeno v parametrih \r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "VrniPostavke", "in": "query", "description": "1: vrača postavke naloga\r\n0 ali prazno: ne vrne postavk naloga", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniIzdelke", "in": "query", "description": "1: vrača izdelke naloga\r\n0 ali prazno: ne vrne izdelkov naloga", "schema": { "type": "integer", "format": "int32" } }, { "name": "DatumSpremembe", "in": "query", "description": "Delovni nalogi, ki so bili vnešeni ali popravljeni po datumu", "schema": { "type": "string", "format": "date-time" } }, { "name": "DodatnaPoljaPostavke", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment artiklov glede na segmentSize. Primer: 1 je prvih 50000 (ali manj glede na segmentSize) artiklov, 2 naslednjih 50000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. artiklov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment artiklov.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/delovniNalog": { "post": { "tags": [ "FA" ], "summary": "Vnos novega delovnega naloga (Insert)", "requestBody": { "description": "Podatki delovnega naloga za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DNNalogPostBaseRequest" } } } }, "responses": { "201": { "description": "Delovni nalog uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DNNalogPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Delovni nalog s številko in letom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/nalog/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za delovne naloge", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/nalog/postavka/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za postavke delovnih nalogov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/sif": { "get": { "tags": [ "FA" ], "summary": "Podatki določenega šifranta delovnih nalogov", "parameters": [ { "name": "Sifra", "in": "query", "description": "zap. št. šifranta delovnih nalogov od 1 - 20", "required": true, "schema": { "maximum": 20, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DNSifResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dn/nalog/sif/polja": { "get": { "tags": [ "FA" ], "summary": "Vrne seznam aktivnih polj baze za sifrante delovnih nalogov", "parameters": [ { "name": "Sifra", "in": "query", "description": "zap. št. šifranta delovnih nalogov od 1 - 20", "required": true, "schema": { "maximum": 20, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/sledilnaStevilkaPosta": { "get": { "tags": [ "FA" ], "summary": "Sledilna številka Pošta", "parameters": [ { "name": "PostaSlovenije", "in": "query", "description": "Pošta Slovenije\r\n1 iščem po oddanih pošiljkah pošte Slovenije", "schema": { "type": "integer", "format": "int32" } }, { "name": "DPD", "in": "query", "description": "DPD\r\n1 iščem po oddanih pošiljkah DPD", "schema": { "type": "integer", "format": "int32" } }, { "name": "PackageSender", "in": "query", "description": "Package sender\r\n1 iščem po oddanih pošiljkah Package sender", "schema": { "type": "integer", "format": "int32" } }, { "name": "RacunStevilka", "in": "query", "description": "Lahko vnesete številko računa z dobavnico - poiščem dobavnico in potem sledilne številke\r\nLahko vnesete številko naročila - poiščem dobavnice in potem sledilne številke\r\nLahko vnesete direktno številko dobavnice - poiščem sledilne številke\r\nŠtevilka računa", "schema": { "type": "integer", "format": "int32" } }, { "name": "RacunLeto", "in": "query", "description": "Leto računa", "schema": { "type": "integer", "format": "int32" } }, { "name": "DobavnicaStevilka", "in": "query", "description": "Številka dobavnice", "schema": { "type": "string" } }, { "name": "DobavnicaLeto", "in": "query", "description": "Leto dobavnice", "schema": { "type": "integer", "format": "int32" } }, { "name": "NarociloStevilka", "in": "query", "description": "Številka naročila", "schema": { "type": "string" } }, { "name": "NarociloLeto", "in": "query", "description": "Leto naročila", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SledilnaStevilkaPostaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/dobroimetjeKupca": { "get": { "tags": [ "FA" ], "summary": "Dobroimetje kupca", "parameters": [ { "name": "Partner", "in": "query", "description": "Partner\r\nŠifra partnerja za katerega se dela poizvedba", "schema": { "type": "integer", "format": "int32" } }, { "name": "Datum", "in": "query", "description": "Na kateri dan", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DobroimetjeKupcaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FA/IzvozProdajeParagoniDobavnice": { "get": { "tags": [ "FA" ], "summary": "Izvoz prodaje - Paragoni, Dobavnice", "parameters": [ { "name": "DatumOD", "in": "query", "description": "Od datuma", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDO", "in": "query", "description": "Do datuma", "schema": { "type": "string", "format": "date-time" } }, { "name": "KupecOD", "in": "query", "description": "Šifra od kupca", "schema": { "type": "integer", "format": "int32" } }, { "name": "KupecDO", "in": "query", "description": "Šifra do kupca", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IzvozProdajeParagoniDobavniceResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/skupine": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam skupin artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra skupine artiklov:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Objava_b2b", "in": "query", "description": "0: skupine, ki nimajo določene objave B2B\r\n1: skupine, ki imajo določene objave B2B", "schema": { "type": "string" } }, { "name": "Objava_b2c", "in": "query", "description": "0: skupine, ki nimajo določene objave B2C\r\n1: skupine, ki imajo določene objave B2C", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkupinaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/skupine/tujiNazivi": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam skupin artiklov tuji nazivi", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra skupine artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GrupaTujNazivResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/nadskupine": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam nadskupin artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra nadskupine artiklov:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Objava_b2b", "in": "query", "description": "0: nadskupine, ki nimajo določene objave B2B\r\n1: nadskupine, ki imajo določene objave B2B", "schema": { "type": "string" } }, { "name": "Objava_b2c", "in": "query", "description": "0: nadskupine, ki nimajo določene objave B2C\r\n1: nadskupine, ki imajo določene objave B2C", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NadskupinaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/nadskupine/tujiNazivi": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam nadskupin artiklov tuji nazivi", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra nadskupine artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NadgrupaTujNazivResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/glavnaskupina": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam glavnih skupin", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra glavnih skupin artiklov:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GlavnaGrupaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/blagovneSkupine": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam blagovnih skupin artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra blagovne skupine artiklov:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Objava_b2b", "in": "query", "description": "0: blagovne skupine, ki nimajo določene objave B2B\r\n1: blagovne skupine, ki imajo določene objave B2B", "schema": { "type": "string" } }, { "name": "Objava_b2c", "in": "query", "description": "0: blagovne skupine, ki nimajo določene objave B2C\r\n1: blagovne skupine, ki imajo določene objave B2C", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BlagovnaSkupinaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/blagovnaSkupine/tujiNazivi": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam blagovnih skupin artiklov tuji nazivi", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra skupine artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BlagovnaTujNazivResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/skupinaSplet": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam skupin za splet", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra skupine splet:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Objava_b2b", "in": "query", "description": "0: skupine splet, ki nimajo določene objave B2B\r\n1: skupine splet, ki imajo določene objave B2B", "schema": { "type": "string" } }, { "name": "Objava_b2c", "in": "query", "description": "0: skupine splet, ki nimajo določene objave B2C\r\n1: skupine splet, ki imajo določene objave B2C", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkupinaSpletResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Grupa", "in": "query", "description": "Grupe artiklov:\r\nOPCIJA 1: več grup ločite z vejico (grupa1,grupa2,...). Max 100 grup v enem klicu.\r\nOPCIJA 2: grupo lahko vnesete kot GRUPA_OD..GRUPA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "ObjavaB2B", "in": "query", "description": "0: skupine, ki nimajo določene objave B2B\r\n1: skupine, ki imajo določene objave B2B", "schema": { "type": "integer", "format": "int32" } }, { "name": "ObjavaB2C", "in": "query", "description": "0: skupine, ki nimajo določene objave B2C\r\n1: skupine, ki imajo določene objave B2C", "schema": { "type": "integer", "format": "int32" } }, { "name": "BlagovnaSkupina", "in": "query", "description": "Blagovne skupine artiklov:\r\nOPCIJA 1: več blagovnih ločite z vejico (blagovna1,blagovna2,...). Max 100 blagovnih skupin v enem klicu.\r\nOPCIJA 2: blagovno lahko vnesete kot BLAGOVNA_OD..BLAGOVNA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Dobavitelj", "in": "query", "description": "Dobavitelj artikla:\r\nOPCIJA 1: več dobaviteljev ločite z vejico (dobavitelj1,dobavitelj2,...). Max 100 dobaviteljev v enem klicu.\r\nOPCIJA 2: dobavitelja lahko vnesete kot DOBAVITELJ_OD..DOBAVITELJ_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Locilo", "in": "query", "description": "Ločilo vejica (,) za zgornja naštevanja lahko zamenjate s svojim znakom npr. ;\r\nUporaba, če npr. šifre artikov vsebujejo vejico, lahko ločilo zamenjate z drugim znakom", "schema": { "type": "string" } }, { "name": "FilterLike", "in": "query", "description": "Iskanje po poljubnem nizu v šifri, nazivu in drugem nazivu:\r\nNajde ne glede na velikost črk (case insensitive)", "schema": { "type": "string" } }, { "name": "DatumSpremembeSifre", "in": "query", "description": "Če vnesemo datum spremembe šifre, program vrne staro šifro artikla, če je sprememba od tega datuma naprej.\r\nVrne dodatno polje STARA_SIFRA (prejšnja šifra artikla) in STARA_SIFRA_DATUM (datum spremebe šifre)", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumSpremembe", "in": "query", "description": "Artikli, ki so bili vnešeni ali popravljeni po datumu", "schema": { "type": "string", "format": "date-time" } }, { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment artiklov glede na segmentSize. Primer: 1 je prvih 50000 (ali manj glede na segmentSize) artiklov, 2 naslednjih 50000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. artiklov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment artiklov.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FASifranti" ], "summary": "Vnos novega artikla (Insert)", "requestBody": { "description": "Podatki artikla za vnos.\r\n Če je tip številčenja 0, potem morate vnesti šifro artikla. Ta tip številčenja je PRIVZET.\r\n Če je tip številčenja 1, potem morate za šifro artikla pustiti prazno (dodeljena bo naslednja prosta šifra)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelPostRequest" } } } }, "responses": { "201": { "description": "Artikel uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Artikel s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FASifranti" ], "summary": "Ažuriranje obstoječega artikla (Update)", "requestBody": { "description": "Podatki artikla za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).\r\n Če želite ažurirati samo določena polja, uporabite klic funkcije (PUT artikel/base).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelPutPostBaseRequest" } } } }, "responses": { "200": { "description": "Artikel uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Artikel ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/base": { "put": { "tags": [ "FASifranti" ], "summary": "Ažuriranje obstoječega artikla (Update)", "requestBody": { "description": "Podatki artikla za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelPutBaseRequest" } } } }, "responses": { "200": { "description": "Artikel uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Artikel ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikelDOD/base": { "post": { "tags": [ "FASifranti" ], "summary": "Vnos/popravljanje dodatnih podatkov artikla", "requestBody": { "description": "Dodatni podatki artikla", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelDODPutPostBaseRequest" } } } }, "responses": { "200": { "description": "Artikel DOD uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Artikel ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatno": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam artiklov dodatna tabela", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Segment", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. artiklov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment artiklov.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatno/polja": { "get": { "tags": [ "FASifranti" ], "summary": "Vrne seznam aktivnih polj baze za artikel dodatno", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/tujiNazivi": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam artiklov tuji nazivi", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment zapisov glede na segmentSize. Primer: 1 je prvih 50000 (ali manj glede na segmentSize) artiklov, 2 naslednjih 50000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. zapisov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment artiklov.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelTujNazivResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/povezani": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam povezanih artiklov", "parameters": [ { "name": "Artikel", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (Artikel1,Artikel2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot ARTIKEL_OD..ARTIKEL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Povezava", "in": "query", "description": "Šifra povezave, za seznam artiklov:\r\nOPCIJA 1: več povezav ločite z vejico (POVEZAVA1,POVEZAVA2,...). Max 100 šifer povezav v enem klicu.\r\nOPCIJA 2: povezavo lahko vnesete kot POVEZAVA_OD..POVEZAVA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Tip", "in": "query", "description": "Tip povezave\r\nOPCIJA 1: več tipov ločite z vejico (tip1,tip2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: tip lahko vnesete kot TIP_OD..TIP_DO. Primer: 1..1000", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelPovezavaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/normativ": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam normativov artiklov", "parameters": [ { "name": "Normativ", "in": "query", "description": "Šifra normativa, za seznam artiklov:\r\nOPCIJA 1: več normativov ločite z vejico (NORMATIV1,NORMATIV2,...). Max 100 šifer normativov v enem klicu.\r\nOPCIJA 2: normativ lahko vnesete kot NORMATIV_OD..NORMATIV_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Artikel", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (Artikel1,Artikel2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot ARTIKEL_OD..ARTIKEL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Tip", "in": "query", "description": "Tip normativa\r\nOPCIJA 1: več tipov ločite z vejico (tip1,tip2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: tip lahko vnesete kot TIP_OD..TIP_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelNormativResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/normativOperacije": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam operacij normativov artiklov", "parameters": [ { "name": "Normativ", "in": "query", "description": "Šifra normativa, za seznam operacij normativov artiklov:\r\nOPCIJA 1: več normativov ločite z vejico (NORMATIV1,NORMATIV2,...). Max 100 šifer normativov v enem klicu.\r\nOPCIJA 2: normativ lahko vnesete kot NORMATIV_OD..NORMATIV_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Artikel", "in": "query", "description": "Šifra artikla (operacije):\r\nOPCIJA 1: več šifer ločite z vejico (Artikel1,Artikel2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot ARTIKEL_OD..ARTIKEL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Tip", "in": "query", "description": "Tip normativa\r\nOPCIJA 1: več tipov ločite z vejico (tip1,tip2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: tip lahko vnesete kot TIP_OD..TIP_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelNormativOperacijeResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/prodajneAkcije": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prodajne akcije", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra prodajne akcije:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nČe pogoja ne vnesete vrne vse prodajne akcije", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProdajneAkcijeResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/sifrant1": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosti šifrant 1 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/sifrant2": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosti šifrant 2 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/sifrant3": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosti šifrant 3 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/sifrant4": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosti šifrant 4 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/sifrant5": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosti šifrant 5 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatniSifrant1": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dodatni prosti šifrant 1 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodatniSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatniSifrant2": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dodatni prosti šifrant 2 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodatniSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatniSifrant3": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dodatni prosti šifrant 3 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodatniSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatniSifrant4": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dodatni prosti šifrant 4 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodatniSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/dodatniSifrant5": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dodatni prosti šifrant 5 artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelDodatniSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/artikel/polja": { "get": { "tags": [ "FASifranti" ], "summary": "Vrne seznam aktivnih polj baze za artikel", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/zaloga": { "get": { "tags": [ "FASifranti" ], "summary": "Zaloga artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Skladisce", "in": "query", "description": "Skladišče zaloge:\r\nOPCIJA 1: več skladišč ločite z vejico (skladisce1,skladisce2,...). Max 100 skladišč v enem klicu.\r\nOPCIJA 2: skladisce lahko vnesete kot SKLADISCE_OD..SKLADISCE_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VrniVseArtikle", "in": "query", "description": "Vrni vse artikle za vsa izbrana skladišča: 0 - samo artikle z zalogo, 1 - Vsi artikli", "schema": { "type": "integer", "format": "int32" } }, { "name": "Locilo", "in": "query", "description": "Ločilo vejica (,) za zgornja naštevanja lahko zamenjate s svojim znakom npr. ;\r\nUporaba, če npr. šifre artikov vsebujejo vejico, lahko ločilo zamenjate z drugim znakom", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ZalogaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/koda": { "get": { "tags": [ "FASifranti" ], "summary": "EAN kode artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Koda", "in": "query", "description": "Koda artikla:\r\nOPCIJA 1: več kod ločite z vejico (koda1,koda2,...). Max 100 kod v enem klicu.\r\nOPCIJA 2: kodo lahko vnesete kot KODA_OD..KODA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Pakiranje", "in": "query", "description": "Vrednost pakiranja posamezne kode artikla", "schema": { "type": "integer", "format": "int32" } }, { "name": "Kolicina", "in": "query", "description": "Dejanska podana vrednost količine", "schema": { "type": "number", "format": "decimal" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KodaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "FASifranti" ], "summary": "Vnos EAN kode artikla (Insert)", "requestBody": { "description": "Podatki EAN za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KodaPostRequest" } } } }, "responses": { "201": { "description": "Ean koda uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KodaPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Ean koda za to šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/tujeDDVStopnjeArtikla": { "get": { "tags": [ "FASifranti" ], "summary": "Tuje davčne stopnje artiklov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra artikla", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KodaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/cenikZaKupca": { "get": { "tags": [ "FASifranti" ], "summary": "Cenik artiklov za kupca", "parameters": [ { "name": "Partner", "in": "query", "description": "Partner za katerega želimo cenik", "schema": { "type": "integer", "format": "int32" } }, { "name": "Prodajalna", "in": "query", "description": "Prodajalna za katero želimo cenik", "schema": { "type": "integer", "format": "int32" } }, { "name": "Sifra", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "VelikostPaketa", "in": "query", "description": "privzeta velikost paketa je 1000", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CenikZaKupcaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/cenikZaKupcaTemp": { "get": { "tags": [ "FASifranti" ], "summary": "Cenik artiklov za kupca - temp tabela", "parameters": [ { "name": "Partner", "in": "query", "description": "Partner za katerega želimo cenik", "schema": { "type": "integer", "format": "int32" } }, { "name": "VelikostPaketa", "in": "query", "description": "privzeta velikost paketa je 20000", "schema": { "type": "integer", "format": "int32" } }, { "name": "ZadnjiArtikelPrejsnjegaPaketa", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CenikZaKupcaTempResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prodajalna": { "post": { "tags": [ "FASifranti" ], "summary": "Prodajalna (Insert)", "requestBody": { "description": "Podatki prodajalne za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdajalnaPutPostBaseRequest" } } } }, "responses": { "201": { "description": "Prodajalna uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdajalnaPutPostBaseRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prodajalna za tega kupca že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FASifranti" ], "summary": "Ažuriranje obstoječe prodajalne (Update)", "requestBody": { "description": "Podatki prodajalne za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdajalnaPutPostBaseRequest" } } } }, "responses": { "200": { "description": "Prodajalna uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Prodajalna ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "get": { "tags": [ "FASifranti" ], "summary": "Seznam prodajaln kupcev", "parameters": [ { "name": "Kupec", "in": "query", "description": "Kupec prodajalne:\r\nOPCIJA 1: več kupcev ločite z vejico (kupec1,kupec2,...). Max 100 kupcev v enem klicu.ProdajalnaPutPostBaseRequest\r\nOPCIJA 2: kupca lahko vnesete kot KUPEC_OD..KUPEC_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Sifra", "in": "query", "description": "Šifra prodajalne:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProdajalnaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prodajalna/polja": { "get": { "tags": [ "FASifranti" ], "summary": "Vrne seznam aktivnih polj baze za prodajalno", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/skladisca": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam skladišč", "parameters": [ { "name": "Sifra", "in": "query", "description": "Skladišča:\r\nOPCIJA 1: več skladišč ločite z vejico (skladišče1,skladišče2,...). Max 100 skladišč v enem klicu\r\nOPCIJA 2: skladišče lahko vnesete kot SKLADISCE_OD..SKLADISCE_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProdajalnaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/komercialisti": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam komercialistov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra komercialista:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KomercialistlResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/kontaktnaOseba": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam kontaktnih oseb", "parameters": [ { "name": "Partner", "in": "query", "description": "Šifra partnerja:", "schema": { "type": "integer", "format": "int32" } }, { "name": "Sifra", "in": "query", "description": "Šifra kontaktne osebe:", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KontaktnaOsebaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/polja": { "get": { "tags": [ "FASifranti" ], "summary": "Vrne seznam aktivnih polj FA baze", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/lotPodatki": { "post": { "tags": [ "FASifranti" ], "summary": "Lot podatki (Insert)", "requestBody": { "description": "Podatki o lotih za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FALotPodatkiPostBaseRequest" } } } }, "responses": { "201": { "description": "LotPodatki uspešno vnešeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FALotPodatkiPostBaseRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Šifrant s šifro in lotom že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FASifranti" ], "summary": "Ažuriranje Lot podatki (Update)", "requestBody": { "description": "Lot podatki za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FALotPodatkiPostBaseRequest" } } } }, "responses": { "200": { "description": "lotPodatki uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "get": { "tags": [ "FASifranti" ], "summary": "Lot podatki", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:", "schema": { "type": "string" } }, { "name": "Lot", "in": "query", "description": "Lot:", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner:", "schema": { "type": "integer", "format": "int32" } }, { "name": "DatumUporabnostiOd", "in": "query", "description": "Datum uporabnosti od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumUporabnostiDo", "in": "query", "description": "Datum uporabnosti do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumProizvodnjeOd", "in": "query", "description": "Datum proizvodnje od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumProizvodnjeDo", "in": "query", "description": "Datum proizvodnje do", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FA_LOT_PODATKIResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/lotiNaZalogi": { "get": { "tags": [ "FASifranti" ], "summary": "Loti na zalogi", "parameters": [ { "name": "NaDan", "in": "query", "description": "Stanje na dan", "schema": { "type": "string", "format": "date-time" } }, { "name": "Artikel", "in": "query", "description": "Artikel\r\nŠifra artikla, za katerega delamo poizvedbo\r\nbrez šifre pomeni vse artikle", "schema": { "type": "string" } }, { "name": "Skladisce", "in": "query", "description": "Skladišče\r\nŠifra skladišča, za katerega delamo poizvedbo\r\n0 pomeni vsa skladišča", "schema": { "type": "integer", "format": "int32" } }, { "name": "VsiLoti", "in": "query", "description": "Vsi loti\r\n1: vrača vse lote tudi, če je zaloga 0\r\n0: vrača samo lote ki imajo zalogo", "schema": { "type": "integer", "format": "int32" } }, { "name": "TudiPrazniLoti", "in": "query", "description": "Tudi brez vnešenega lota\r\n1: vrača tudi količino brez vnešenega lota\r\n0: vrača samo količino, kjer je lot vnešen", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LotiNaZalogiResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/posebnaCena": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam posebnih cen", "parameters": [ { "name": "Kupec", "in": "query", "description": "Kupec prodajalne:\r\nOPCIJA 1: več kupcev ločite z vejico (kupec1,kupec2,...). Max 100 kupcev v enem klicu.\r\nOPCIJA 2: kupca lahko vnesete kot KUPEC_OD..KUPEC_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Prodajalna", "in": "query", "description": "Šifra prodajalne:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot PRODAJALNA_OD..PRODAJALNA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Artikel", "in": "query", "description": "Šifra artikla:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot ARTIKEL_OD..ARTIKEL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "OdDatuma", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "DoDatuma", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PosebnaCenaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/rabatneSkupine": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam rabatnih skupin", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra rabatne skupine:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RabatnaSkupinaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/tdsDrzava": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam držav tuje davčne stopnje", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra države:\r\nČe šifre ne vnesemo vrne za vse države za katere je možna prodaja po tujih davčnih stopnjah", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TdsDrzavaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/dnNalogTip": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam dn nalog tip", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DnNalogTipResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/nacinOdpreme": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam načinov odpreme", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NacinOdpremeResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/nacinPlacila": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam načinov plačila", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/NacinPlacilaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/sifrantBesedil": { "get": { "tags": [ "FASifranti" ], "summary": "Šifrant besedil", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SifrantBesedilResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant1": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 1", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant2": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 2", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant3": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 3", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant4": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 4", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant5": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 5", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant6": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 6", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant7": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 7", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant8": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 8", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant9": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 9", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/prostoSifrant10": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam prosto šifrant 10", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProstoSifrantResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/serijskeNaZalogi": { "get": { "tags": [ "FASifranti" ], "summary": "Serijske številke", "parameters": [ { "name": "NaDan", "in": "query", "description": "Stanje na dan\r\nČe dan ni določen končno stanje", "schema": { "type": "string", "format": "date-time" } }, { "name": "Artikel", "in": "query", "description": "Artikel\r\nŠifra artikla, za katerega delamo poizvedbo\r\nČe ni šifre za vse artikle v bazi", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SerijskeNaZalogiResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/odprtaNarocilaDobavitelju": { "get": { "tags": [ "FASifranti" ], "summary": "Odprta naročila dobavitelju", "parameters": [ { "name": "Artikel", "in": "query", "description": "Artikel\r\nŠifra artikla, za katerega delamo poizvedbo", "schema": { "type": "string" } }, { "name": "VsaNarocila", "in": "query", "description": "Vsa naročila\r\n1: Vrne vsa naročila, tudi če so že poplnoma dobavljena\r\n0: Vrne samo naročila, ki še niso popolnoma dobavljna", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OdprtaNarocilaDobaviteljuResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/RabatKupciArtikli": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam rabatov kupcev in artiklov", "parameters": [ { "name": "Kupec", "in": "query", "description": "Šifra kupca:", "schema": { "type": "integer", "format": "int32" } }, { "name": "Prodajalna", "in": "query", "description": "Šifra prodajalne:", "schema": { "type": "integer", "format": "int32" } }, { "name": "Artikel", "in": "query", "description": "Šifra artikla:", "schema": { "type": "string" } }, { "name": "Datum", "in": "query", "description": "Datum veljavnosti rabata:", "schema": { "type": "string", "format": "date-time" } }, { "name": "VrniVseZapise", "in": "query", "description": "Vrnem vse zapise", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RabatKupciArtikliResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/RabatKupciArtikliOLD": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam rabatov kupcev in artiklov OLD", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra rabata kupca in artiklov:", "schema": { "type": "integer", "format": "int32" } }, { "name": "Kupec", "in": "query", "schema": { "type": "string" } }, { "name": "Prodajalna", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Artikel", "in": "query", "schema": { "type": "string" } }, { "name": "Grupa", "in": "query", "schema": { "type": "string" } }, { "name": "Nadgrupa", "in": "query", "schema": { "type": "string" } }, { "name": "Blagovna", "in": "query", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/RabatKupciArtikliResponseOLD" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/Projekt": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam projektov", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra blagovne skupine artiklov:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjektResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/projekt": { "post": { "tags": [ "FASifranti" ], "summary": "Projekt (Insert)", "requestBody": { "description": "Podatki projekta za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProjektPutPostBaseRequest" } } } }, "responses": { "201": { "description": "Projekt uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProjektPutPostBaseRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Projekt že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "FASifranti" ], "summary": "Ažuriranje obstoječega projekta (Update)", "requestBody": { "description": "Podatki projekta za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProjektPutPostBaseRequest" } } } }, "responses": { "200": { "description": "Projekt uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Projekt ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/VrstaPakiranja": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam vrste pakiranj", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra vrste pakiranj:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VrstaPakiranjaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/FASifranti/FormulaZaCeno": { "get": { "tags": [ "FASifranti" ], "summary": "Seznam formul za ceno", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra formule za ceno:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FormulaZaCenoResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/knjizba": { "get": { "tags": [ "GK" ], "summary": "Seznam knjižb.", "parameters": [ { "name": "Konto", "in": "query", "description": "Konto knjižbe:\r\nOPCIJA 1: več kontov ločite z vejico (konto1,konto2,...). \r\nOPCIJA 2: konto lahko vnesete kot KONTO_OD..KONTO_DO. Primer: 120..12099", "schema": { "type": "string" } }, { "name": "Simbol", "in": "query", "description": "Simbol knjižbe:\r\nOPCIJA 1: več simbolov ločite z vejico (simbol1,simbol9,...).\r\nOPCIJA 2: simbol lahko vnesete kot SIMBOL_OD..SIMBOL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Id", "in": "query", "description": "ID knjižbe:\r\nOPCIJA 1: več Idjev ločite z vejico (id1,id2,...). \r\nOPCIJA 2: ID lahko vnesete kot ID_OD..ID_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "IdNosilna", "in": "query", "description": "ID nosilne knjižbe: \r\nOPCIJA 1: več Idjev ločite z vejico (idNosilna1,idNosilna2,...). \r\nOPCIJA 2: ID lahko vnesete kot IDNOSILNA_OD..IDNOSILNA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "ObrObdobje", "in": "query", "description": "Obračunsko obdobje knjižbe:\r\nMesec skupaj z letom v obliki m.llll, npr. 1.2018.\r\nČe je vnesen polje OD, mora biti tudi DO). MESEC IN LETO OBRAČUNSKEGA OBDOBJA se vedno vnašata skupaj npr. 1.2018.\r\nOPCIJA 1: več obr. obdobij ločite z vejico (ObrObdobje1,ObrObdobje2,...).\r\nOPCIJA 2: ObrObdobje lahko vnesete kot ObrObdobje_OD..ObrObdobje_DO. Primer: 1.2018..1.2018", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner knjižbe:\r\nOPCIJA 1: več partnerjev ločite z vejico (partner1,partner2,...). \r\nOPCIJA 2: partner lahko vnesete kot PARTNER_OD..PARTNER_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več smjev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM3", "in": "query", "description": "SM3 knjižbe:\r\nOPCIJA 1: več sm3jev ločite z vejico (sm3_1,sm3_2,...). \r\nOPCIJA 2: sm3 lahko vnesete kot SM3_OD..SM3_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DebetniPromet", "in": "query", "description": "Knjižbe kot debetni promet\r\n1: upošteva samo knjižbe, ki so debetni promet\r\n0 ali prazno: ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "KreditniPromet", "in": "query", "description": "Knjižbe kot kreditni promet\r\n1: upošteva samo knjižbe, ki so kreditni promet\r\n0 ali prazno: ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "First", "in": "query", "description": "Določeno št. podatkov za vračanje rezultata", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KnjizbaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "GK" ], "summary": "Vnos knjižb (Insert).", "parameters": [ { "name": "tipAkcije", "in": "query", "description": "1=samo delna kontrola brez kontrole obstoja šifrantov, 2=samo kontrola, 3=zapis v bazo brez kontrole šifrantov, 4= zapis v bazo", "schema": { "$ref": "#/components/schemas/GkKnjizbaRequestTipAkcije" } }, { "name": "Paket", "in": "query", "description": "Največji možen vnos je 24 znakov", "schema": { "maxLength": 24, "type": "string" } } ], "requestBody": { "description": "Podatki knjižb za vnos.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaPostRequest" } } } } }, "responses": { "201": { "description": "Knjižbe uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Knjižba že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/knjizbaDetail": { "get": { "tags": [ "GK" ], "summary": "Seznam knjižb z detajli (partnerja, konta, simbola, sm, sm2 in sm3).", "parameters": [ { "name": "Konto", "in": "query", "description": "Konto knjižbe:\r\nOPCIJA 1: več kontov ločite z vejico (konto1,konto2,...). \r\nOPCIJA 2: konto lahko vnesete kot KONTO_OD..KONTO_DO. Primer: 120..12099", "schema": { "type": "string" } }, { "name": "Simbol", "in": "query", "description": "Simbol knjižbe:\r\nOPCIJA 1: več simbolov ločite z vejico (simbol1,simbol9,...).\r\nOPCIJA 2: simbol lahko vnesete kot SIMBOL_OD..SIMBOL_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Id", "in": "query", "description": "ID knjižbe:\r\nOPCIJA 1: več Idjev ločite z vejico (id1,id2,...). \r\nOPCIJA 2: ID lahko vnesete kot ID_OD..ID_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "IdNosilna", "in": "query", "description": "ID nosilne knjižbe: \r\nOPCIJA 1: več Idjev ločite z vejico (idNosilna1,idNosilna2,...). \r\nOPCIJA 2: ID lahko vnesete kot IDNOSILNA_OD..IDNOSILNA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "ObrObdobje", "in": "query", "description": "Obračunsko obdobje knjižbe:\r\nMesec skupaj z letom v obliki m.llll, npr. 1.2018.\r\nČe je vnesen polje OD, mora biti tudi DO). MESEC IN LETO OBRAČUNSKEGA OBDOBJA se vedno vnašata skupaj npr. 1.2018.\r\nOPCIJA 1: več obr. obdobij ločite z vejico (ObrObdobje1,ObrObdobje2,...).\r\nOPCIJA 2: ObrObdobje lahko vnesete kot ObrObdobje_OD..ObrObdobje_DO. Primer: 1.2018..1.2018", "schema": { "type": "string" } }, { "name": "Partner", "in": "query", "description": "Partner knjižbe:\r\nOPCIJA 1: več partnerjev ločite z vejico (partner1,partner2,...). \r\nOPCIJA 2: partner lahko vnesete kot PARTNER_OD..PARTNER_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več smjev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM3", "in": "query", "description": "SM3 knjižbe:\r\nOPCIJA 1: več sm3jev ločite z vejico (sm3_1,sm3_2,...). \r\nOPCIJA 2: sm3 lahko vnesete kot SM3_OD..SM3_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DebetniPromet", "in": "query", "description": "Knjižbe kot debetni promet\r\n1: upošteva samo knjižbe, ki so debetni promet\r\n0 ali prazno: ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "KreditniPromet", "in": "query", "description": "Knjižbe kot kreditni promet\r\n1: upošteva samo knjižbe, ki so kreditni promet\r\n0 ali prazno: ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "First", "in": "query", "description": "Določeno št. podatkov za vračanje rezultata", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KnjizbaDetailResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/knjizba/polja": { "get": { "tags": [ "GK" ], "summary": "Seznam aktivnih polj baze za knjižbe", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/TrackTrace": { "get": { "tags": [ "GK" ], "summary": "Track And Trace", "parameters": [ { "name": "datum", "in": "query", "description": "Datum dokumenta (llll-mm-dd)", "required": true, "schema": { "type": "string", "format": "date-time" } }, { "name": "stRacuna", "in": "query", "description": "Vsa plačila za določeno št. računa", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GKTrackTraceResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/TrackTrace/status": { "put": { "tags": [ "GK" ], "summary": "Postavi že zajeta plačila kot prevzeta/prebrana", "requestBody": { "description": "IDji knjižb za postavljanje statusa. Lista idjev ločena z vejico.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GKTrackTracePutRequest" } } } }, "responses": { "200": { "description": "Knjižbe uspešno prevzete." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Id knjižbe ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/terjatveObveznosti306090": { "get": { "tags": [ "GK" ], "summary": "Obveznosti in terjatve 30,60,90", "parameters": [ { "name": "Konti", "in": "query", "schema": { "type": "string" } }, { "name": "PartnerOd", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "PartnerDo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "Meje", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, { "name": "StanjeNaDan", "in": "query", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GK_SEZNAM_30_60_90" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/odprtePostavke": { "get": { "tags": [ "GK" ], "summary": "Odprte postavke", "parameters": [ { "name": "Konti", "in": "query", "schema": { "type": "string" } }, { "name": "PartnerOd", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "PartnerDo", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "TipIzracuna", "in": "query", "description": "1 = Prikazi samo odprte\r\n2 = Prikaži postavke z delno odprtimi zneski (privzeto)", "schema": { "$ref": "#/components/schemas/GKKnjizbaTipApiEnum" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GKOdprtaPostavkaReponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/kumulativaPoSM": { "get": { "tags": [ "GK" ], "summary": "Kumulativa po SM", "parameters": [ { "name": "Leto", "in": "query", "description": "Leto", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "MesecOd", "in": "query", "description": "Od katerega meseca leta", "schema": { "maximum": 12, "minimum": 1, "type": "integer", "format": "int32" } }, { "name": "MesecDo", "in": "query", "description": "Do katerega meseca leta", "schema": { "maximum": 12, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GKKumulativaPoSmResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/porocilo": { "get": { "tags": [ "GK" ], "summary": "Seznam poročil", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GKPorociloResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GK/porocilo/detail": { "get": { "tags": [ "GK" ], "summary": "Nastavitve enega poročila", "parameters": [ { "name": "Sifra", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GKPorociloDetailResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/konto": { "get": { "tags": [ "GKSifranti" ], "summary": "Kontni plan", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra konta:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 120..12099", "schema": { "type": "string" } }, { "name": "SaldaKonto", "in": "query", "description": "Salda konto:\r\n0: konto, ki ni saldakontni.\r\n1: konto, ki je saldakontni.\r\nprazno: vsi konti, ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "Devizni", "in": "query", "description": "Devizni konto:\r\n0: konto, ki ni devizni.\r\n1: konto, ki je devizni.\r\nprazno: vsi konti, ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KontoResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/simbol": { "get": { "tags": [ "GKSifranti" ], "summary": "Seznam simbolov", "parameters": [ { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SimbolResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm": { "get": { "tags": [ "GKSifranti" ], "summary": "Stroškovna mesta", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SMResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "GKSifranti" ], "summary": "Vnos stroškovno mesto (Insert)", "requestBody": { "description": "Podatki stroškovno mesto za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmPostRequest" } } } }, "responses": { "201": { "description": "Stroškovno mesto uspešno vnešeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Stroškovno mesto s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "GKSifranti" ], "summary": "Ažuriranje obstoječega sm (Update)", "requestBody": { "description": "Podatki sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmPutRequest" } } } }, "responses": { "200": { "description": "Sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm/{sifra}": { "delete": { "tags": [ "GKSifranti" ], "summary": "Brisanje sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm2": { "get": { "tags": [ "GKSifranti" ], "summary": "2. nivo stroškovnih mest", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SM2Response" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "GKSifranti" ], "summary": "Vnos 2. nivo stroškovnih mest (Insert)", "requestBody": { "description": "Podatki 2. nivo sm za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2PostRequest" } } } }, "responses": { "201": { "description": "2. nivo sm uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2PostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "2. nivo sm s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "GKSifranti" ], "summary": "Ažuriranje obstoječega 2. nivo sm (Update)", "requestBody": { "description": "Podatki 2. nivo sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2PutRequest" } } } }, "responses": { "200": { "description": "2. nivo sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "2. nivo sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm2/{sifra}": { "delete": { "tags": [ "GKSifranti" ], "summary": "Brisanje 2. nivo sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra 2. nivo sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "2. nivo Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "2. nivo Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "2. nivo Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm3": { "get": { "tags": [ "GKSifranti" ], "summary": "3. nivo stroškovnih mest", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SM3Response" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "GKSifranti" ], "summary": "Vnos 3. nivo stroškovnih mest (Insert)", "requestBody": { "description": "Podatki 3. nivo sm za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3PostRequest" } } } }, "responses": { "201": { "description": "3. nivo sm uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3PostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "3. nivo sm s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "GKSifranti" ], "summary": "Ažuriranje obstoječega 3. nivo sm (Update)", "requestBody": { "description": "Podatki 3. nivo sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3PutRequest" } } } }, "responses": { "200": { "description": "3. nivo sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "3. nivo sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/sm3/{sifra}": { "delete": { "tags": [ "GKSifranti" ], "summary": "Brisanje 3. nivo sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra 3. nivo sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "3. nivo Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "3. nivo Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "3. nivo Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/GKSifranti/polja": { "get": { "tags": [ "GKSifranti" ], "summary": "Seznam aktivnih polj GK baze", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Kadrovska/odlocbe/{leto}": { "get": { "tags": [ "Kadrovska" ], "summary": "Seznam delavcev, ki imajo odločbe o dopustu za določeno leto", "parameters": [ { "name": "leto", "in": "path", "description": "Leto odločbe dopusta", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DopustiDelavecResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Kadrovska/odlocbe/delavci/{leto}": { "get": { "tags": [ "Kadrovska" ], "summary": "Vrne Odločbe o dopustu za leto in za določene delavce", "parameters": [ { "name": "leto", "in": "path", "description": "Leto odločbe dopusta", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "delavci", "in": "query", "description": "Seznam delavcev določen z šiframi (sifra1,sifra2,...)", "schema": { "type": "string" } }, { "name": "revizija", "in": "query", "description": "0: samo zadnja revizija, 1: vse revizije", "schema": { "type": "integer", "format": "int32", "default": 0 } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DopustOdlocbaDelavecResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "204": { "description": "Ni na voljo." } } } }, "/api/v1/KPF/placilo/PF": { "get": { "tags": [ "KPF" ], "summary": "Seznam plačil pr. fak.", "parameters": [ { "name": "StevilkaLeto", "in": "query", "description": "več številk ločite z vejico (StevilkaLeto1,StevilkaLeto2,...).", "schema": { "type": "string" } }, { "name": "DatumOd", "in": "query", "description": "Datum plačila od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum plačila do", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlaciloResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "KPF" ], "summary": "Vnos plačila prejete fakture (Insert).", "requestBody": { "description": "Podatki za vnos plačila fakture.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KpfPlaciloPostRequest" } } } }, "responses": { "200": { "description": "Plačilo računa uspešno vneseno." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "KPF" ], "summary": "Brisanje plačil prejete fakture (Delete)", "parameters": [ { "name": "stevilka", "in": "query", "description": "št. fakture", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "leto", "in": "query", "description": "leto fakture", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "datumPlacila", "in": "query", "description": "datum plačila", "required": true, "schema": { "type": "string", "format": "date-time" } }, { "name": "vrstaPlacila", "in": "query", "description": "vrsta plačila", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "dobavitelj", "in": "query", "description": "OPCIJSKO: šifra dobavitelja", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Plačilo uspešno brisano." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Pr. fak. ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/placilo/DF": { "get": { "tags": [ "KPF" ], "summary": "Seznam plačil dev. fak.", "parameters": [ { "name": "StevilkaLeto", "in": "query", "description": "več številk ločite z vejico (StevilkaLeto1,StevilkaLeto2,...).", "schema": { "type": "string" } }, { "name": "DatumOd", "in": "query", "description": "Datum plačila od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum plačila do", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfPlaciloResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "KPF" ], "summary": "Vnos plačila devizne fakture (Insert).", "requestBody": { "description": "Podatki za vnos plačila fakture.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KpfPlaciloDevizniPostRequest" } } } }, "responses": { "200": { "description": "Plačilo računa uspešno vneseno." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "KPF" ], "summary": "Brisanje plačil devizne fakture (Delete)", "parameters": [ { "name": "stevilka", "in": "query", "description": "št. fakture", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "leto", "in": "query", "description": "leto fakture", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "datumPlacila", "in": "query", "description": "datum plačila", "required": true, "schema": { "type": "string", "format": "date-time" } }, { "name": "vrstaPlacila", "in": "query", "description": "vrsta plačila", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "dobavitelj", "in": "query", "description": "OPCIJSKO: šifra dobavitelja", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Plačilo uspešno brisano." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Dev. fak. ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci": { "post": { "tags": [ "KPF" ], "summary": "Vnos prejetih računov (Insert).", "requestBody": { "description": "Podatki računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakPostRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Račun že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Račun uspešno vnešen." } } }, "get": { "tags": [ "KPF" ], "summary": "Seznam računov.", "parameters": [ { "name": "StevilkaOd", "in": "query", "description": "Številka računa od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka računa do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "DobaviteljevaStRacuna", "in": "query", "description": "Številka dobaviteljevega računa", "schema": { "type": "string" } }, { "name": "DatumDokumentaOd", "in": "query", "description": "Datum dokumenta od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDokumentaDo", "in": "query", "description": "Datum dokumenta do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaOd", "in": "query", "description": "Datum knjiženja od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaDo", "in": "query", "description": "Datum knjiženja do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveOd", "in": "query", "description": "Datum storitve od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveDo", "in": "query", "description": "Datum storitve do", "schema": { "type": "string", "format": "date-time" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več sm-jev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2-jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Dobavitelj", "in": "query", "description": "Dobavitelj računa:\r\nOPCIJA 1: več dobaviteljev ločite z vejico (dobavitelj1,dobavitelj2,...). \r\nOPCIJA 2: dobavitelja lahko vnesete kot DOBAVITELJ_OD..DOBAVITELJ_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "PROSTO_01", "in": "query", "description": "Prosto tekstovno polje #1", "schema": { "type": "string" } }, { "name": "PROSTO_02", "in": "query", "description": "Prosto tekstovno polje #2", "schema": { "type": "string" } }, { "name": "PROSTO_03", "in": "query", "description": "Prosto tekstovno polje #3", "schema": { "type": "string" } }, { "name": "Simbol", "in": "query", "description": "Simbol za iskanje samo za prosta tekstovna polja PROSTO_01..03. \"=\", \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nPrivzeto je \"=\".", "schema": { "type": "string" } }, { "name": "VrniKnjizbeKontiranja", "in": "query", "description": "1: vrne knjižbe kontiranja\r\n0 ali prazno: ne vrne knjižb kontiranja", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniKnjigoDDV", "in": "query", "description": "1: vrne knjigo DDV\r\n0 ali prazno: ne vrne knjige DDV", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniDelitevSM", "in": "query", "description": "1: vrne delitev po SM\r\n0 ali prazno: ne vrne delitve po SM", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPriloge", "in": "query", "description": "1: vrne priloge (dokumente)\r\n0 ali prazno: ne vrne prilog", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniOpombe", "in": "query", "description": "1: vrni opombo (več opomb se združi kot ena)\r\n0 ali prazno: ne vrne opombe", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniLikvidacijo", "in": "query", "description": "1: vrne seznam določenih likvidatorjev\r\n0 ali prazno: ne vrne likvidacije", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KPFPrFakResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/glava/polja": { "get": { "tags": [ "KPF" ], "summary": "Vrne seznam aktivnih polj baze za glavo domače prejete fakture", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/glava": { "put": { "tags": [ "KPF" ], "summary": "Delno ažuriranje glave računa (Update).", "requestBody": { "description": "Podatki za ažuriranje .", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakHeaderPutRequest" } } } }, "responses": { "200": { "description": "Račun uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/opomba": { "post": { "tags": [ "KPF" ], "summary": "Vnos nove opombe računa (Insert).", "requestBody": { "description": "Podatki za vnos opombe na fakturo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakOpombaPostRequest" } } } }, "responses": { "200": { "description": "Opomba računa uspešno vnesena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/kontiranje": { "put": { "tags": [ "KPF" ], "summary": "Ažuriranje kontiranja računa (Update).", "requestBody": { "description": "Podatki za ažuriranje .", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakKontiranjePutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Kontiranje računa uspešno ažurirano." } } } }, "/api/v1/KPF/prejetRacunDomaci/AutoKontiranje": { "put": { "tags": [ "KPF" ], "summary": "Avtomatsko knjiženje DDV in kontiranja iz nastavitev dobavitelja", "requestBody": { "description": "vhodni podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakAutoKontiranjeRequest" } } } }, "responses": { "200": { "description": "Avt. kontiranje uspešno nastavljeno." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/delitevSM": { "put": { "tags": [ "KPF" ], "summary": "Ažuriranje delitve po SM računa (Update).", "requestBody": { "description": "Podatki za ažuriranje .", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakDelitevSMPutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Delitev po SM računa uspešno ažurirano." } } } }, "/api/v1/KPF/prejetRacunDomaci/likvidatorji": { "put": { "tags": [ "KPF" ], "summary": "Ažuriranje likvidatorjev računa (Update).", "requestBody": { "description": "Podatki za ažuriranje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakLikvidacijaPutRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Likvidacija računa uspešno ažurirana." } } } }, "/api/v1/KPF/prejetRacunDomaci/likvidiranje": { "put": { "tags": [ "KPF" ], "summary": "Likvidiranje domače prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakLikvidiranjeRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno fakturirana.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFPrFakLikvidiranjeResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDomaci/custom1": { "post": { "tags": [ "KPF" ], "summary": "Custom klic 1 (Insert).", "requestBody": { "description": "Podatki za vnos opombe na fakturo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFVnosPlacijaCustom1" } } } }, "responses": { "200": { "description": "Opomba računa uspešno vnesena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek za ažuriranje ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Podatki za ažuriranje se ne ujemajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDevizni": { "post": { "tags": [ "KPF" ], "summary": "Vnos deviznih računov (Insert).", "requestBody": { "description": "Podatki računa za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFDevizniRacPostRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Vnešen podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Račun že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Račun uspešno vnešen." } } }, "get": { "tags": [ "KPF" ], "summary": "Seznam deviznih računov.", "parameters": [ { "name": "StevilkaOd", "in": "query", "description": "Številka računa od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka računa do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } }, { "name": "DobaviteljevaStRacuna", "in": "query", "description": "Številka dobaviteljevega računa", "schema": { "type": "string" } }, { "name": "DatumDokumentaOd", "in": "query", "description": "Datum računa od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDokumentaDo", "in": "query", "description": "Datum računa do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaOd", "in": "query", "description": "Datum knjiženja od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumKnjizenjaDo", "in": "query", "description": "Datum knjiženja do", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveOd", "in": "query", "description": "Datum storitve od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumStoritveDo", "in": "query", "description": "Datum storitve do", "schema": { "type": "string", "format": "date-time" } }, { "name": "SM", "in": "query", "description": "SM knjižbe:\r\nOPCIJA 1: več sm-jev ločite z vejico (sm_1,sm_2,...). \r\nOPCIJA 2: sm lahko vnesete kot SM_OD..SM_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "SM2", "in": "query", "description": "SM2 knjižbe:\r\nOPCIJA 1: več sm2-jev ločite z vejico (sm2_1,sm2_2,...). \r\nOPCIJA 2: sm2 lahko vnesete kot SM2_OD..SM2_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Dobavitelj", "in": "query", "description": "Dobavitelj računa:\r\nOPCIJA 1: več dobaviteljev ločite z vejico (dobavitelj1,dobavitelj2,...). \r\nOPCIJA 2: dobavitelja lahko vnesete kot DOBAVITELJ_OD..DOBAVITELJ_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "PROSTO_01", "in": "query", "description": "Prosto tekstovno polje #1", "schema": { "type": "string" } }, { "name": "PROSTO_02", "in": "query", "description": "Prosto tekstovno polje #2", "schema": { "type": "string" } }, { "name": "Simbol", "in": "query", "description": "Simbol za iskanje samo za prosta tekstovna polja PROSTO_01..03. \"=\", \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nPrivzeto je \"=\".", "schema": { "type": "string" } }, { "name": "VrniKnjizbeKontiranja", "in": "query", "description": "1: vrne knjižbe kontiranja\r\n0 ali prazno: ne vrne knjižb kontiranja", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniKnjigoDDV", "in": "query", "description": "1: vrne knjigo DDV\r\n0 ali prazno: ne vrne knjige DDV", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniDelitevSM", "in": "query", "description": "1: vrne delitev po SM\r\n0 ali prazno: ne vrne delitve po SM", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniPriloge", "in": "query", "description": "1: vrne priloge (dokumente)\r\n0 ali prazno: ne vrne prilog", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniOpombe", "in": "query", "description": "1: vrni opombo (več opomb se združi kot ena)\r\n0 ali prazno: ne vrne opombe", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniLikvidacijo", "in": "query", "description": "1: vrne seznam določenih likvidatorjev\r\n0 ali prazno: ne vrne likvidacije", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KPFDevizniRacResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPF/prejetRacunDevizni/likvidiranje": { "put": { "tags": [ "KPF" ], "summary": "Likvidiranje devizne prejete fakture", "requestBody": { "description": "podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFDevizniRacLikvidiranjeRequest" } } } }, "responses": { "200": { "description": "Faktura uspešno fakturirana.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KPFDevizniRacLikvidiranjeResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Devizna prejeta faktura s številko in letom ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPFSifranti/skupinaPF": { "get": { "tags": [ "KPFSifranti" ], "summary": "Vrne seznam skupin prejetih faktur", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkupinaPFResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPFSifranti/vrstaKnjigePF": { "get": { "tags": [ "KPFSifranti" ], "summary": "Vrne seznam vrste knjig prejetih faktur", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VrstaKnjigePFResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPFSifranti/vrstePlacil": { "get": { "tags": [ "KPFSifranti" ], "summary": "Vrste plačil", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KpfVrstaPlacilaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPFSifranti/skupinaVrsteKnjigPF": { "get": { "tags": [ "KPFSifranti" ], "summary": "Vrne seznam skupin vrst knjig prejetih faktur", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkupinaVrsteKnjigPFResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/KPFSifranti/delitevPoSM": { "get": { "tags": [ "KPFSifranti" ], "summary": "Vrne seznam ključev za delitev po SM med knjiženjem faktur", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelitevSMResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPodpis/test": { "get": { "tags": [ "MPodpis" ], "responses": { "200": { "description": "Success" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/api/v1/MPodpis/documentList": { "post": { "tags": [ "MPodpis" ], "summary": "Pridobi seznam dokumentov za potrditev", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentMPodpisListRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MPodpisDocumentList" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPodpis/setSignature": { "post": { "tags": [ "MPodpis" ], "summary": "Podpisi dokument", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodpisActionRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PodpisActionResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPotrdi/test": { "get": { "tags": [ "MPotrdi" ], "responses": { "200": { "description": "Success" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/api/v1/MPotrdi/documentList": { "post": { "tags": [ "MPotrdi" ], "summary": "Pridobi seznam dokumentov za potrditev", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentListRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MPotrdiDocumentList" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPotrdi/finishedDocumentList": { "post": { "tags": [ "MPotrdi" ], "summary": "Pridobi seznam zaključenih dokumentov", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentListRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MPotrdiDocumentList" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPotrdi/documentContent": { "post": { "tags": [ "MPotrdi" ], "summary": "Pridobi vsebino dokumenta", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MPotrdiDocumentContent" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPotrdi/confirmDocument": { "post": { "tags": [ "MPotrdi" ], "summary": "Potrdi dokument", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentActionRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentActionResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/MPotrdi/rejectDocument": { "post": { "tags": [ "MPotrdi" ], "summary": "Zavrni dokument", "requestBody": { "description": "Podatki za filter", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentActionRequest" } } } }, "responses": { "200": { "description": "Podatki uspešno pridobljeni", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DocumentActionResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Param/seznam": { "get": { "tags": [ "Param" ], "summary": "Seznam parov parametrov programov", "parameters": [ { "name": "Program", "in": "query", "description": "Ime programa", "schema": { "type": "string" } }, { "name": "Parametri", "in": "query", "description": "Par parametri programa\r\n JSON (Url encoded): \r\n\r\n {\r\n \"Program\" : \"\", \r\n \"Param\" : \"\"\r\n }\r\n\r\nProgram: Ime programa\r\nParam: Naziv parametra", "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ParamResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." }, "404": { "description": "V skupnih parametrih ni nastavljeno uporabniško ime ali geslo za VPI." }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec": { "get": { "tags": [ "Place" ], "summary": "Seznam delavcev", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra delavca (VascoID):\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "TujaSifra", "in": "query", "description": "Tuja šifra delavca (HrmID):\r\nOPCIJA 1: več tujih šifer ločite z vejico (tujaSifra_1,tujaSifra_2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: tujo šifro lahko vnesete kot TUJASIFRA_OD..TUJASIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DruzinskiClani", "in": "query", "description": "1: vrača družinske člane\r\n0 ali prazno: ne vrača družinske člane", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDelavecResponse" } } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "Place" ], "summary": "Vnos novega delavca (Insert).", "requestBody": { "description": "Podatki delavca za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDelavecPostBaseRequest" } } } }, "responses": { "201": { "description": "Delavec uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDelavecPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Delavec s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Place" ], "summary": "Ažuriranje obstoječega delavca (Update)", "requestBody": { "description": "Podatki delavca za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDelavecPutRequest" } } } }, "responses": { "200": { "description": "Delavec uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delavec ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "Place" ], "summary": "Brisanje delavca (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra delavca (VascoID)", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "tujaSifra", "in": "query", "description": "Tuja šifra delavca (HrmID)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Delavec uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delavec ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Delavec v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/polja": { "get": { "tags": [ "Place" ], "summary": "Vrne seznam aktivnih polj baze za glavo delavca", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavecBase": { "put": { "tags": [ "Place" ], "summary": "Delno ažuriranje obstoječega delavca (Update)", "requestBody": { "description": "Šifra delavca in določeni dodatni podatki delavca za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDelavecBasePutRequest" } } } }, "responses": { "200": { "description": "Delavec uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delavec ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/DruzinskiClan": { "get": { "tags": [ "Place" ], "summary": "Seznam družinskih članov delavca", "parameters": [ { "name": "Delavec", "in": "query", "description": "Šifra delavca (VascoID):\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "DelavecTujaSifra", "in": "query", "description": "Tuja šifra delavca (HrmID):\r\nOPCIJA 1: več tujih šifer ločite z vejico (tujaSifra1,tujaSifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: tujo šifro lahko vnesete kot TUJASIFRA1_OD..TUJASIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Davcna", "in": "query", "description": "Davčna številka družinskega člana delavca (TaxNumberID):\r\nOPCIJA 1: več davčnih številk ločite z vejico (DAVCNA_1,DAVCNA_2,...). Max 100 davčnih v enem klicu.\r\nOPCIJA 2: davčno lahko vnesete kot DAVCNA_OD..DAVCNA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Id", "in": "query", "description": "Unikaten ID druž. delavca", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecDruzClaniResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "Place" ], "summary": "Vnos družinskega člana delavca (Insert)", "requestBody": { "description": "Podatki družinskega člana delavca za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDruzClaniPostBaseRequest" } } } }, "responses": { "201": { "description": "Družinski član uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDruzClaniPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Družinski član z davčno že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Place" ], "summary": "Ažuriranje obstoječega druž. člana delavca (Update)", "requestBody": { "description": "Podatki druž. člana za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDruzClaniPutRequest" } } } }, "responses": { "200": { "description": "Družinski član uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Družinski član delavca ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "Place" ], "summary": "Brisanje družinskega člana delavca (Delete)", "parameters": [ { "name": "id", "in": "query", "description": "Unikaten id družinskega člana delavca (DependentUniqueID)", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Družinski član uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Družinski član ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Družinski član v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/ObracunskiPodatki": { "post": { "tags": [ "Place" ], "summary": "Vnos obračunskih podatkov (Insert)", "requestBody": { "description": "Vnos obračunskih podatkov", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecObracunskiPodatkiPostRequest" } } } }, "responses": { "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Obračunski podatki uspešno vnešeni." } } } }, "/api/v1/Place/delavec/ObracunskiPodatkiNastavitve": { "get": { "tags": [ "Place" ], "summary": "Nastavitve obračunskih podatkov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecObracunskiPodatkiNastavitveResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/DelavecGetObracunskiPodatki": { "get": { "tags": [ "Place" ], "summary": "Obračunski podatki delavca", "parameters": [ { "name": "Delavec", "in": "query", "description": "Šifra delavca (VascoID)", "schema": { "type": "integer", "format": "int32" } }, { "name": "DelavecTujaSifra", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecObracunskiPodatkiVrednostiResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/DelezMD": { "post": { "tags": [ "Place" ], "summary": "Vnos novega deleža MD za delavca (Insert).", "requestBody": { "description": "Podatki delavca in podatkov za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDelezMD" } } } }, "responses": { "201": { "description": "delež MD uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Za delavca in datum že obstaja zapis v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Place" ], "summary": "Ažuriranje zapisa deleža Md za delavca (Update)", "requestBody": { "description": "Podatki delavca in datum\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDelezMD" } } } }, "responses": { "200": { "description": "Delež MD uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delež MD ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "get": { "tags": [ "Place" ], "summary": "Seznam deležev MD za delavca", "parameters": [ { "name": "Delavec", "in": "query", "description": "Šifra delavca (VascoID)", "schema": { "type": "integer", "format": "int32" } }, { "name": "DelavecTujaSifra", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDelezMDResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "Place" ], "summary": "Brisanje deleža MD delavca(Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra deleža MD delavca", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "tujaSifra", "in": "query", "description": "Tuja šifra delavca (HrmID)", "schema": { "type": "string" } }, { "name": "datum", "in": "query", "description": "DAtum deleža MD za delavca", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Delovno mesto uspešno brisano." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delež MD ne obstaja ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Delež MD je v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/SteviloZaposelnih": { "get": { "tags": [ "Place" ], "summary": "Vrne število zaposlenih", "parameters": [ { "name": "Leto", "in": "query", "description": "Leto", "schema": { "type": "integer", "format": "int32" } }, { "name": "OdMeseca", "in": "query", "description": "OdMeseca", "schema": { "type": "integer", "format": "int32" } }, { "name": "DoMeseca", "in": "query", "description": "DoMeseca", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SteviloZaposlenihResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/invalidnost": { "post": { "tags": [ "Place" ], "summary": "Vnos nove invalidnosti delavca (Insert).", "requestBody": { "description": "Podatki invalidnosti delavca za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecInvalidnostPostRequest" } } } }, "responses": { "201": { "description": "Invalidnost delavca uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecInvalidnostPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Place" ], "summary": "Ažuriranje invalidnosti delavca (Update)", "requestBody": { "description": "Podatki invalidnosti delavca", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecInvalidnostPutRequest" } } } }, "responses": { "200": { "description": "Invalidnost delavca uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Invalidnost delavca ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/invalidnost/{delavec}": { "get": { "tags": [ "Place" ], "summary": "Seznam invalidnosti delavca", "parameters": [ { "name": "delavec", "in": "path", "description": "šifra delavca", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KeDelavecInvalidnostResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/zdrPregled": { "post": { "tags": [ "Place" ], "summary": "Vnos novega zdr. pregleda delavca (Insert).", "requestBody": { "description": "Podatki zdr. pregleda delavca za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecZdrPregledPostRequest" } } } }, "responses": { "201": { "description": "Zdr. pregled delavca uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecZdrPregledPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Place" ], "summary": "Ažuriranje zdr. pregleda delavca (Update)\r\nSamo polja Izvajalec, Rezultat in datum naslednji pregled.", "requestBody": { "description": "Podatki zdr. pregleda", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KeDelavecZdrPregledPutRequest" } } } }, "responses": { "200": { "description": "Zdr. pregled delavca uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Zdr. pregled delavca ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/delavec/zdrPregled/{delavec}": { "get": { "tags": [ "Place" ], "summary": "Seznam zdr. pregledi delavca", "parameters": [ { "name": "delavec", "in": "path", "description": "šifra delavca", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KeDelavecZdrPregledResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/odsotnosti/LOA": { "get": { "tags": [ "Place" ], "summary": "Seznam daljših odsotnosti (Leave of absence LOA)", "parameters": [ { "name": "Obdobje", "in": "query", "description": "Obdobje (period):\r\nMesec skupaj z letom v obliki m.llll, npr. 1.2019. MESEC IN LETO OBDOBJA se vedno vnašata skupaj npr. 1.2019.", "required": true, "schema": { "type": "string" } }, { "name": "SifraVP", "in": "query", "description": "Šifra vrste plačila:\r\nOPCIJA 1: več vp-jev ločite z vejico (SifraVP1,SifraVP2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro vp lahko vnesete kot SIFRAVP_OD..SIFRAVP_DO. Primer: 1..600", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlOdsotnostLOAResponse" } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/odsotnosti/TimeOff": { "get": { "tags": [ "Place" ], "summary": "Seznam odsotnosti dopusti, bolniške (Time off absences)", "parameters": [ { "name": "Obdobje", "in": "query", "description": "Obdobje (period):\r\nMesec skupaj z letom v obliki m.llll, npr. 1.2019. MESEC IN LETO OBDOBJA se vedno vnašata skupaj npr. 1.2019.", "required": true, "schema": { "type": "string" } }, { "name": "SifraVP", "in": "query", "description": "Šifra vrste plačila:\r\nOPCIJA 1: več vp-jev ločite z vejico (SifraVP1,SifraVP2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro vp lahko vnesete kot SIFRAVP_OD..SIFRAVP_DO. Primer: 1..600", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlOdsotnostResponse" } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/obracuni/{datum}": { "get": { "tags": [ "Place" ], "summary": "Seznam delavcev, ki imajo obračun na določen dan", "parameters": [ { "name": "datum", "in": "path", "description": "Datum obračuna (llll-mm-dd)", "required": true, "schema": { "type": "string", "format": "date-time", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlaceResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/obracuni/datumi": { "get": { "tags": [ "Place" ], "summary": "Seznam datumov obračunov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string", "format": "date-time" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/obracuni/delavci/{datum}": { "get": { "tags": [ "Place" ], "summary": "Seznam obračunskih list na določen dan in za določene delavce", "parameters": [ { "name": "datum", "in": "path", "description": "Datum obračuna (llll-mm-dd)", "required": true, "schema": { "type": "string", "format": "date-time", "default": null } }, { "name": "delavci", "in": "query", "description": "Seznam delavcev določen z šiframi (sifra1,sifra2,...)", "schema": { "type": "string" } }, { "name": "kriptiraj", "in": "query", "description": "1: Kriptira vsebino obračunski list\r\n0 ali prazno: ne kriptira vsebine", "schema": { "type": "integer", "format": "int32" } }, { "name": "spustiObrListeZNiclo", "in": "query", "description": "1: Spusti obr. liste z ničlo (ni izplačila)\r\n0 ali prazno: vrača tudi obr. liste z ničlo (ni izplačila)", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlaceDelavecDokResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatki ne obstajajo.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/dohodnina/{leto}": { "get": { "tags": [ "Place" ], "summary": "Seznam delavcev, ki imajo obvestila za dohodnino na določeno leto", "parameters": [ { "name": "leto", "in": "path", "description": "Leto za dohodnino", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DohodninaDelavecResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/dohodnina/delavci/{leto}": { "get": { "tags": [ "Place" ], "summary": "Seznam obvestil za dohodnino na določeno leto in za določene delavce", "parameters": [ { "name": "leto", "in": "path", "description": "Leto za dohodnino", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "delavci", "in": "query", "description": "Seznam delavcev določen z šiframi (sifra1,sifra2,...)", "schema": { "type": "string" } }, { "name": "kriptiraj", "in": "query", "description": "1: Kriptira vsebino obvestil za dohodnino\r\n0 ali prazno: ne kriptira vsebine", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DohodninaDelavecDokResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Place/ePrisotnost": { "get": { "tags": [ "Place" ], "summary": "Seznam paketov za ePrisotnost", "parameters": [ { "name": "Id", "in": "query", "description": "Id paketa - obračuna", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EPrisotnostResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "Place" ], "summary": "Vnos paketa za ePrisotnost (Insert)", "requestBody": { "description": "Paket s podatki za pripravo obračun.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EPrisotnostPostRequest" } } } }, "responses": { "201": { "description": "Paket uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EPrisotnostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Paket že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/delavec": { "get": { "tags": [ "PlaceDan" ], "summary": "Seznam delavcev", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra delavca (VascoID):\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Kateri", "in": "query", "description": "Vrni katere delavce:\r\nnull ali 0: samo delavci, ki se prenašajo v program Plače (Privzeto). \r\n1: se ne prenašajo v program plače \r\n2: vsi delavci", "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanDelavecResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/delavci": { "post": { "tags": [ "PlaceDan" ], "summary": "Vnos ali ažuriranje delavcev.", "requestBody": { "description": "Podatki delavcev.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanDelavecPostRequest" } } } }, "responses": { "201": { "description": "Delavec uspešno vnešen/posodobljen." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek-sifrant ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "409": { "description": "Delavec s šifro že obstaja." } } } }, "/api/v1/PlaceDan/delavci/spremeniSifro": { "post": { "tags": [ "PlaceDan" ], "summary": "Spremeni šifro delavcev.", "requestBody": { "description": "Par-i: stara in nova šifra delavcev.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanDelavecSpremeniSifroPostRequest" } } } }, "responses": { "200": { "description": "Success" }, "201": { "description": "Delavec šifra uspešno posodobljena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek-sifrant ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "409": { "description": "Delavec s novo šifro že obstaja." } } } }, "/api/v1/PlaceDan/delavci/vnosDopusta": { "post": { "tags": [ "PlaceDan" ], "summary": "Vnesi dopust za delavce", "requestBody": { "description": "Šifre delavcev, uprajena z njihovim preteklim in tekočim dopustom", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanDelavecVnesiDopustRequest" } } } }, "responses": { "200": { "description": "Success" }, "201": { "description": "Delavec šifra uspešno posodobljena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Podatek-sifrant ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "409": { "description": "Delavec s novo šifro že obstaja." } } } }, "/api/v1/PlaceDan/koledarDelCas": { "get": { "tags": [ "PlaceDan" ], "summary": "Koledar - delovni čas delavcev", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanKoledarResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceDan" ], "summary": "Vnos koledarja delovni čas delavcev (Insert).", "requestBody": { "description": "Podatki koledarja - delovni čas za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanKoledarPostRequest" } } } }, "responses": { "201": { "description": "Koledar uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanKoledarPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/zacetekEvidentiranja": { "get": { "tags": [ "PlaceDan" ], "summary": "Datum začetka evidentiranja v eDan", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "string", "format": "date-time" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dokument/glava": { "get": { "tags": [ "PlaceDan" ], "summary": "Dokumenti delavca brez vsebine", "parameters": [ { "name": "DelavecSifra", "in": "query", "description": "Šifra delavca (VascoID):\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanDokumentGlavaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dokument/bolniskiListi": { "get": { "tags": [ "PlaceDan" ], "summary": "Bolniški listi od datuma (privzeto za 1 leto) brez vsebine", "parameters": [ { "name": "OdDatuma", "in": "query", "description": "Od datuma bol. lista", "schema": { "type": "string", "format": "date-time" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanDokumentGlavaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dokument/vsebina": { "get": { "tags": [ "PlaceDan" ], "summary": "Dokumenti delavca z vsebino", "parameters": [ { "name": "AutoId", "in": "query", "description": "Id dokumenta z vsebino v primeru, da želiš točno določen dokument", "schema": { "type": "integer", "format": "int32" } }, { "name": "DelavecSifra", "in": "query", "description": "Šifra delavca (VascoID):\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanDokumentResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dokument": { "post": { "tags": [ "PlaceDan" ], "summary": "Vnos dokumenta (Insert).", "requestBody": { "description": "Podatki dokument za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanDokumentPostRequest" } } } }, "responses": { "201": { "description": "Dokument uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlDanDokumentPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceDan" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dokumenti": { "delete": { "tags": [ "PlaceDan" ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, "application/*+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlDanDokumentDeleteResponse" } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceDan/dogodkiVP": { "get": { "tags": [ "PlaceDan" ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPResponse" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } }, "post": { "tags": [ "PlaceDan" ], "requestBody": { "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPRequest" } } } }, "responses": { "200": { "description": "Success" }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/api/v1/PlaceDan/obracunUre": { "get": { "tags": [ "PlaceDan" ], "parameters": [ { "name": "Mesec", "in": "query", "description": "Mesec obračuna", "schema": { "type": "integer", "format": "int32" } }, { "name": "Leto", "in": "query", "description": "Leto obračuna", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DanDogodkiVPResponse" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/api/v1/PlaceSifranti/tipiVrstPlacil": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Tipi vrst plačil", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlTipVrPlaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/vrstePlacil": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Vrste plačil", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlVrPlaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/sifranti/delovnoMesto": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam delovnih mest delovca", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecDelovnoMesto" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos novega delovnega mesta delavca (Insert).", "requestBody": { "description": "Podatki delavca in podatkov za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDelovnoMesto" } } } }, "responses": { "201": { "description": "delovno mesto uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Za delavca in datum že obstaja zapis v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje zapisa delovno mesta delavca (Update)", "requestBody": { "description": "Podatki delavca in datum\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DelavecDelovnoMesto" } } } }, "responses": { "200": { "description": "Družinski član uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "delovno mestone obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje delovnega mesta (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra delovnega mesta", "schema": { "type": "integer", "format": "int32", "default": 0 } } ], "responses": { "200": { "description": "Delovno mesto uspešno brisano." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Delovno mesto ne obstaja ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Delovno mesto v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/zdrPregled": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Tipi zdr. pregledov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KeZdrPregledResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/banka": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam bank", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/BankaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/placniRazred": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Plačni razredi", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlPlacniRazredResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/obcina": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam občin", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra občine", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlObcinaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove občine (Insert).", "requestBody": { "description": "Podatki občine za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlObcinaPostRequest" } } } }, "responses": { "201": { "description": "Občina uspešno vnešna.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlObcinaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje občine (Update)", "requestBody": { "description": "Podatki občine", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlObcinaPutRequest" } } } }, "responses": { "200": { "description": "Občina uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Občina ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje občine (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra občine", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Občina uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Občina ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Občina v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/relacija": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam relacij", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlRelacijaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove relacije (Insert).", "requestBody": { "description": "Podatki relacije za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlRelacijaPostRequest" } } } }, "responses": { "201": { "description": "Relacija uspešno vnešna.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlRelacijaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje relacije (Update)", "requestBody": { "description": "Podatki relacije", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlRelacijaPutRequest" } } } }, "responses": { "200": { "description": "Relacija uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Relacija ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje relacije (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra relacije", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Relacija uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Relacija ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Relacija v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/klasifikacija1": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam klasifikacija-1", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlKlasifikacijaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove klasifikacije 1 (Insert).", "requestBody": { "description": "Podatki za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostRequest" } } } }, "responses": { "201": { "description": "Klasifikacija-1 uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje klasifikacije-1 (Update)", "requestBody": { "description": "Podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPutRequest" } } } }, "responses": { "200": { "description": "Klasifikacija-1 uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-1 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje klasifikacija-1 (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra klasifikacija-1", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Klasifikacija-1 uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-1 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Klasifikacija-1 v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/klasifikacija2": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam klasifikacija-2", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlKlasifikacijaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove klasifikacije 2 (Insert).", "requestBody": { "description": "Podatki za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostRequest" } } } }, "responses": { "201": { "description": "Klasifikacija-2 uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje klasifikacije-2 (Update)", "requestBody": { "description": "Podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPutRequest" } } } }, "responses": { "200": { "description": "Klasifikacija-2 uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-2 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje klasifikacija-2 (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra klasifikacija-2", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Klasifikacija-2 uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-2 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Klasifikacija-2 v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/klasifikacija3": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam klasifikacija-3", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlKlasifikacijaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove klasifikacije-3 (Insert).", "requestBody": { "description": "Podatki za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostRequest" } } } }, "responses": { "201": { "description": "Klasifikacija-3 uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje klasifikacije-3 (Update)", "requestBody": { "description": "Podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPutRequest" } } } }, "responses": { "200": { "description": "Klasifikacija-3 uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-3 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje klasifikacija-3 (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra klasifikacija-3", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Klasifikacija-3 uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-3 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Klasifikacija-3 v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PlaceSifranti/klasifikacija4": { "get": { "tags": [ "PlaceSifranti" ], "summary": "Seznam klasifikacija-4", "parameters": [ { "name": "sifra", "in": "query", "description": "šifra", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlKlasifikacijaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "PlaceSifranti" ], "summary": "Vnos nove klasifikacije-4 (Insert).", "requestBody": { "description": "Podatki za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostRequest" } } } }, "responses": { "201": { "description": "Klasifikacija-4 uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPostResponse" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Zapis že obstaja v bazi", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "PlaceSifranti" ], "summary": "Ažuriranje klasifikacije-4 (Update)", "requestBody": { "description": "Podatki", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlKlasifikacijaPutRequest" } } } }, "responses": { "200": { "description": "Klasifikacija-4 uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-4 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "delete": { "tags": [ "PlaceSifranti" ], "summary": "Brisanje klasifikacija-4 (Delete)", "parameters": [ { "name": "sifra", "in": "query", "description": "Šifra klasifikacija-4", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Klasifikacija-4 uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Klasifikacija-4 ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Klasifikacija-4 v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/potniNalog": { "get": { "tags": [ "PN" ], "summary": "Seznam potnh nalogov", "parameters": [ { "name": "DatumOd", "in": "query", "description": "Datum potnega naloga od", "schema": { "type": "string", "format": "date-time" } }, { "name": "DatumDo", "in": "query", "description": "Datum potnega naloga do", "schema": { "type": "string", "format": "date-time" } }, { "name": "StevilkaOd", "in": "query", "description": "Številka potnega naloga od \r\nštevilka skupaj z letom v obliki stevika.leto, npr. 1.2019. \r\nŠtevilka od mora biti manjše vrednosti kot stevilka do.", "schema": { "type": "string" } }, { "name": "StevilkaDo", "in": "query", "description": "Številka potnega naloga do\r\nštevilka skupaj z letom v obliki stevika.leto, npr. 9.2019.\r\nŠtevilka do mora biti večje vrednosti kot stevilka od.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PNResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/potniNalog/vsebina/{stevilka}/{leto}": { "get": { "tags": [ "PN" ], "summary": "Vrne PDF vsebino računa", "parameters": [ { "name": "stevilka", "in": "path", "description": "Številka potnega naloga", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "leto", "in": "path", "description": "Leto potnega naloga", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Dokument uspešno pridobljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNDokResponse" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/sm": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih stroškovnih mest (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam stroškovnih mest za vnos", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNSMPNSeznamRequestDodatnaPolja" } } } }, "responses": { "200": { "description": "Stroškovna mesta uspešno vnešena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/sm2": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih stroškovnih mest 2 (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam stroškovnih mest 2 za vnos", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNSMPNSeznamRequestDodatnaPolja" } } } }, "responses": { "200": { "description": "Stroškovna mesta uspešno vnešena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/vrstePlacil": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih vrst plačila (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam vrst plačil", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNVrstaPlacilaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Vrste plačil uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/blokade": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih blokad popravljanja nalogov (Insert)\r\nVpiše samo blokade, ki so novejše od zadnje v bazi\r\nOmejitev: 50", "requestBody": { "description": "Seznam blokad za vnos", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNBlokadaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Blokade uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/skupine": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih skupin delavcev (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam skupin", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNSkupinaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Skupine uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/relacije": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih relacij (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam relacij", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNRelacijaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Relacije uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/naloge": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih nalog (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam nalog", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNNalogaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Naloge uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/vozila": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih vozil (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 20", "requestBody": { "description": "Seznam vozil", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNVoziloPNSeznamRequest" } } } }, "responses": { "200": { "description": "Vozila uspešno vnešena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/delavci": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih delavcev (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 20", "requestBody": { "description": "Seznam delavcev", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNDelavecPNSeznamRequest" } } } }, "responses": { "200": { "description": "Delavci uspešno vnešeni." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/delavciUpdate": { "post": { "tags": [ "PN" ], "summary": "Osveževanje podatkov delavcev (Insert/Update)\r\nObstoječe šifre popravlja vendar samo polja, ki imajo vrednost v vhodni zahtevi\r\nOmejitev: 20", "requestBody": { "description": "Seznam delavcev", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNDelavecPNSeznamRequest" } } } }, "responses": { "200": { "description": "Delavci uspešno vnešeni." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/stroski": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih stroškov (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 50", "requestBody": { "description": "Seznam stroškov", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNStrosekPNSeznamRequest" } } } }, "responses": { "200": { "description": "Stroški uspešno vnešeni." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/temeljnice": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih oblik temeljnic (Insert)\r\nMorebitne obstoječe šifre ne popravlja\r\nOmejitev: 10", "requestBody": { "description": "Seznam oblik temeljnic", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNTemeljnicaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Oblike temeljnic uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/parametri": { "post": { "tags": [ "PN" ], "summary": "Vnos in popravljanje parametrov programa ePN (Insert)\r\nSkupnih parametrov, ki že obstajajo ne spreminja\r\nOmejitev: 50", "requestBody": { "description": "Seznam parametrov", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNParameterPNSeznamRequest" } } } }, "responses": { "200": { "description": "Parametri uspešno vnešeni." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/dnevnice": { "post": { "tags": [ "PN" ], "summary": "Vnos manjkajočih vrednosti dnevnic (Insert)\r\nMorebitne obstoječe datume ne popravlja\r\nDržava in valuta za dnevnice morata obstajati v šifrantu držav in valut\r\nOmejitev: 20", "requestBody": { "description": "Seznam dnevnic", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNDnevnicaPNSeznamRequest" } } } }, "responses": { "200": { "description": "Dnevnice uspešno vnešene." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/nalogi": { "post": { "tags": [ "PN" ], "summary": "Vnos nalogov (Insert)\r\nMorebitne obstoječe številke ne popravlja\r\nOmejitev: 10", "requestBody": { "description": "Seznam nalogov", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNNalogPNSeznamRequest" } } } }, "responses": { "200": { "description": "Nalogi uspešno vnešeni. Vrne seznam številk dodanih nalogov.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PNNalogStevilkaLeto" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/priloga": { "post": { "tags": [ "PN" ], "summary": "Vnos priloge za nalog (Insert)", "requestBody": { "description": "Priloga naloga", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PNNalogPriloga" } } } }, "responses": { "200": { "description": "Priloga uspešno vnešena." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/PN/placeNalogi": { "post": { "tags": [ "PN" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrenosVPlaceFilterModel" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebResponseModel" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Server Error" } } } }, "/api/v1/Priloge/mapa": { "get": { "tags": [ "Priloge" ], "summary": "Seznam map", "parameters": [ { "name": "EVascoMape", "in": "query", "description": "Ali vrne samo EVasco mape", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogeMapaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "Priloge" ], "summary": "Vnos mape (Insert)", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeMapaPostRequest" } } } }, "responses": { "201": { "description": "Mapa uspešno vnešena.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeMapaPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Mapa s podano šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "Priloge" ], "summary": "Ažuriranje mape (Update)", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeMapaPutRequest" } } } }, "responses": { "200": { "description": "Mapa uspešno ažurirana." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/mapa/{sifra}": { "delete": { "tags": [ "Priloge" ], "summary": "Brisanje mape (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra mape", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Mapa uspešno brisana." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Mapa ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Mapa je v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/dokument": { "get": { "tags": [ "Priloge" ], "summary": "Seznam dokumentov", "parameters": [ { "name": "SifraMape", "in": "query", "description": "Šifra mape\r\nČe je vrednost 0, potem virtualna mapa 'OSTALO'", "schema": { "type": "integer", "format": "int32" } }, { "name": "ImePrograma", "in": "query", "description": "Ime programa: eVasco, ePRIS, KPFW, PLACE, GK ...", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogeDokumentResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "Priloge" ], "summary": "Vnos dokumenta (Insert)", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeDokumentPostRequest" } } } }, "responses": { "201": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeDokumentPostResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Dodajanje ni dovoljeno", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "200": { "description": "Dokument uspešno dodan." }, "404": { "description": "Dokument ne obstaja." } } } }, "/api/v1/Priloge/dokumentIskanje": { "get": { "tags": [ "Priloge" ], "summary": "Iskanje dokumentov", "parameters": [ { "name": "SKEN_POSTA_PROSTO_C1", "in": "query", "description": "Prosto polje na skenirani pošti PROSTO_C1", "schema": { "type": "string" } }, { "name": "SKEN_POSTA_PROSTO_C2", "in": "query", "description": "Prosto polje na skenirani pošti PROSTO_C2", "schema": { "type": "string" } }, { "name": "SKEN_POSTA_PROSTO_C3", "in": "query", "description": "Prosto polje na skenirani pošti PROSTO_C3", "schema": { "type": "string" } }, { "name": "SKEN_POSTA_PROSTO_C4", "in": "query", "description": "Prosto polje na skenirani pošti PROSTO_C4", "schema": { "type": "string" } }, { "name": "Simbol", "in": "query", "description": "Simbol za iskanje. \"=\", \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nPrivzeto je \"=\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogeDokumentResponse2" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/dokumentVsebina": { "get": { "tags": [ "Priloge" ], "summary": "Vsebina dokumenta", "parameters": [ { "name": "DocId", "in": "query", "description": "Šifra dokumenta", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Vsebinas uspešno pridobljena.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogeDokumentVsebinaResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/dokument/{dokId}": { "delete": { "tags": [ "Priloge" ], "summary": "Brisanje dokumenta (Delete)", "parameters": [ { "name": "dokId", "in": "path", "description": "Šifra dokumenta", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "shranjene", "in": "query", "description": "Ali briše tudi shranjene", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "Dokument uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Dokument ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Brisanje ni dovoljeno (dokument je shranjen)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/dokument/linkMapa": { "post": { "tags": [ "Priloge" ], "summary": "Poveži dokument v mapo (Insert)", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeDokumentMapaPostRequest" } } } }, "responses": { "200": { "description": "Dokument uspešno dodan v mapo." }, "400": { "description": "Dokument ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Povezovanje ni dovoljeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Priloge/dokument/link": { "post": { "tags": [ "Priloge" ], "summary": "Poveži dokument (Insert)", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PrilogeDokumentLinkRequest" } } } }, "responses": { "200": { "description": "Dokument uspešno povezan." }, "400": { "description": "Dokument ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Povezovanje ni dovoljeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkenDokument/GetDokumentiPoMapi": { "get": { "tags": [ "SkenDokument" ], "summary": "Seznam dokumentov v mapi", "parameters": [ { "name": "SifraMapa", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "PrejemOD", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "PrejemDO", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "DokumentOD", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "DokumentDO", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "Opis", "in": "query", "schema": { "type": "string" } }, { "name": "PROSTO_C1", "in": "query", "schema": { "type": "string" } }, { "name": "PROSTO_C2", "in": "query", "schema": { "type": "string" } }, { "name": "PROSTO_C3", "in": "query", "schema": { "type": "string" } }, { "name": "PROSTO_C4", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SkenDokumentDokumentiResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/neobdelaniPartner": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam neobdelanih partnerjev", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PartnerSinhResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/partnerSinhPotrditev": { "post": { "tags": [ "SkupniSifranti" ], "summary": "Potrditev obdelave za sinhonizacijo partnerjev", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PartnerPotrditevAutoIds" } } } }, "responses": { "200": { "description": "Potrditev zapisa/ov v sinhronizaciji partnerja uspešno." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/neobdelaneProdajalne": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam neobdelanih prodajaln", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProdajalnaSinhResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/prodajalnaSinhPotrditev": { "post": { "tags": [ "SkupniSifranti" ], "summary": "Potrditev obdelave za sinhonizacijo prodajaln", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProdajalnaPotrditevAutoIds" } } } }, "responses": { "200": { "description": "Potrditev zapisa/ov v sinhronizaciji prodajaln uspešnn." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/neobdelaniArtikli": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam neobdelanih artiklov", "parameters": [ { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment neobdelanih artiklov glede na segmentSize. Primer: 1 je prvih 50000 (ali manj glede na segmentSize) neobdelanih artiklov, 2 naslednjih 50000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. neobdelanih artiklov za rezultat. Če vrednost ni podana je privzeta omejitev 50000, kar je lahko tudi največ glede na posamezen segment neobdelanih artiklov.", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArtikelSinhResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/artikelSinhPotrditev": { "post": { "tags": [ "SkupniSifranti" ], "summary": "Potrditev obdelave za sinhonizacijo artiklov", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ArtikelPotrditevAutoIds" } } } }, "responses": { "200": { "description": "Potrditev zapisa/ov v sinhronizaciji artikla/ov uspešno." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/seznamArtikelBarve": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam seznam barv artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FA_ART_BARVA" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/seznamArtikelVelikosti": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam seznam velikosti artiklov", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FA_ART_VELIKOST" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/neobdelanaZaloga": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam sprememb zaloge", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ZalogaSinhResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/zalogaSinhPotrditev": { "post": { "tags": [ "SkupniSifranti" ], "summary": "Potrditev obdelave za sinhonizacijo zaloge", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ZalogaPotrditevAutoIds" } } } }, "responses": { "200": { "description": "Potrditev zapisa/ov v sinhronizaciji zaloge uspešen." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/partner": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Seznam partnerjev", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra partnerja:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). Max 100 šifer v enem klicu.\r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..1000", "schema": { "type": "string" } }, { "name": "Ident", "in": "query", "description": "Identifikacijska partnerja - več identifikacijskih številk ločite z vejico (ident1,ident2,...). Max 100 identov v enem klicu.\r\nIdent mora biti vnešen, v kolikor ni vnešena šifra ali davčna št.", "schema": { "type": "string" } }, { "name": "Davcna", "in": "query", "description": "Davčna partnerja - več davčnih številk ločite z vejico (davcna1,davcna2,...). Max 100 davčnih v enem klicu.\r\nDavčna mora biti vnešena, v kolikor ni vnešena šifra ali ident.", "schema": { "type": "string" } }, { "name": "EMail", "in": "query", "description": "E-mail naslov partnerja", "schema": { "type": "string" } }, { "name": "DelnoIskanjeEMail", "in": "query", "description": "Delno iskanje po E-mail naslovu partnerja", "schema": { "type": "boolean" } }, { "name": "Naziv", "in": "query", "description": "Naziv partnerja (vrne partnerje, ki vsebujejo to vrednost v nazivu)", "schema": { "type": "string" } }, { "name": "VrniTrr", "in": "query", "description": "1: vrača trr podatke\r\n0 ali prazno: ne vrne trr podatke", "schema": { "type": "integer", "format": "int32" } }, { "name": "VrniProdajalne", "in": "query", "description": "1: vrača prodajalne partnerja\r\n0 ali prazno: ne vrne prodajaln partnerja", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnaPoljaProdajalna", "in": "query", "description": "Dodatna polja za postavke - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } }, { "name": "Segment", "in": "query", "description": "Podan segment, ki vrne naslednji segment partnerjev glede na segmentSize. Primer: 1 je prvih 10000 (ali manj glede na segmentSize) partnerjev, 2 naslednjih 10000, itd.", "schema": { "type": "integer", "format": "int32" } }, { "name": "SegmentSize", "in": "query", "description": "Št. partnerjev za rezultat. Če vrednost ni podana je privzeta omejitev 10000, kar je lahko tudi največ glede na posamezen segment partnerjev.", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PartnerResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } }, "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega partnerja (Update)", "requestBody": { "description": "Podatki partnerja za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).\r\n Če želite ažurirati samo določena polja, uporabite klic funkcije (PUT partner/base).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PartnerPutRequest" } } } }, "responses": { "200": { "description": "Partner uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Partner ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos novega partnerja (Insert)", "requestBody": { "description": "Podatki partnerja za vnos.\r\n Če je tip številčenja 0, potem morate vnesti šifro za partnerja.\r\n Če je tip številčenja 1, potem morate za šifro partnerja vnesti 0 (dodeljena bo naslednja prosta šifra)\r\n Če je tip številčenja 2, potem morate za šifro partnerja vnesti 0 (dodeljena bo naslednja prosta šifra v nastavljenem območju). Ta tip številčenja je PRIVZET.\r\n Če je tip številčenja 3, potem je potrebno določiti še območje od do (ObmocjeZaSifroOD - ObmocjeZaSifroDO)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PartnerPostRequest" } } } }, "responses": { "201": { "description": "Partner uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PartnerPostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Partner s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/partner/base": { "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega partnerja (Update)", "requestBody": { "description": "Podatki partnerja za ažuriranje", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PartnerPutBaseRequest" } } } }, "responses": { "200": { "description": "Partner uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Partner ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/partner/{sifra}": { "delete": { "tags": [ "SkupniSifranti" ], "summary": "Brisanje partnerja (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "šifra partnerja", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Partner uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Partner ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Partner v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/partner/polja": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne seznam aktivnih polj baze za partnerja", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/partner/trr/{partner}": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne trr glede na podano šifro partnerja in trr", "parameters": [ { "name": "partner", "in": "path", "description": "Šifra partnerja", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } }, { "name": "stevilkaTrr", "in": "query", "description": "Številka trr. Parameter je lahko brez vrednosti.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Partner uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TrrResponse" } } } } }, "404": { "description": "Partner ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." } } } }, "/api/v1/SkupniSifranti/partner/trr": { "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos novega trr partnerja (Insert)", "requestBody": { "description": "Podatki trr.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TrrRequest" } } } }, "responses": { "201": { "description": "Trr uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TrrRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Trr s šifro partnerja že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/partner/trr/{stevikaTrr}/{partner}": { "delete": { "tags": [ "SkupniSifranti" ], "summary": "Brisanje trr partnerja (Delete)", "parameters": [ { "name": "stevikaTrr", "in": "path", "description": "Trr številka", "required": true, "schema": { "type": "string", "default": null } }, { "name": "partner", "in": "path", "description": "Šifra partnerja", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Trr partnerja uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Trr partnerja ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/polja": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne seznam aktivnih polj baze", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiAktivnaPoljaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/drzava": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne seznam držav", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DrzavaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/valuta": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne seznam valut", "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ValutaResponse" } } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/valuta/tecaj/{valuta}": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Vrne seznam deviznih tečajev za posamezno valuto", "parameters": [ { "name": "valuta", "in": "path", "description": "šifra valute", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ValutaTecajResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Stroškovna mesta", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SMBaseResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos stroškovno mesto (Insert)", "requestBody": { "description": "Podatki stroškovno mesto za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmBasePostRequest" } } } }, "responses": { "201": { "description": "Stroškovno mesto uspešno vnešeno.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmBasePostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Stroškovno mesto s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega sm (Update)", "requestBody": { "description": "Podatki sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmBasePutRequest" } } } }, "responses": { "200": { "description": "Sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm/{sifra}": { "delete": { "tags": [ "SkupniSifranti" ], "summary": "Brisanje sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm2": { "get": { "tags": [ "SkupniSifranti" ], "summary": "2. nivo stroškovnih mest", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SM2BaseResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos 2. nivo stroškovnih mest (Insert)", "requestBody": { "description": "Podatki 2. nivo sm za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2BasePostRequest" } } } }, "responses": { "201": { "description": "2. nivo sm uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2BasePostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "2. nivo sm s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega 2. nivo sm (Update)", "requestBody": { "description": "Podatki 2. nivo sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm2BasePutRequest" } } } }, "responses": { "200": { "description": "2. nivo sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "2. nivo sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm2/{sifra}": { "delete": { "tags": [ "SkupniSifranti" ], "summary": "Brisanje 2. nivo sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra 2. nivo sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "2. nivo Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "2. nivo Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "2. nivo Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm3": { "get": { "tags": [ "SkupniSifranti" ], "summary": "3. nivo stroškovnih mest", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 1..10000", "schema": { "type": "string" } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SM3BaseResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos 3. nivo stroškovnih mest (Insert)", "requestBody": { "description": "Podatki 3. nivo sm za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3BasePostRequest" } } } }, "responses": { "201": { "description": "3. nivo sm uspešno vnešen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3BasePostRequest" } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "3. nivo sm s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega 3. nivo sm (Update)", "requestBody": { "description": "Podatki 3. nivo sm za ažuriranje\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Sm3BasePutRequest" } } } }, "responses": { "200": { "description": "3. nivo sm uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "3. nivo sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/sm3/{sifra}": { "delete": { "tags": [ "SkupniSifranti" ], "summary": "Brisanje 3. nivo sm (Delete)", "parameters": [ { "name": "sifra", "in": "path", "description": "Šifra 3. nivo sm", "required": true, "schema": { "type": "integer", "format": "int32", "default": null } } ], "responses": { "200": { "description": "3. nivo Sm uspešno brisan." }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "3. nivo Sm ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "3. nivo Sm v uporabi, trenutno ni možno brisanje.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/SkupniSifranti/konto": { "get": { "tags": [ "SkupniSifranti" ], "summary": "Kontni plan", "parameters": [ { "name": "Sifra", "in": "query", "description": "Šifra konta:\r\nOPCIJA 1: več šifer ločite z vejico (sifra1,sifra2,...). \r\nOPCIJA 2: šifro lahko vnesete kot SIFRA_OD..SIFRA_DO. Primer: 120..12099", "schema": { "type": "string" } }, { "name": "SaldaKonto", "in": "query", "description": "Salda konto:\r\n0: konto, ki ni saldakontni.\r\n1: konto, ki je saldakontni.\r\nprazno: vsi konti, ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "Devizni", "in": "query", "description": "Devizni konto:\r\n0: konto, ki ni devizni.\r\n1: konto, ki je devizni.\r\nprazno: vsi konti, ne upošteva parametra", "schema": { "type": "integer", "format": "int32" } }, { "name": "DodatnoPoljeFilter", "in": "query", "description": "Filter po dodatnih poljih. JSON (Url encoded): \r\n\r\n {\r\n \"Polje\" : \"STEVILKA\",\r\n \"Simbol\" : \"=\",\r\n \"Vrednost\" : 100\r\n }\r\n\r\nPolje: Naziv dodatnega polja\r\nSimbol: \"=\", \"<>\", \">\", \">=\", \"<\", \"<=\", Samo za tekstovni tip: \"startswith\", \"endswith\", \"contains\", \"notcontains\"\r\nVrednost: Podajte vrednost glede na tip polja", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "DodatnaPolja", "in": "query", "description": "Dodatna polja - vpišite nazive dodatnih polj, ki jih želite pridobiti. Več dodatnih polj ločite z vejico (POLJE_1,POLJE_2,...)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/KontoResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } }, "post": { "tags": [ "SkupniSifranti" ], "summary": "Vnos konta (Insert)", "requestBody": { "description": "Podatki konta za vnos.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KontoBasePostRequest" } } } }, "responses": { "200": { "description": "Success" }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "409": { "description": "Konto s šifro že obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." }, "201": { "description": "Konto uspešno vnešen." } } }, "put": { "tags": [ "SkupniSifranti" ], "summary": "Ažuriranje obstoječega konta (Update)", "requestBody": { "description": "Podatki konta za ažuriranje z dodatnimi polji\r\n Vsa polja modela se upoštevajo pri ažuriranju (tudi če niso podana v JSON).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/KontoBasePutRequest" } } } }, "responses": { "200": { "description": "Konto uspešno ažuriran." }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Dostop do storitve ni dovoljen.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "404": { "description": "Konto ne obstaja.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/Status": { "get": { "tags": [ "Status" ], "summary": "Vrne Status API", "responses": { "200": { "description": "Vrne Status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusResponse" } } } }, "500": { "description": "Interna napaka na strežniku." } } } }, "/api/v1/VPI/partnerji/{taxNumber}": { "get": { "tags": [ "VPI" ], "summary": "Vasco poslovni imenik - vrne seznam partnerjev", "parameters": [ { "name": "taxNumber", "in": "path", "description": "Davčna številka. Več davčnih številk ločite z vejico. Dovoljeno je max 100 davčnih številk na klic", "required": true, "schema": { "type": "string", "default": null } } ], "responses": { "200": { "description": "Seznam uspešno pridobljen.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VPIPartnerResponse" } } } } }, "400": { "description": "Vnešeni podatki so nepopolni. Vrne seznam napak", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "401": { "description": "Dostop do storitve ni avtoriziran (potrebna prijava ali pa ni pravic)." }, "404": { "description": "V skupnih parametrih ni nastavljeno uporabniško ime ali geslo za VPI." }, "500": { "description": "Interna napaka na strežniku." } } } } }, "components": { "schemas": { "ActionResult": { "enum": [ 0, 1 ], "type": "integer", "description": "Rezultat akcije\r\n(0 - Success,\r\n1 - Error)", "format": "int32", "x-enumNames": [ "Success", "Error" ], "x-enum-varnames": [ "Success", "Error" ] }, "ApiAktivnaPoljaResponse": { "type": "object", "properties": { "program": { "type": "string", "nullable": true }, "tabela": { "type": "string", "nullable": true }, "polje": { "type": "string", "nullable": true }, "labela": { "type": "string", "nullable": true }, "sifrant": { "type": "string", "nullable": true }, "tip": { "type": "string", "nullable": true }, "dolzina": { "type": "integer", "format": "int32" }, "mozniVnos": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ArtikelDodatniSifrantResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "prostoI1": { "type": "integer", "format": "int32" }, "prostoI2": { "type": "integer", "format": "int32" }, "prostoR1": { "type": "number", "format": "decimal" }, "prostoR2": { "type": "number", "format": "decimal" }, "prostoD1": { "type": "string", "format": "date-time", "nullable": true }, "prostoD2": { "type": "string", "format": "date-time", "nullable": true }, "prostoC1": { "type": "string", "nullable": true }, "prostoC2": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Model za dodatne sifrante artiklov od 1 do 5" }, "ArtikelDODPutPostBaseRequest": { "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ArtikelDodResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po artiklih dodatno" }, "ArtikelNormativOperacijeResponse": { "type": "object", "properties": { "normativ": { "type": "string", "description": "Šifra normativa artiklov", "nullable": true }, "artikel": { "type": "string", "description": "Šifra artikla (operacije)", "nullable": true }, "redneUre": { "type": "number", "format": "decimal" }, "pripravneUre": { "type": "number", "format": "decimal" }, "tip": { "type": "integer", "format": "int32" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false }, "ArtikelNormativResponse": { "type": "object", "properties": { "normativ": { "type": "string", "description": "Šifra normativa artiklov", "nullable": true }, "artikel": { "type": "string", "description": "Šifra artikla", "nullable": true }, "kolicina": { "type": "number", "format": "decimal" }, "procentKala": { "type": "number", "format": "decimal" }, "tip": { "type": "integer", "format": "int32" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false }, "ArtikelPostRequest": { "required": [ "enota", "naziv", "stopnjaDDV" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "type": "string", "nullable": true }, "naziv": { "maxLength": 40, "type": "string" }, "naziv2": { "maxLength": 40, "type": "string", "nullable": true }, "enota": { "maxLength": 5, "type": "string" }, "grupa": { "maxLength": 15, "type": "string", "nullable": true }, "stopnjaDDV": { "type": "integer", "description": "0 - osnovna stopnja DDV 22%\r\n1- znižana stopnja DDV 9.5%\r\n2- neobdavčeno 0%\r\n3- nižja stopnja DDV 5%", "format": "int32" }, "karticaArtikla": { "type": "integer", "description": "0 - artikel je storitev\r\n1 - artikel je izdelek in se zanj vodi kartica artikla", "format": "int32" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "objavaB2B": { "type": "integer", "description": "0 - ni objave v B2B\r\n1- je objava B2B", "format": "int32" }, "objavaB2C": { "type": "integer", "description": "0 - ni objave v B2C\r\n1- je objava B2C", "format": "int32" }, "blagovnaSkupina": { "type": "integer", "format": "int32" }, "dobavitelj": { "type": "integer", "format": "int32" }, "tipStevilcenja": { "type": "integer", "description": "Tip številčenja: \r\n0 - vnos s podano šifro\r\n1 - vnos brez podane šifre(Sifra=0), avtomatsko generira naslednjo prosto številko", "format": "int32" } }, "additionalProperties": false, "description": "Vnos artikla" }, "ArtikelPotrditevAutoIds": { "type": "object", "properties": { "autO_ID_LISTA": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "doAutoID": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "ArtikelPovezavaResponse": { "type": "object", "properties": { "artikel": { "type": "string", "description": "Šifra artikla", "nullable": true }, "povezava": { "type": "string", "description": "Šifra povezave z povezanimi artikli", "nullable": true }, "tip": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "ArtikelPutBaseRequest": { "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "type": "string", "nullable": true }, "debug": { "type": "integer", "format": "int32" } }, "additionalProperties": false, "description": "Ažuriranje artikla samo z dodatnimi polji" }, "ArtikelPutPostBaseRequest": { "required": [ "enota", "naziv", "stopnjaDDV" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "type": "string", "nullable": true }, "naziv": { "maxLength": 40, "type": "string" }, "naziv2": { "maxLength": 40, "type": "string", "nullable": true }, "enota": { "maxLength": 5, "type": "string" }, "grupa": { "maxLength": 15, "type": "string", "nullable": true }, "stopnjaDDV": { "type": "integer", "description": "0 - osnovna stopnja DDV 22%\r\n1- znižana stopnja DDV 9.5%\r\n2- neobdavčeno 0%\r\n3- nižja stopnja DDV 5%", "format": "int32" }, "karticaArtikla": { "type": "integer", "description": "0 - artikel je storitev\r\n1 - artikel je izdelek in se zanj vodi kartica artikla", "format": "int32" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "objavaB2B": { "type": "integer", "description": "0 - ni objave v B2B\r\n1- je objava B2B", "format": "int32" }, "objavaB2C": { "type": "integer", "description": "0 - ni objave v B2C\r\n1- je objava B2C", "format": "int32" }, "blagovnaSkupina": { "type": "integer", "format": "int32" }, "dobavitelj": { "type": "integer", "format": "int32" } }, "additionalProperties": false, "description": "Base za put/post request" }, "ArtikelResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "enota": { "type": "string", "nullable": true }, "grupa": { "type": "string", "nullable": true }, "stopnjaDDV": { "type": "integer", "format": "int32" }, "karticaArtikla": { "type": "integer", "format": "int32" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaCena1DDV": { "type": "number", "format": "decimal" }, "objavaB2B": { "type": "integer", "description": "0 - ni objave v B2B\r\n1- je objava B2B", "format": "int32" }, "objavaB2C": { "type": "integer", "description": "0 - ni objave v B2C\r\n1- je objava B2C", "format": "int32" }, "blagovnaSkupina": { "type": "integer", "format": "int32" }, "dobavitelj": { "type": "integer", "format": "int32" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po artiklih" }, "ArtikelSifrantResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "prostoI1": { "type": "integer", "format": "int32" }, "prostoI2": { "type": "integer", "format": "int32" }, "prostoR1": { "type": "number", "format": "decimal" }, "prostoR2": { "type": "number", "format": "decimal" }, "prostoD1": { "type": "string", "format": "date-time", "nullable": true }, "prostoD2": { "type": "string", "format": "date-time", "nullable": true }, "prostoC1": { "type": "string", "nullable": true }, "prostoC2": { "type": "string", "nullable": true }, "prostoC3": { "type": "string", "nullable": true }, "prostoC4": { "type": "string", "nullable": true }, "prostoC5": { "type": "string", "nullable": true }, "prostoC6": { "type": "string", "nullable": true }, "prostoC7": { "type": "string", "nullable": true }, "prostoC8": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Model za sifrante artiklov od 1 do 5" }, "ArtikelSinhResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "enota": { "type": "string", "nullable": true }, "grupa": { "type": "string", "nullable": true }, "stopnjaDDV": { "type": "integer", "format": "int32" }, "karticaArtikla": { "type": "integer", "format": "int32" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaCena1DDV": { "type": "number", "format": "decimal" }, "objavaB2B": { "type": "integer", "description": "0 - ni objave v B2B\r\n1- je objava B2B", "format": "int32" }, "objavaB2C": { "type": "integer", "description": "0 - ni objave v B2C\r\n1- je objava B2C", "format": "int32" }, "blagovnaSkupina": { "type": "integer", "format": "int32" }, "dobavitelj": { "type": "integer", "format": "int32" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "loG_AUTO_ID": { "type": "integer", "format": "int32" }, "loG_SIFRA_OLD": { "type": "string", "nullable": true }, "loG_DATUM": { "type": "string", "format": "date-time", "nullable": true }, "loG_TIP": { "type": "integer", "description": "1 - Vnos novega artikla\r\n2 - Popravljanje artikla\r\n3 - Brisanje artikla", "format": "int32" } }, "additionalProperties": false }, "ArtikelTujNazivResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "drzava": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "naziv3": { "type": "string", "nullable": true }, "enota": { "type": "string", "nullable": true }, "opis1": { "type": "string", "nullable": true }, "opis2": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po artiklih tuj naziv" }, "AvtentikacijaRequest": { "type": "object", "properties": { "username": { "type": "string", "description": "Uporabniško ime", "nullable": true }, "password": { "type": "string", "description": "Geslo", "nullable": true }, "taxNumber": { "type": "string", "description": "Davčna številka", "nullable": true }, "year": { "type": "integer", "description": "Opcijsko - Na katero bazo preteklih let se želimo povezati\r\n- če je vnešeno leto 0, potem bodo podatki iz tekoče baze\r\n- če je vnešeno leto večje od 0, pa bodo podatki iz željenega leta (baza za vnešeno leto mora obstajati)", "format": "int32" }, "returnPastYears": { "type": "boolean", "description": "Opcijsko - Ali vrne tudi katera pretekla leta so na voljo\r\n- true : vrni tudi vsa pretekla leta\r\n- false : ne vrne preteklih let (privzeto)" }, "params": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Dodatni parametri za prijavo", "nullable": true } }, "additionalProperties": false }, "AvtentikacijaResponse": { "type": "object", "properties": { "apiKey": { "type": "string", "description": "API ključ za poizvedbe (Http header : Authorization: bearer apiKey)", "nullable": true }, "expiration": { "type": "string", "description": "Veljavnost API ključa", "format": "date-time" }, "pastYears": { "type": "array", "items": { "type": "integer", "format": "int32" }, "description": "Vrne, katera pretekla leta so še na voljo (samo, če je pri prijavi podan parameter ReturnPastYears)", "nullable": true }, "versionDate": { "type": "string", "description": "Vrne datum verzije", "format": "date-time" } }, "additionalProperties": false }, "BankaResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "naslov": { "type": "string", "nullable": true }, "posta": { "type": "string", "nullable": true }, "sedez": { "type": "string", "nullable": true }, "kontaktnaOseba": { "type": "string", "nullable": true }, "telefon": { "type": "string", "nullable": true }, "telefax": { "type": "string", "nullable": true }, "vrstaIzplacila": { "type": "integer", "format": "int32", "nullable": true }, "maticnaBanka": { "type": "integer", "format": "int32", "nullable": true }, "enota": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true }, "kodaNamenaPlacila": { "type": "string", "nullable": true }, "sifraPlacilaOdlivi": { "type": "integer", "format": "int32", "nullable": true }, "bic": { "type": "string", "nullable": true } }, "additionalProperties": false }, "BlagovnaSkupinaResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "objavaB2B": { "type": "integer", "format": "int32" }, "objavaB2C": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "BlagovnaTujNazivResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "drzava": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "opis": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po blagovnih skupinah tuj naziv" }, "CenikZaKupcaResponse": { "type": "object", "properties": { "sifra": { "type": "string", "description": "Šifra artikla", "nullable": true }, "prodajnaCena": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "rabat2": { "type": "number", "format": "decimal" }, "rabat3": { "type": "number", "format": "decimal" } }, "additionalProperties": false }, "CenikZaKupcaTempResponse": { "type": "object", "properties": { "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/CenikZaKupcaResponse" }, "nullable": true }, "zadnjiArtikel": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DanDogodekVP": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "vp": { "type": "integer", "format": "int32" }, "vpNaziv": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DanDogodkiVPRequest": { "type": "object", "properties": { "dogodki": { "type": "array", "items": { "$ref": "#/components/schemas/DanDogodekVP" }, "nullable": true }, "vpJePraznik": { "type": "integer", "format": "int32" }, "vpJePraznikNaziv": { "type": "string", "nullable": true }, "vpPraznicneUre": { "type": "integer", "format": "int32" }, "vpPraznicneUreNaziv": { "type": "string", "nullable": true }, "vpNocneUre": { "type": "integer", "format": "int32" }, "vpNocneUreNaziv": { "type": "string", "nullable": true }, "vpPopoldanskeUre": { "type": "integer", "format": "int32" }, "vpPopoldanskeUreNaziv": { "type": "string", "nullable": true }, "vpNedeljskeUre": { "type": "integer", "format": "int32" }, "vpNedeljskeUreNaziv": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DanDogodkiVPResponse": { "type": "object", "properties": { "dogodki": { "type": "array", "items": { "$ref": "#/components/schemas/DanDogodekVP" }, "nullable": true }, "vpJePraznik": { "type": "integer", "format": "int32" }, "vpJePraznikNaziv": { "type": "string", "nullable": true }, "vpPraznicneUre": { "type": "integer", "format": "int32" }, "vpPraznicneUreNaziv": { "type": "string", "nullable": true }, "vpNocneUre": { "type": "integer", "format": "int32" }, "vpNocneUreNaziv": { "type": "string", "nullable": true }, "vpPopoldanskeUre": { "type": "integer", "format": "int32" }, "vpPopoldanskeUreNaziv": { "type": "string", "nullable": true }, "vpNedeljskeUre": { "type": "integer", "format": "int32" }, "vpNedeljskeUreNaziv": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DanDokumentTip": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "format": "int32", "x-enumNames": [ "None", "Obracun", "BolniskiList", "OdlocbaZaDopust" ], "x-enum-varnames": [ "None", "Obracun", "BolniskiList", "OdlocbaZaDopust" ] }, "DBTableSinhEnum": { "enum": [ 0, 1, 2 ], "type": "integer", "format": "int32", "x-enumNames": [ "Insert", "Update", "Delete" ], "x-enum-varnames": [ "Insert", "Update", "Delete" ] }, "DelavecDelezMD": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "nullable": true }, "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecDelezMDItem" }, "nullable": true } }, "additionalProperties": false }, "DelavecDelezMDItem": { "type": "object", "properties": { "datum": { "type": "string", "format": "date-time", "nullable": true }, "delez": { "type": "number", "format": "decimal" }, "m4DoDatuma": { "type": "string", "format": "date-time", "nullable": true }, "delezM4": { "type": "number", "format": "decimal" }, "deloTujina": { "type": "integer", "format": "int32" }, "opombe": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DelavecDelezMDResponse": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecDelezMDItem" }, "nullable": true } }, "additionalProperties": false }, "DelavecDelovnoMesto": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "spjsSifraDM": { "type": "string", "nullable": true }, "spjsSifraNaziva": { "type": "integer", "format": "int32" }, "spjsNazivDM": { "type": "string", "nullable": true }, "spjsMinPlRazred": { "type": "integer", "format": "int32" }, "spjsMaxPlRazred": { "type": "integer", "format": "int32" }, "opisDM": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DelavecDruzClaniPostBaseRequest": { "required": [ "ime", "priimek", "sorodstvo" ], "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "description": "Tuja šifra delavca (HrmID)", "nullable": true }, "ime": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Ime (DependentFirstName)" }, "priimek": { "maxLength": 40, "pattern": "^((?!string).)*$", "type": "string", "description": "Priimek (DependentLastName)" }, "emso": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Emso (DependentEmso)", "nullable": true }, "davcnaSt": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Davčna številka (DependentTaxID)", "nullable": true }, "datumRojstva": { "type": "string", "description": "Datum rojstva (DependentDateOfBirth)", "format": "date-time", "nullable": true }, "spol": { "type": "integer", "description": "Spol (DependentGender)", "format": "int32" }, "drzavljanstvo": { "type": "integer", "description": "Državljanstvo (DependentCountryID)", "format": "int32" }, "naslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Naslov (DependentAddress)", "nullable": true }, "posta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Pošta (DependentPostCode)", "nullable": true }, "sorodstvo": { "type": "integer", "description": "Sorodstvo", "format": "int32" }, "oznakaVzdrzevanja": { "type": "integer", "description": "Oznaka vzdrževanja", "format": "int32" }, "odMeseca": { "type": "integer", "description": "Od meseca", "format": "int32" }, "odLeta": { "type": "integer", "description": "Od leta", "format": "int32" }, "doMeseca": { "type": "integer", "description": "Do meseca", "format": "int32" }, "doLeta": { "type": "integer", "description": "Do leta", "format": "int32" }, "zacasniNaslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasni naslov (Temp DependentAddress)", "nullable": true }, "zacasniPosta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasna pošta (Temp DependentPostCode)", "nullable": true }, "skrbnistvo": { "type": "boolean", "description": "Skrbništvo" } }, "additionalProperties": false, "description": "Base za post request" }, "DelavecDruzClaniPostResponse": { "required": [ "ime", "priimek", "sorodstvo" ], "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "description": "Tuja šifra delavca (HrmID)", "nullable": true }, "ime": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Ime (DependentFirstName)" }, "priimek": { "maxLength": 40, "pattern": "^((?!string).)*$", "type": "string", "description": "Priimek (DependentLastName)" }, "emso": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Emso (DependentEmso)", "nullable": true }, "davcnaSt": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Davčna številka (DependentTaxID)", "nullable": true }, "datumRojstva": { "type": "string", "description": "Datum rojstva (DependentDateOfBirth)", "format": "date-time", "nullable": true }, "spol": { "type": "integer", "description": "Spol (DependentGender)", "format": "int32" }, "drzavljanstvo": { "type": "integer", "description": "Državljanstvo (DependentCountryID)", "format": "int32" }, "naslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Naslov (DependentAddress)", "nullable": true }, "posta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Pošta (DependentPostCode)", "nullable": true }, "sorodstvo": { "type": "integer", "description": "Sorodstvo", "format": "int32" }, "oznakaVzdrzevanja": { "type": "integer", "description": "Oznaka vzdrževanja", "format": "int32" }, "odMeseca": { "type": "integer", "description": "Od meseca", "format": "int32" }, "odLeta": { "type": "integer", "description": "Od leta", "format": "int32" }, "doMeseca": { "type": "integer", "description": "Do meseca", "format": "int32" }, "doLeta": { "type": "integer", "description": "Do leta", "format": "int32" }, "zacasniNaslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasni naslov (Temp DependentAddress)", "nullable": true }, "zacasniPosta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasna pošta (Temp DependentPostCode)", "nullable": true }, "skrbnistvo": { "type": "boolean", "description": "Skrbništvo" }, "id": { "type": "integer", "description": "Unikaten ID druž. delavca", "format": "int32" } }, "additionalProperties": false, "description": "Response po vnosu družinskega člana" }, "DelavecDruzClaniPutRequest": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "description": "Tuja šifra delavca (HrmID)", "nullable": true }, "id": { "type": "integer", "description": "Unikaten ID druž. delavca\r\nZahtevan podatek v primeru, če ni podana davčna številka", "format": "int32", "nullable": true }, "ime": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Ime (DependentFirstName)", "nullable": true }, "priimek": { "maxLength": 40, "pattern": "^((?!string).)*$", "type": "string", "description": "Priimek (DependentLastName)", "nullable": true }, "emso": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Emso (DependentEmso)", "nullable": true }, "davcnaSt": { "maxLength": 15, "pattern": "^((?!string).)*$", "type": "string", "description": "Davčna številka (DependentTaxID)", "nullable": true }, "datumRojstva": { "type": "string", "description": "Datum rojstva (DependentDateOfBirth)", "format": "date-time", "nullable": true }, "spol": { "type": "integer", "description": "Spol (DependentGender)", "format": "int32", "nullable": true }, "drzavljanstvo": { "type": "integer", "description": "Državljanstvo (DependentCountryID)", "format": "int32", "nullable": true }, "naslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Naslov (DependentAddress)", "nullable": true }, "posta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Pošta (DependentPostCode)", "nullable": true }, "sorodstvo": { "type": "integer", "description": "Sorodstvo", "format": "int32", "nullable": true }, "oznakaVzdrzevanja": { "type": "integer", "description": "Oznaka vzdrževanja", "format": "int32", "nullable": true }, "odMeseca": { "type": "integer", "description": "Od meseca", "format": "int32", "nullable": true }, "odLeta": { "type": "integer", "description": "Od leta", "format": "int32", "nullable": true }, "doMeseca": { "type": "integer", "description": "Do meseca", "format": "int32", "nullable": true }, "doLeta": { "type": "integer", "description": "Do leta", "format": "int32", "nullable": true }, "zacasniNaslov": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasni naslov (Temp DependentAddress)", "nullable": true }, "zacasniPosta": { "maxLength": 30, "pattern": "^((?!string).)*$", "type": "string", "description": "Začasna pošta (Temp DependentPostCode)", "nullable": true }, "skrbnistvo": { "type": "boolean", "description": "Skrbništvo", "nullable": true } }, "additionalProperties": false, "description": "Ažuriranje družinskega člana" }, "DelavecDruzClaniResponse": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "description": "Tuja šifra delavca (HrmID)", "nullable": true }, "id": { "type": "integer", "description": "Unikaten ID druž. delavca", "format": "int32" }, "ime": { "type": "string", "description": "Ime (DependentFirstName)", "nullable": true }, "priimek": { "type": "string", "description": "Priimek (DependentLastName)", "nullable": true }, "emso": { "type": "string", "description": "Emso (DependentEmso)", "nullable": true }, "davcnaSt": { "type": "string", "description": "Davčna številka (DependentTaxID)", "nullable": true }, "datumRojstva": { "type": "string", "description": "Datum rojstva (DependentDateOfBirth)", "format": "date-time" }, "spol": { "type": "integer", "description": "Spol (DependentGender)", "format": "int32" }, "drzavljanstvo": { "type": "integer", "description": "Državljanstvo (DependentCountryID)", "format": "int32" }, "naslov": { "type": "string", "description": "Naslov (DependentAddress)", "nullable": true }, "posta": { "type": "string", "description": "Pošta (DependentPostCode)", "nullable": true }, "sorodstvo": { "type": "integer", "description": "Sorodstvo", "format": "int32" }, "oznakaVzdrzevanja": { "type": "integer", "description": "Oznaka vzdrževanja", "format": "int32" }, "odMeseca": { "type": "integer", "description": "Od meseca", "format": "int32" }, "odLeta": { "type": "integer", "description": "Od leta", "format": "int32" }, "doMeseca": { "type": "integer", "description": "Do meseca", "format": "int32" }, "doLeta": { "type": "integer", "description": "Do leta", "format": "int32" }, "zacasniNaslov": { "type": "string", "description": "Začasni naslov (Temp DependentAddress)", "nullable": true }, "zacasniPosta": { "type": "string", "description": "Začasna pošta (Temp DependentPostCode)", "nullable": true }, "skrbnistvo": { "type": "boolean", "description": "Skrbništvo" } }, "additionalProperties": false }, "DelavecObracunskiPodatek": { "type": "object", "properties": { "naziv": { "type": "string", "nullable": true }, "vrednost": { "type": "number", "format": "decimal" } }, "additionalProperties": false }, "DelavecObracunskiPodatki": { "type": "object", "properties": { "indexDM": { "type": "integer", "format": "int32" }, "pogodbA_ZAPOSLITEV_DM": { "type": "string", "nullable": true }, "pogodbA_OD_DAT_DM": { "type": "string", "format": "date-time", "nullable": true }, "pogodbA_DO_DAT_DM": { "type": "string", "format": "date-time", "nullable": true }, "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecObracunskiPodatek" }, "nullable": true } }, "additionalProperties": false }, "DelavecObracunskiPodatkiNastavitveResponse": { "type": "object", "properties": { "naziv": { "type": "string", "nullable": true }, "vrednost": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DelavecObracunskiPodatkiPostRequest": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca (VascoID)", "format": "int32" }, "delavecTujaSifra": { "type": "string", "nullable": true }, "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecObracunskiPodatki" }, "nullable": true } }, "additionalProperties": false }, "DelavecObracunskiPodatkiVrednost": { "type": "object", "properties": { "pogodbA_ZAPOSLITEV_DM": { "type": "string", "nullable": true }, "pogodbA_OD_DAT_DM": { "type": "string", "format": "date-time", "nullable": true }, "pogodbA_DO_DAT_DM": { "type": "string", "format": "date-time", "nullable": true }, "podatki": { "type": "array", "items": { "$ref": "#/components/schemas/DelavecObracunskiPodatek" }, "nullable": true } }, "additionalProperties": false }, "DelavecObracunskiPodatkiVrednostiResponse": { "type": "object", "properties": { "podatki": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/DelavecObracunskiPodatkiVrednost" }, "nullable": true } }, "additionalProperties": false }, "DelitevPos": { "required": [ "delez" ], "type": "object", "properties": { "sm": { "type": "integer", "format": "int32" }, "sm2": { "type": "integer", "format": "int32" }, "sm3": { "type": "integer", "format": "int32" }, "delez": { "maximum": 100, "minimum": 0, "type": "number", "description": "Razmerje delež delitve v %", "format": "decimal" } }, "additionalProperties": false }, "DelitevSMResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "opis": { "type": "string", "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DelitevPos" }, "nullable": true } }, "additionalProperties": false }, "DNNalogDelaPutPostBaseRequest": { "required": [ "delavec", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "type": "integer", "description": "Šifra artikla", "format": "int32" }, "delavec": { "type": "integer", "format": "int32" }, "zacetek": { "type": "string", "format": "date-time", "nullable": true }, "konec": { "type": "string", "format": "date-time", "nullable": true }, "cena": { "type": "number", "format": "decimal" } }, "additionalProperties": false }, "DNNalogIzdelkiPutPostBaseRequest": { "required": [ "kolicina", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "type": "string", "description": "Šifra artikla" }, "kolicina": { "type": "number", "format": "decimal" }, "enota": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DNNalogIzdelkiResponse": { "type": "object", "properties": { "zs": { "type": "integer", "format": "int32", "nullable": true }, "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "enota": { "type": "string", "nullable": true }, "tiP_NORMATIVA": { "type": "integer", "format": "int32", "nullable": true }, "kolicina": { "type": "number", "format": "decimal", "nullable": true }, "kolicinA_FAKTOR": { "type": "number", "format": "decimal", "nullable": true }, "glavnI_IZDELEK": { "type": "integer", "format": "int32", "nullable": true }, "serijskE_STEVILKE": { "type": "string", "nullable": true }, "lot": { "type": "string", "nullable": true }, "serijskA_STEVILKA_NOVA": { "type": "string", "nullable": true }, "serijskA_STEVILKA_STARA": { "type": "string", "nullable": true }, "arT_BARVA": { "type": "string", "nullable": true }, "datuM1": { "type": "string", "format": "date-time", "nullable": true }, "vrednost": { "type": "number", "format": "decimal", "nullable": true }, "nabavnA_CENA": { "type": "number", "format": "decimal", "nullable": true }, "povezavA_TIP": { "type": "integer", "format": "int32", "nullable": true }, "povezavA_STEVILKA": { "type": "string", "nullable": true }, "povezavA_LETO": { "type": "integer", "format": "int32", "nullable": true }, "povezavA_ZS": { "type": "integer", "format": "int32", "nullable": true }, "dodatnE_POVEZAVE": { "type": "string", "nullable": true }, "opis": { "type": "string", "nullable": true }, "orG_KOLICINA": { "type": "number", "format": "decimal", "nullable": true }, "prodajnA_CENA": { "type": "number", "format": "decimal", "nullable": true }, "prodajnA_VREDNOST": { "type": "number", "format": "decimal", "nullable": true }, "linija": { "type": "integer", "format": "int32", "nullable": true }, "drzavA_POREKLA": { "type": "integer", "format": "int32", "nullable": true }, "prostO_C1": { "type": "string", "nullable": true }, "prostO_C2": { "type": "string", "nullable": true }, "prostO_C3": { "type": "string", "nullable": true }, "prostO_C4": { "type": "string", "nullable": true }, "prostO_C5": { "type": "string", "nullable": true }, "prostO_D1": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D2": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D3": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D4": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D5": { "type": "string", "format": "date-time", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R2": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R3": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R4": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R5": { "type": "number", "format": "decimal", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I3": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I4": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I5": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "DNNalogPostavkePutPostBaseRequest": { "required": [ "kolicina", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "minLength": 1, "type": "string", "description": "Šifra artikla" }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaCenaZDdv": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "stopnjaDdv": { "maximum": 3, "minimum": 0, "type": "integer", "format": "int32" }, "fakturira": { "maximum": 1, "minimum": 0, "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DNNalogPostavkeResponse": { "type": "object", "properties": { "zs": { "type": "integer", "format": "int32" }, "sifra": { "type": "string", "description": "Šifra artikla", "nullable": true }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaVrednost": { "type": "number", "format": "decimal" }, "cena": { "type": "number", "format": "decimal" }, "vrednost": { "type": "number", "format": "decimal" }, "stopnjaDdv": { "type": "integer", "description": "Stopnja DDV \r\n0: 22%, \r\n1: 9,5%, \r\n2: 0%, \r\n3: 5%", "format": "int32" }, "lot": { "type": "string", "nullable": true }, "rabat1": { "type": "number", "format": "decimal" }, "rabat2": { "type": "number", "format": "decimal" }, "rabat3": { "type": "number", "format": "decimal" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "lotPodatki": { "type": "array", "items": { "$ref": "#/components/schemas/LotPodatekResponse" }, "nullable": true } }, "additionalProperties": false }, "DNNalogPostBaseRequest": { "required": [ "datum", "partner" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "datum": { "type": "string", "format": "date-time" }, "partner": { "type": "integer", "format": "int32" }, "prodajalna": { "type": "integer", "format": "int32" }, "komercialist": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "potnik": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "komisionar": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "skladisce": { "type": "integer", "format": "int32" }, "rabat1": { "type": "number", "format": "decimal" }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogPostavkePutPostBaseRequest" }, "nullable": true }, "opravljenaDela": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogDelaPutPostBaseRequest" }, "nullable": true }, "izdelki": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogIzdelkiPutPostBaseRequest" }, "nullable": true } }, "additionalProperties": false, "description": "Base za post request" }, "DNNalogPostResponse": { "type": "object", "properties": { "leto": { "type": "integer", "format": "int32" }, "stevilka": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Response po vnosu delovnega naloga" }, "DNNalogResponse": { "type": "object", "properties": { "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32" }, "datum": { "type": "string", "format": "date-time" }, "sifraKupca": { "type": "integer", "format": "int32" }, "znesekKoncni": { "type": "number", "format": "decimal" }, "znesekKoncniValuta": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "rabat2": { "type": "number", "format": "decimal" }, "rabat3": { "type": "number", "format": "decimal" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogPostavkeResponse" }, "nullable": true }, "izdelki": { "type": "array", "items": { "$ref": "#/components/schemas/DNNalogIzdelkiResponse" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po nalogih" }, "DnNalogTipResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32", "nullable": true }, "naziv": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "vrstA_CENE": { "type": "integer", "format": "int32", "nullable": true }, "racuN_TIP": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_C1": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "prostO_C2": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "prostO_C3": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "menu": { "type": "integer", "format": "int32", "nullable": true }, "podmenu": { "type": "integer", "format": "int32", "nullable": true }, "deL_NAL_NE_ODKNJIZI_ZALOGE": { "type": "integer", "format": "int32", "nullable": true }, "stevilkA_PRED": { "type": "integer", "format": "int32", "nullable": true }, "stevilkA_OD": { "type": "integer", "format": "int32", "nullable": true }, "skladisce": { "type": "integer", "format": "int32", "nullable": true }, "dovolI_SAMO_PRIVZETO_SKL": { "type": "integer", "format": "int32", "nullable": true }, "oblikA_IZPISA": { "maxLength": 4, "minLength": 0, "type": "string", "nullable": true }, "zakljucevanjE_F10": { "type": "integer", "format": "int32", "nullable": true }, "internI_NALOGI": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "DNNapravaResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po napravah nalogov" }, "DNSifResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po šifrantih delovnih nalogov" }, "DobavnicaDokResponse": { "type": "object", "properties": { "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32" }, "vsebina": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Vsebina PDF dobavnice" }, "DobavnicaFakturiranjePostBaseRequest": { "required": [ "leto", "stevilka" ], "type": "object", "properties": { "stevilka": { "type": "string" }, "leto": { "type": "integer", "format": "int32" } }, "additionalProperties": false, "description": "Base za post request" }, "DobavnicaFakturiranjePostResponse": { "type": "object", "properties": { "leto": { "type": "integer", "format": "int32" }, "stevilka": { "type": "integer", "format": "int32" }, "znesek": { "type": "number", "format": "decimal" } }, "additionalProperties": false, "description": "Response po fakturiranju dobavnice" }, "DobavnicaPostavkeLotResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "lot": { "type": "string", "nullable": true }, "datumProizvodnje": { "type": "string", "format": "date-time", "nullable": true }, "datumUporabnosti": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "DobavnicaPostavkePutPostBaseRequest": { "required": [ "kolicina", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "minLength": 1, "type": "string", "description": "Šifra artikla" }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaCenaZDdv": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "stopnjaDdv": { "maximum": 3, "minimum": 0, "type": "integer", "format": "int32" }, "dobavnicaSSCC": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaSSCCPutPostBaseRequest" }, "nullable": true } }, "additionalProperties": false }, "DobavnicaPostavkeResponse": { "type": "object", "properties": { "zs": { "type": "integer", "format": "int32" }, "sifra": { "type": "string", "description": "Šifra artikla", "nullable": true }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaVrednost": { "type": "number", "format": "decimal" }, "cena": { "type": "number", "format": "decimal" }, "vrednost": { "type": "number", "format": "decimal" }, "lot": { "type": "string", "nullable": true }, "rabat1": { "type": "number", "format": "decimal" }, "rabat2": { "type": "number", "format": "decimal" }, "rabat3": { "type": "number", "format": "decimal" }, "naziv": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "lotPodatki": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaPostavkeLotResponse" }, "nullable": true } }, "additionalProperties": false }, "DobavnicaPostBaseRequest": { "required": [ "datum", "partner" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "tipStevilcenja": { "$ref": "#/components/schemas/DocTipStevilcenja" }, "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "description": "Če je leto vpisano, potem upošteva vpisano (če naročilo s številko in letom že obstaja bo prepisano!)", "format": "int32" }, "datum": { "type": "string", "format": "date-time" }, "partner": { "type": "integer", "format": "int32" }, "prodajalna": { "type": "integer", "format": "int32" }, "komercialist": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "potnik": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "komisionar": { "maxLength": 5, "minLength": 0, "type": "string", "nullable": true }, "skladisce": { "type": "integer", "format": "int32" }, "rabat1": { "type": "number", "format": "decimal" }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaPostavkePutPostBaseRequest" }, "nullable": true } }, "additionalProperties": false, "description": "Base za post request\r\nPri vnosu dobavnice s tujimi davčnimi stopnjami je potrebno v glavi v dodatno polje TDS_DRZAVA vpisati šifro države\r\nv postavko pa v dodatno polje TDS_PROCENT procent DDV, ki naj se obračuna. \r\nČe v polje TDS_PROCENT vpišete -1 bo program obračunal ddv po stopnji, ki je določena za to državo.\r\nČe posebej ne določimo je za artikel vedno določena osnovna najvišja stopnja DDV v državi\r\nProgram bo preveril, če je določen procent dovoljen izbrani državi ///" }, "DobavnicaPostResponse": { "type": "object", "properties": { "leto": { "type": "integer", "format": "int32" }, "stevilka": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Response po vnosu dobavnica" }, "DobavnicaResponse": { "type": "object", "properties": { "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32" }, "datum": { "type": "string", "format": "date-time" }, "sifraKupca": { "type": "integer", "format": "int32" }, "znesekKoncni": { "type": "number", "format": "decimal" }, "znesekKoncniValuta": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "rabat2": { "type": "number", "format": "decimal" }, "rabat3": { "type": "number", "format": "decimal" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DobavnicaPostavkeResponse" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po dobavnicah" }, "DobavnicaSSCCPutPostBaseRequest": { "required": [ "kolicina", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "minLength": 1, "type": "string", "description": "Šifra artikla" }, "kolicina": { "type": "number", "format": "decimal" }, "sscc": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DobavnicaSSCCResponse": { "type": "object", "properties": { "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32" }, "zs": { "type": "integer", "format": "int32" }, "sifra": { "type": "string", "nullable": true }, "kolicina": { "type": "number", "format": "decimal" }, "sscc": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false }, "DobroimetjeKupcaResponse": { "type": "object", "properties": { "partner": { "type": "integer", "format": "int32" }, "prodajalna": { "type": "integer", "format": "int32" }, "datum": { "type": "string", "format": "date-time", "nullable": true }, "dobroimetjeZdaj": { "type": "number", "format": "decimal" }, "odDatumaZdaj": { "type": "string", "format": "date-time", "nullable": true }, "doDatumaZdaj": { "type": "string", "format": "date-time", "nullable": true }, "dobroimetjeNaprej": { "type": "number", "format": "decimal" }, "odDatumaNaprej": { "type": "string", "format": "date-time", "nullable": true }, "doDatumaNaprej": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvede za sledilno številko" }, "DocTipStevilcenja": { "enum": [ 0, 1 ], "type": "integer", "format": "int32", "x-enumNames": [ "AVTOMATSKO", "ROCNO" ], "x-enum-varnames": [ "AVTOMATSKO", "ROCNO" ] }, "DocumentActionRequest": { "type": "object", "properties": { "number": { "type": "string", "description": "Številka ali id dokumenta", "nullable": true }, "year": { "type": "integer", "description": "Leto dokumenta", "format": "int32" }, "documentType": { "type": "integer", "description": "Tip dokumenta", "format": "int32" }, "note": { "type": "string", "description": "Opomba akcije", "nullable": true } }, "additionalProperties": false }, "DocumentActionResponse": { "type": "object", "properties": { "result": { "$ref": "#/components/schemas/ActionResult" }, "message": { "type": "string", "description": "Sporočilo", "nullable": true } }, "additionalProperties": false }, "DocumentListRequest": { "type": "object", "properties": { "status": { "$ref": "#/components/schemas/LikStatusType" }, "months": { "type": "integer", "description": "Prenos dokumentov za zadnjih x mesecev", "format": "int32", "nullable": true } }, "additionalProperties": false }, "DocumentMPodpisListRequest": { "type": "object", "properties": { "months": { "type": "integer", "description": "Prenos dokumentov za zadnjih x mesecev", "format": "int32", "nullable": true } }, "additionalProperties": false }, "DocumentRequest": { "type": "object", "properties": { "number": { "type": "string", "description": "Številka ali id dokumenta", "nullable": true }, "year": { "type": "integer", "description": "Leto dokumenta", "format": "int32" }, "documentType": { "type": "integer", "description": "Tip dokumenta", "format": "int32" } }, "additionalProperties": false }, "DodatnoPolje": { "type": "object", "properties": { "naziv": { "type": "string", "description": "Naziv polja", "nullable": true }, "vrednost": { "description": "Vrednost dodatnega polja", "nullable": true } }, "additionalProperties": false, "description": "Dodatno polje" }, "DohodninaDelavecDokResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "description": "Šifra delavca", "format": "int32" }, "naziv": { "type": "string", "description": "Ime in priimek delavca", "nullable": true }, "id": { "type": "integer", "description": "Id obvestila za dohodnino", "format": "int32" }, "vsebina": { "type": "string", "description": "Vsebina obvestila za dohodnino", "nullable": true } }, "additionalProperties": false }, "DohodninaDelavecResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Dokument": { "type": "object", "properties": { "idDok": { "type": "integer", "format": "int32", "nullable": true }, "crtnaKoda": { "type": "string", "nullable": true }, "zaporedna": { "type": "integer", "format": "int32", "nullable": true }, "datUra": { "type": "string", "format": "date-time", "nullable": true }, "razporejen": { "type": "boolean", "nullable": true }, "revizija": { "type": "integer", "format": "int32", "nullable": true }, "steviloStrani": { "type": "integer", "format": "int32", "nullable": true }, "shranjen": { "type": "boolean", "nullable": true }, "vezaMapa": { "type": "string", "nullable": true }, "sifraMapa": { "type": "integer", "format": "int32", "nullable": true }, "uporabnik": { "type": "string", "nullable": true }, "postaja": { "type": "string", "nullable": true }, "eHrambaId": { "type": "integer", "format": "int32", "nullable": true }, "imePrograma": { "type": "string", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "dokumentVsebina": { "type": "array", "items": { "$ref": "#/components/schemas/DokumentVsebina" }, "nullable": true } }, "additionalProperties": false }, "DOKUMENT": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "iD_DOK": { "type": "integer", "format": "int32", "nullable": true }, "crtnA_KODA": { "maxLength": 30, "minLength": 0, "type": "string", "nullable": true }, "zaporedna": { "type": "integer", "format": "int32", "nullable": true }, "datuM_URA": { "type": "string", "format": "date-time", "nullable": true }, "datuM_MAPA": { "type": "string", "format": "date-time", "nullable": true }, "razporejen": { "type": "boolean", "nullable": true }, "revizija": { "type": "integer", "format": "int32", "nullable": true }, "stevilO_STRANI": { "type": "integer", "format": "int32", "nullable": true }, "shranjen": { "type": "boolean", "nullable": true }, "vezA_MAPA": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "sifrA_MAPA": { "type": "integer", "format": "int32", "nullable": true }, "uporabnik": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "postaja": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "e_HRAMBA_ID": { "type": "integer", "format": "int32", "nullable": true }, "e_HRAMBA_GUID": { "maxLength": 60, "minLength": 0, "type": "string", "nullable": true }, "e_HRAMBA_DATUM": { "type": "string", "format": "date-time", "nullable": true }, "imE_PROGRAMA": { "maxLength": 10, "minLength": 0, "type": "string", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "tmP_FLAG": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "iD_PAKETA": { "type": "integer", "format": "int32", "nullable": true }, "razvrsceN_OS": { "type": "boolean", "nullable": true }, "externaL_ID": { "maxLength": 50, "minLength": 0, "type": "string", "nullable": true } }, "additionalProperties": false }, "DOKUMENT_VEZA": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "autO_ID": { "type": "integer", "format": "int32", "nullable": true }, "iD_DOK": { "type": "integer", "format": "int32", "nullable": true }, "crtnA_KODA": { "maxLength": 30, "minLength": 0, "type": "string", "nullable": true }, "opis": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "datoteka": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "imE_PROGRAMA": { "maxLength": 10, "minLength": 0, "type": "string", "nullable": true }, "tip": { "type": "integer", "format": "int32", "nullable": true }, "stevilka": { "type": "integer", "format": "int32", "nullable": true }, "stevilkA2": { "type": "integer", "format": "int32", "nullable": true }, "cstevilka": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32", "nullable": true }, "stevilkA_LETO": { "type": "string", "nullable": true }, "mesec": { "type": "integer", "format": "int32", "nullable": true }, "datum": { "type": "string", "format": "date-time", "nullable": true }, "uporabnik": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "postaja": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "proG_MAPA": { "type": "integer", "format": "int32", "nullable": true }, "proG_MAPA_OBJ": { "$ref": "#/components/schemas/PROGRAM_MAPA" }, "tiP_VRSTA": { "type": "integer", "format": "int32", "nullable": true }, "partner": { "type": "integer", "format": "int32", "nullable": true }, "delavec": { "type": "integer", "format": "int32", "nullable": true }, "oS_SIFRA": { "type": "integer", "format": "int32", "nullable": true }, "avH_DELAVEC": { "type": "integer", "format": "int32", "nullable": true }, "artikel": { "maxLength": 20, "minLength": 0, "type": "string", "nullable": true }, "prenoS_GK": { "type": "integer", "format": "int32", "nullable": true }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sM2": { "type": "integer", "format": "int32", "nullable": true }, "sM3": { "type": "integer", "format": "int32", "nullable": true }, "tmP_FLAG": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true } }, "additionalProperties": false }, "DOKUMENT_VSEBINA_MIN": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "autO_ID": { "type": "integer", "format": "int32", "nullable": true }, "iD_DOK": { "type": "integer", "format": "int32", "nullable": true }, "stran": { "type": "integer", "format": "int32", "nullable": true }, "naziV_DATOTEKE": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "crtnA_KODA": { "maxLength": 30, "minLength": 0, "type": "string", "nullable": true }, "e_DOKUMENT_TIP_PRILOGE": { "type": "integer", "format": "int32", "nullable": true }, "pdF_STRANI": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false }, "DokumentVsebina": { "type": "object", "properties": { "autoId": { "type": "integer", "format": "int32", "nullable": true }, "idDok": { "type": "integer", "format": "int32", "nullable": true }, "stran": { "type": "integer", "format": "int32", "nullable": true }, "nazivDatoteke": { "type": "string", "nullable": true }, "vsebina": { "type": "string", "format": "byte", "nullable": true }, "ocrTekst": { "type": "string", "nullable": true }, "crtnaKoda": { "type": "string", "nullable": true }, "ocrPozicije": { "type": "string", "format": "byte", "nullable": true }, "izvornaDatoteka": { "type": "string", "nullable": true }, "tipPriloge": { "type": "integer", "format": "int32", "nullable": true }, "vsebinaAsBase64": { "type": "string", "nullable": true, "readOnly": true }, "ocrPozicijeAsBase64": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DopustiDelavecResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DopustOdlocbaDelavecResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "description": "Šifra delavca", "format": "int32" }, "naziv": { "type": "string", "description": "Ime in priimek delavca", "nullable": true }, "stDni": { "type": "integer", "description": "Št. dni dopusta skupaj", "format": "int32" }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/DopustOdlocbaPostavka" }, "description": "Seznam postavk", "nullable": true }, "odlocbe": { "type": "array", "items": { "$ref": "#/components/schemas/DopustOdlocbaVsebina" }, "nullable": true } }, "additionalProperties": false }, "DopustOdlocbaPostavka": { "type": "object", "properties": { "naziv": { "type": "string", "nullable": true }, "stDni": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DopustOdlocbaVsebina": { "type": "object", "properties": { "id": { "type": "integer", "description": "Id odločbe", "format": "int32" }, "revizija": { "type": "integer", "format": "int32" }, "vsebina": { "type": "string", "nullable": true } }, "additionalProperties": false }, "DrzavaResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "kratica": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EFAGetDokumentVsebinaArrayRequest": { "type": "object", "properties": { "request": { "type": "array", "items": { "$ref": "#/components/schemas/EFAGetDokumentVsebinaRequest" }, "nullable": true } }, "additionalProperties": false }, "EFAGetDokumentVsebinaRequest": { "required": [ "leto", "stevilka", "tip" ], "type": "object", "properties": { "stevilka": { "type": "string", "description": "Številka dokumenta" }, "stevilka2": { "type": "integer", "description": "Vrsta dokumenta/priloge (Stevilka2)", "format": "int32" }, "leto": { "type": "integer", "description": "Leto dokumenta", "format": "int32" }, "tip": { "type": "integer", "description": "2 - Artikli\r\n3 - Računi\r\n4 - Predračuni\r\n5 - Dobavnice\r\n6 - Prevzemnice\r\n9 - Naročila dobaviteljem\r\n10 - Servisni nalogi\r\n11 - Naročila kupcev\r\n12 - Kompenzacije", "format": "int32" } }, "additionalProperties": false }, "EFAGetDokumentVsebinaResponse": { "type": "object", "properties": { "dokumenti": { "type": "array", "items": { "$ref": "#/components/schemas/Dokument" }, "nullable": true } }, "additionalProperties": false }, "EKPFDevizniRacLikvidiranjeRequest": { "required": [ "leto", "likvidator", "stevilka" ], "type": "object", "properties": { "stevilka": { "type": "integer", "format": "int32" }, "leto": { "type": "integer", "format": "int32" }, "likvidator": { "type": "string", "description": "Uporabnik (username) kot likvidator" } }, "additionalProperties": false, "description": "Base za post request za likvidiranje" }, "EKPFDevizniRacLinkPrevzemPutRequest": { "required": [ "leto", "postavke", "stevilka" ], "type": "object", "properties": { "stevilka": { "type": "integer", "description": "Številka deviznega računa", "format": "int32" }, "leto": { "type": "integer", "description": "Leto deviznega računa", "format": "int32" }, "postavke": { "$ref": "#/components/schemas/EKPFPrFakLinkPrevzem" } }, "additionalProperties": false, "description": "Ažuriranje povezanih prevzemnic/odvisnih stroškov fakture. \r\nVedno se ažurirajo vsi podatki prevzemnic, potrebno vnesti vse podatke na novo." }, "EKPFDevizniRacPostRequest": { "required": [ "datumKnjizenja", "datumRacuna", "dobavitelj", "kodaNamena", "rokPlacila", "sifraDrzave", "sifraValute", "znesekVValuti" ], "type": "object", "properties": { "tipDokumenta": { "$ref": "#/components/schemas/KPFPrFakTipDokumenta" }, "stevilka": { "type": "integer", "format": "int32", "nullable": true }, "leto": { "type": "integer", "format": "int32", "nullable": true }, "datumKnjizenja": { "type": "string", "format": "date-time" }, "datumPrejema": { "type": "string", "format": "date-time", "nullable": true }, "datumRacuna": { "type": "string", "format": "date-time" }, "datumStoritve": { "type": "string", "format": "date-time" }, "dobaviteljevaStRacuna": { "type": "string", "nullable": true }, "opisDokumenta": { "maxLength": 50, "minLength": 0, "type": "string", "nullable": true }, "dobavitelj": { "$ref": "#/components/schemas/KPFPrFakDobavitelj" }, "trr": { "$ref": "#/components/schemas/KPFDevizniTRR" }, "referencaTip": { "$ref": "#/components/schemas/KPFPrFakSklicZaPlaciloTip" }, "referenca1": { "maxLength": 2, "minLength": 0, "type": "string", "description": "Privzeto \"00\"", "nullable": true }, "referenca2": { "maxLength": 35, "minLength": 0, "type": "string", "nullable": true }, "kodaNamena": { "maxLength": 4, "minLength": 0, "type": "string" }, "rokPlacila": { "type": "string", "format": "date-time" }, "znesek": { "type": "number", "format": "decimal" }, "sifraValute": { "type": "integer", "format": "int32" }, "tecaj": { "type": "number", "format": "decimal", "default": null, "nullable": true }, "znesekVValuti": { "type": "number", "format": "decimal" }, "sifraDrzave": { "type": "integer", "format": "int32" }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sm2": { "type": "integer", "format": "int32", "nullable": true }, "sm3": { "type": "integer", "format": "int32", "nullable": true }, "skupina": { "type": "integer", "format": "int32", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "pr": { "$ref": "#/components/schemas/KPFPrFakPR" }, "priloga": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogaDokument" }, "nullable": true }, "delitevSm": { "$ref": "#/components/schemas/KPFPrFakDelitevSM" }, "kontiranje": { "$ref": "#/components/schemas/EKPFPrFakKontiranje" }, "likvidacija": { "$ref": "#/components/schemas/EKPFPrFakLikvidacija" } }, "additionalProperties": false }, "EKPFDevizniRacResponse": { "required": [ "datumKnjizenja", "datumRacuna", "dobavitelj", "kodaNamena", "rokPlacila", "sifraDrzave", "sifraValute", "znesekVValuti" ], "type": "object", "properties": { "tipDokumenta": { "$ref": "#/components/schemas/KPFPrFakTipDokumenta" }, "stevilka": { "type": "integer", "format": "int32", "nullable": true }, "leto": { "type": "integer", "format": "int32", "nullable": true }, "datumKnjizenja": { "type": "string", "format": "date-time" }, "datumPrejema": { "type": "string", "format": "date-time", "nullable": true }, "datumRacuna": { "type": "string", "format": "date-time" }, "datumStoritve": { "type": "string", "format": "date-time" }, "dobaviteljevaStRacuna": { "type": "string", "nullable": true }, "opisDokumenta": { "maxLength": 50, "minLength": 0, "type": "string", "nullable": true }, "dobavitelj": { "$ref": "#/components/schemas/KPFPrFakDobavitelj" }, "trr": { "$ref": "#/components/schemas/KPFDevizniTRR" }, "referencaTip": { "$ref": "#/components/schemas/KPFPrFakSklicZaPlaciloTip" }, "referenca1": { "maxLength": 2, "minLength": 0, "type": "string", "description": "Privzeto \"00\"", "nullable": true }, "referenca2": { "maxLength": 35, "minLength": 0, "type": "string", "nullable": true }, "kodaNamena": { "maxLength": 4, "minLength": 0, "type": "string" }, "rokPlacila": { "type": "string", "format": "date-time" }, "znesek": { "type": "number", "format": "decimal" }, "sifraValute": { "type": "integer", "format": "int32" }, "tecaj": { "type": "number", "format": "decimal", "default": null, "nullable": true }, "znesekVValuti": { "type": "number", "format": "decimal" }, "sifraDrzave": { "type": "integer", "format": "int32" }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sm2": { "type": "integer", "format": "int32", "nullable": true }, "sm3": { "type": "integer", "format": "int32", "nullable": true }, "skupina": { "type": "integer", "format": "int32", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "pr": { "$ref": "#/components/schemas/KPFPrFakPR" }, "priloga": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogaDokument" }, "nullable": true }, "delitevSm": { "$ref": "#/components/schemas/KPFPrFakDelitevSM" }, "kontiranje": { "$ref": "#/components/schemas/EKPFPrFakKontiranje" }, "likvidacija": { "$ref": "#/components/schemas/EKPFPrFakLikvidacija" }, "prevzemniceOdvisni": { "$ref": "#/components/schemas/EKPFPrFakLinkPrevzem" } }, "additionalProperties": false }, "EKPFDevizniRacZavrniRequest": { "required": [ "leto", "opomba", "stevilka" ], "type": "object", "properties": { "stevilka": { "type": "integer", "format": "int32" }, "leto": { "type": "integer", "format": "int32" }, "opomba": { "type": "string", "description": "Razlog zavrnitve" } }, "additionalProperties": false, "description": "Request za zavrnitev računa" }, "EKPFGetDokumentVsebinaResponse": { "type": "object", "properties": { "dokumenti": { "type": "array", "items": { "$ref": "#/components/schemas/Dokument" }, "nullable": true } }, "additionalProperties": false }, "EKPFPrFakHeaderPutRequest": { "required": [ "leto", "stevilka" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "description": "Številka prejetega domačega računa", "format": "int32" }, "leto": { "type": "integer", "description": "Leto prejetega domačega računa", "format": "int32" } }, "additionalProperties": false }, "EKPFPrFakKontiranje": { "type": "object", "properties": { "knjizbeKontiranja": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFPrFakKontiranjeKnjizba" }, "nullable": true } }, "additionalProperties": false }, "EKPFPrFakKontiranjeKnjizba": { "type": "object", "properties": { "konto": { "maxLength": 8, "minLength": 0, "type": "string", "nullable": true }, "znesekDebet": { "type": "number", "format": "decimal" }, "znesekKredit": { "type": "number", "format": "decimal" }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sm2": { "type": "integer", "format": "int32" }, "sm3": { "type": "integer", "format": "int32", "nullable": true }, "partner": { "type": "integer", "format": "int32", "nullable": true }, "opis": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "veza": { "maxLength": 14, "minLength": 0, "type": "string", "nullable": true } }, "additionalProperties": false }, "EKPFPrFakLikvidacija": { "type": "object", "properties": { "likvidatorji": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFPrFakLikvidator" }, "nullable": true } }, "additionalProperties": false }, "EKPFPrFakLikvidacijaPutRequest": { "required": [ "leto", "likvidacija", "stevilka" ], "type": "object", "properties": { "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "description": "Številka prejetega domačega računa", "format": "int32" }, "leto": { "type": "integer", "description": "Leto prejetega domačega računa", "format": "int32" }, "likvidacija": { "$ref": "#/components/schemas/EKPFPrFakLikvidacija" } }, "additionalProperties": false, "description": "Ažuriranje likvidatorjev fakture. \r\nVedno se ažurirajo vsi likvidatorji, potrebno vnesti vse podatke na novo." }, "EKPFPrFakLikvidator": { "type": "object", "properties": { "likvidator": { "type": "string", "description": "Up. ime uporabnika kot likvidator", "nullable": true }, "vrstniRed": { "type": "integer", "description": "Vrstni red (če je vzporedni likvidator, ostane enak vrstni red)", "format": "int32" } }, "additionalProperties": false }, "EKPFPrFakLikvidiranjeRequest": { "required": [ "leto", "likvidator", "stevilka" ], "type": "object", "properties": { "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "format": "int32" }, "leto": { "type": "integer", "format": "int32" }, "likvidator": { "type": "string", "description": "Uporabnik (username) kot likvidator" } }, "additionalProperties": false, "description": "Base za post request za likvidiranje" }, "EKPFPrFakLinkPrevzem": { "type": "object", "properties": { "prevzemnice": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFPrFakPrevzem" }, "nullable": true }, "odvisniStroski": { "type": "array", "items": { "$ref": "#/components/schemas/EKPFPrFakPrevzem" }, "nullable": true } }, "additionalProperties": false }, "EKPFPrFakLinkPrevzemPutRequest": { "required": [ "leto", "postavke", "stevilka" ], "type": "object", "properties": { "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "description": "Številka prejetega domačega računa", "format": "int32" }, "leto": { "type": "integer", "description": "Leto prejetega domačega računa", "format": "int32" }, "postavke": { "$ref": "#/components/schemas/EKPFPrFakLinkPrevzem" } }, "additionalProperties": false, "description": "Ažuriranje povezanih prevzmenic/odvisnih stroškov fakture. \r\nVedno se ažurirajo vsi podatki prevzemnic, potrebno vnesti vse podatke na novo." }, "EKPFPrFakOpombaPostRequest": { "required": [ "leto", "opomba", "stevilka" ], "type": "object", "properties": { "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "description": "Številka prejetega domačega računa", "format": "int32" }, "leto": { "type": "integer", "description": "Leto prejetega domačega računa", "format": "int32" }, "opomba": { "type": "string", "description": "Opomba fakture" } }, "additionalProperties": false }, "EKPFPrFakPostRequest": { "required": [ "vrstaKnjige" ], "type": "object", "properties": { "tipDokumenta": { "$ref": "#/components/schemas/KPFPrFakTipDokumenta" }, "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32" }, "stevilka": { "type": "integer", "format": "int32", "nullable": true }, "leto": { "type": "integer", "format": "int32", "nullable": true }, "datumKnjizenja": { "type": "string", "format": "date-time", "nullable": true }, "datumPrejema": { "type": "string", "format": "date-time", "nullable": true }, "datumDokumenta": { "type": "string", "format": "date-time", "nullable": true }, "datumStoritve": { "type": "string", "format": "date-time" }, "dobaviteljevaStRacuna": { "type": "string", "nullable": true }, "opisDokumenta": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "dobavitelj": { "$ref": "#/components/schemas/KPFPrFakDobavitelj" }, "trr": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "referencaTip": { "$ref": "#/components/schemas/KPFPrFakSklicZaPlaciloTip" }, "referenca1": { "maxLength": 2, "minLength": 0, "type": "string", "description": "Privzeto \"00\"", "nullable": true }, "referenca2": { "maxLength": 35, "minLength": 0, "type": "string", "nullable": true }, "kodaNamena": { "maxLength": 4, "minLength": 0, "type": "string", "nullable": true }, "rokPlacila": { "type": "string", "format": "date-time", "nullable": true }, "znesek": { "type": "number", "format": "decimal" }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sm2": { "type": "integer", "format": "int32", "nullable": true }, "sm3": { "type": "integer", "format": "int32", "nullable": true }, "skupina": { "type": "integer", "format": "int32", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "eRacExternalId": { "maxLength": 30, "minLength": 0, "type": "string", "description": "UJP/ZZI številka dokumenta (e-Računa) iz ePredala", "nullable": true }, "pr": { "$ref": "#/components/schemas/KPFPrFakPR" }, "priloga": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogaDokument" }, "nullable": true }, "delitevSm": { "$ref": "#/components/schemas/KPFPrFakDelitevSM" }, "kontiranje": { "$ref": "#/components/schemas/EKPFPrFakKontiranje" }, "likvidacija": { "$ref": "#/components/schemas/EKPFPrFakLikvidacija" } }, "additionalProperties": false }, "EKPFPrFakPrevzem": { "type": "object", "properties": { "stevilka": { "type": "string", "description": "Št. prevzemnice FAW", "nullable": true }, "leto": { "type": "integer", "description": "Leto prevzemnice FAW", "format": "int32" }, "celotniZnesek": { "type": "boolean", "description": "Celotni znesek prevzemnice", "default": false, "nullable": true }, "znesek": { "type": "number", "description": "Znesek", "format": "decimal" } }, "additionalProperties": false }, "EKPFPrFakResponse": { "required": [ "vrstaKnjige" ], "type": "object", "properties": { "tipDokumenta": { "$ref": "#/components/schemas/KPFPrFakTipDokumenta" }, "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32" }, "stevilka": { "type": "integer", "format": "int32", "nullable": true }, "leto": { "type": "integer", "format": "int32", "nullable": true }, "datumKnjizenja": { "type": "string", "format": "date-time", "nullable": true }, "datumPrejema": { "type": "string", "format": "date-time", "nullable": true }, "datumDokumenta": { "type": "string", "format": "date-time", "nullable": true }, "datumStoritve": { "type": "string", "format": "date-time" }, "dobaviteljevaStRacuna": { "type": "string", "nullable": true }, "opisDokumenta": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "dobavitelj": { "$ref": "#/components/schemas/KPFPrFakDobavitelj" }, "trr": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "referencaTip": { "$ref": "#/components/schemas/KPFPrFakSklicZaPlaciloTip" }, "referenca1": { "maxLength": 2, "minLength": 0, "type": "string", "description": "Privzeto \"00\"", "nullable": true }, "referenca2": { "maxLength": 35, "minLength": 0, "type": "string", "nullable": true }, "kodaNamena": { "maxLength": 4, "minLength": 0, "type": "string", "nullable": true }, "rokPlacila": { "type": "string", "format": "date-time", "nullable": true }, "znesek": { "type": "number", "format": "decimal" }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "sm2": { "type": "integer", "format": "int32", "nullable": true }, "sm3": { "type": "integer", "format": "int32", "nullable": true }, "skupina": { "type": "integer", "format": "int32", "nullable": true }, "opomba": { "type": "string", "nullable": true }, "eRacExternalId": { "maxLength": 30, "minLength": 0, "type": "string", "description": "UJP/ZZI številka dokumenta (e-Računa) iz ePredala", "nullable": true }, "pr": { "$ref": "#/components/schemas/KPFPrFakPR" }, "priloga": { "type": "array", "items": { "$ref": "#/components/schemas/PrilogaDokument" }, "nullable": true }, "delitevSm": { "$ref": "#/components/schemas/KPFPrFakDelitevSM" }, "kontiranje": { "$ref": "#/components/schemas/EKPFPrFakKontiranje" }, "likvidacija": { "$ref": "#/components/schemas/EKPFPrFakLikvidacija" }, "prevzemniceOdvisni": { "$ref": "#/components/schemas/EKPFPrFakLinkPrevzem" } }, "additionalProperties": false }, "EKPFPrFakZavrniRequest": { "required": [ "leto", "opomba", "stevilka" ], "type": "object", "properties": { "vrstaKnjige": { "type": "integer", "description": "Knjiga prejetih faktur", "format": "int32", "default": null, "nullable": true }, "stevilka": { "type": "integer", "format": "int32" }, "leto": { "type": "integer", "format": "int32" }, "opomba": { "type": "string", "description": "Razlog zavrnitve" } }, "additionalProperties": false, "description": "Request za zavrnitev fakture" }, "EPrisotnostDelavec": { "type": "object", "properties": { "sifra": { "type": "integer", "description": "SLO: Šifra delavca", "format": "int32" }, "naziv": { "type": "string", "description": "Naziv delavca", "nullable": true }, "sm": { "type": "integer", "description": "Štroskovno mesto", "format": "int32" }, "kla3": { "type": "integer", "description": "Klasifikacija 3", "format": "int32" }, "opomba": { "type": "string", "description": "Opombe delavca", "nullable": true } }, "additionalProperties": false }, "EPrisotnostPos": { "type": "object", "properties": { "delavec": { "type": "integer", "description": "Šifra delavca", "format": "int32" }, "sifraVP": { "type": "integer", "description": "Šifra vp", "format": "int32" }, "datum": { "type": "string", "description": "Datum kot dan v mesecu", "format": "date-time" }, "ure": { "type": "number", "description": "Ure", "format": "double" }, "procent": { "type": "number", "description": "Proc.", "format": "double" }, "tocke": { "type": "number", "description": "Točke", "format": "double" }, "koef": { "type": "number", "description": "Koef.", "format": "double" }, "bruto": { "type": "number", "description": "Bruto vrednost v znesku", "format": "decimal" }, "neto": { "type": "number", "description": "Neto vrednost v znesku", "format": "decimal" }, "sm": { "type": "integer", "description": "Šifra sm", "format": "int32" } }, "additionalProperties": false }, "EPrisotnostPostRequest": { "required": [ "datum", "datumIzpl", "id", "naziv", "obrObdobje", "obrObdobjeLeto", "obrObdobjeMesec" ], "type": "object", "properties": { "id": { "type": "integer", "description": "Id paketa - obračuna", "format": "int32" }, "naziv": { "type": "string" }, "obrObdobje": { "type": "string", "description": "Mesec in leto obr. obdobja. (mm.llll)" }, "obrObdobjeMesec": { "maximum": 12, "minimum": 1, "type": "integer", "format": "int32" }, "obrObdobjeLeto": { "maximum": 2900, "minimum": 2019, "type": "integer", "format": "int32" }, "datum": { "type": "string", "description": "Datum obračuna", "format": "date-time" }, "datumIzpl": { "type": "string", "description": "Datum izplačila", "format": "date-time" }, "aktiven": { "type": "boolean", "default": true }, "sm": { "type": "integer", "description": "Stroškovno mesto", "format": "int32" }, "kla3": { "type": "integer", "description": "Kla 3", "format": "int32" }, "delavec": { "type": "array", "items": { "$ref": "#/components/schemas/EPrisotnostDelavec" }, "description": "Delavci", "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/EPrisotnostPos" }, "description": "Postavke - podatki", "nullable": true } }, "additionalProperties": false, "description": "Post request" }, "EPrisotnostResponse": { "type": "object", "properties": { "id": { "type": "integer", "description": "Id paketa - obračuna", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "obrObdobje": { "type": "string", "description": "Mesec in leto obr. obdobja. (mm.llll)", "nullable": true }, "obrObdobjeMesec": { "type": "integer", "format": "int32" }, "obrObdobjeLeto": { "type": "integer", "format": "int32" }, "datum": { "type": "string", "description": "Datum obračuna", "format": "date-time" }, "datumIzpl": { "type": "string", "description": "Datum izplačila", "format": "date-time" }, "aktiven": { "type": "boolean" }, "sm": { "type": "integer", "description": "Stroškovno mesto", "format": "int32" }, "kla3": { "type": "integer", "description": "Kla 3", "format": "int32" }, "delavec": { "type": "array", "items": { "$ref": "#/components/schemas/EPrisotnostDelavec" }, "description": "Delavci", "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/EPrisotnostPos" }, "description": "Postavke - podatki", "nullable": true } }, "additionalProperties": false }, "FA_ART_BARVA": { "type": "object", "properties": { "sifra": { "maxLength": 10, "minLength": 0, "type": "string", "nullable": true }, "naziv": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "zaporedjE_VNOSA": { "type": "integer", "format": "int32", "nullable": true }, "datuM_SPREMEMBE": { "type": "string", "format": "date-time", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_C1": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "prostO_M1": { "type": "string", "nullable": true }, "prostO_M2": { "type": "string", "nullable": true }, "prostO_C2": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C3": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C4": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C5": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C6": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C7": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C8": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C9": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C10": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C11": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_I2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I3": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I4": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I5": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I6": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT3": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT4": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT5": { "type": "integer", "format": "int32", "nullable": true }, "prostO_M3": { "type": "string", "nullable": true }, "prostO_M4": { "type": "string", "nullable": true }, "prostO_M5": { "type": "string", "nullable": true }, "prostO_M6": { "type": "string", "nullable": true }, "prostO_M7": { "type": "string", "nullable": true }, "prostO_M8": { "type": "string", "nullable": true }, "prostO_M9": { "type": "string", "nullable": true }, "prostO_M10": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FA_ART_VELIKOST": { "type": "object", "properties": { "sifra": { "maxLength": 10, "minLength": 0, "type": "string", "nullable": true }, "naziv": { "maxLength": 40, "minLength": 0, "type": "string", "nullable": true }, "zaporedjE_VNOSA": { "type": "integer", "format": "int32", "nullable": true }, "datuM_SPREMEMBE": { "type": "string", "format": "date-time", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_C1": { "maxLength": 80, "minLength": 0, "type": "string", "nullable": true }, "prostO_M1": { "type": "string", "nullable": true }, "prostO_M2": { "type": "string", "nullable": true }, "prostO_C2": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C3": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C4": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C5": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C6": { "maxLength": 100, "minLength": 0, "type": "string", "nullable": true }, "prostO_C7": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C8": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C9": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C10": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_C11": { "maxLength": 150, "minLength": 0, "type": "string", "nullable": true }, "prostO_I2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I3": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I4": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I5": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I6": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT3": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT4": { "type": "integer", "format": "int32", "nullable": true }, "prostO_SIFRANT5": { "type": "integer", "format": "int32", "nullable": true }, "prostO_M3": { "type": "string", "nullable": true }, "prostO_M4": { "type": "string", "nullable": true }, "prostO_M5": { "type": "string", "nullable": true }, "prostO_M6": { "type": "string", "nullable": true }, "prostO_M7": { "type": "string", "nullable": true }, "prostO_M8": { "type": "string", "nullable": true }, "prostO_M9": { "type": "string", "nullable": true }, "prostO_M10": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FA_LOT_PODATKIResponse": { "type": "object", "properties": { "autO_ID": { "type": "integer", "format": "int32", "nullable": true }, "sifra": { "type": "string", "nullable": true }, "lot": { "type": "string", "nullable": true }, "datuM_PROIZVODNJE": { "type": "string", "format": "date-time", "nullable": true }, "datuM_UPORABNOSTI": { "type": "string", "format": "date-time", "nullable": true }, "uporabnik": { "type": "string", "nullable": true }, "iD_UPORABNIK": { "type": "integer", "format": "int32", "nullable": true }, "kdaj": { "type": "string", "format": "date-time", "nullable": true }, "postaja": { "type": "string", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R2": { "type": "number", "format": "decimal", "nullable": true }, "prostO_C1": { "type": "string", "nullable": true }, "prostO_C2": { "type": "string", "nullable": true }, "prostO_D1": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D2": { "type": "string", "format": "date-time", "nullable": true }, "prostO_C3": { "type": "string", "nullable": true }, "prostO_C4": { "type": "string", "nullable": true }, "prostO_C5": { "type": "string", "nullable": true }, "prostO_C6": { "type": "string", "nullable": true }, "prostO_C7": { "type": "string", "nullable": true }, "prostO_C8": { "type": "string", "nullable": true }, "partner": { "type": "integer", "format": "int32", "nullable": true }, "adR_SKUPINA": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FALotPodatkiPostBaseRequest": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "lot": { "type": "string", "nullable": true }, "datumProizvodnje": { "type": "string", "format": "date-time", "nullable": true }, "datumUporabnosti": { "type": "string", "format": "date-time", "nullable": true }, "kdaj": { "type": "string", "format": "date-time", "nullable": true }, "uporabnik": { "type": "string", "nullable": true }, "idUporabnik": { "type": "integer", "format": "int32", "nullable": true }, "postaja": { "type": "string", "nullable": true }, "prostO_I1": { "type": "integer", "format": "int32", "nullable": true }, "prostO_I2": { "type": "integer", "format": "int32", "nullable": true }, "prostO_R1": { "type": "number", "format": "decimal", "nullable": true }, "prostO_R2": { "type": "number", "format": "decimal", "nullable": true }, "prostO_C1": { "type": "string", "nullable": true }, "prostO_C2": { "type": "string", "nullable": true }, "prostO_D1": { "type": "string", "format": "date-time", "nullable": true }, "prostO_D2": { "type": "string", "format": "date-time", "nullable": true }, "prostO_C3": { "type": "string", "nullable": true }, "prostO_C4": { "type": "string", "nullable": true }, "prostO_C5": { "type": "string", "nullable": true }, "prostO_C6": { "type": "string", "nullable": true }, "prostO_C7": { "type": "string", "nullable": true }, "prostO_C8": { "type": "string", "nullable": true }, "partner": { "type": "integer", "format": "int32", "nullable": true }, "adrSkupina": { "type": "string", "nullable": true } }, "additionalProperties": false }, "FieldDeserializationStatus": { "enum": [ 0, 1, 2 ], "type": "integer", "format": "int32", "x-enumNames": [ "NotPresent", "Null", "HasValue" ], "x-enum-varnames": [ "NotPresent", "Null", "HasValue" ] }, "FormulaZaCenoResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "formula": { "type": "string", "nullable": true }, "opis": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GK_SEZNAM_30_60_90": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "partner": { "type": "integer", "format": "int32" }, "partner_naziv": { "type": "string", "nullable": true }, "nezapadlo": { "type": "number", "format": "decimal" }, "vrednosti": { "type": "array", "items": { "$ref": "#/components/schemas/GK_SEZNAM_30_60_90_Vrednost" }, "nullable": true }, "nepovezana": { "type": "number", "format": "decimal" }, "skupaj": { "type": "number", "format": "decimal" } }, "additionalProperties": false }, "GK_SEZNAM_30_60_90_Vrednost": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "meja": { "type": "integer", "format": "int32" }, "vrednost": { "type": "number", "format": "decimal" } }, "additionalProperties": false }, "GKKnjizbaIR": { "type": "object", "properties": { "ddv": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaIRDDV" }, "nullable": true }, "datumZaDDV": { "type": "string", "description": "SLO: Pri računu je to kar datum dokumenta, pri dobropisu pa je datum potrditve dobropisa (lahko pa je tudi prazen datum)\r\nEN: For invoice is date of the document, for creditnote the date of the confirmation of credit(but may be empty)", "format": "date-time", "nullable": true }, "vrednostECL": { "type": "number", "format": "decimal" }, "stevilkaECL": { "maxLength": 30, "type": "string", "nullable": true }, "datumECL": { "type": "string", "format": "date-time", "nullable": true }, "sifraPartnerjaDDV": { "type": "integer", "format": "int32" } }, "additionalProperties": false, "description": "SLO: Podatki namenjeni za davčno knjigo izdanih faktur. Navadno so podatki pripeti kontu 120x, 121x..\r\nEN: Information intended for the tax book of issued invoices.Normally, the data is attached to the account 120x, 121x.." }, "GKKnjizbaIRDDV": { "type": "object", "properties": { "sifraVrsteDDVKnjige": { "type": "integer", "description": "Šifra vrste knjige DDV", "format": "int32" }, "sifraDDV": { "type": "integer", "description": "SLO: Če je polje prazno se ob uvozu avtomatično določi prva primerna šifra knjige IF\r\n1 DDV po stopnji 22%\r\n2 DDV po stopnji 9,5% \r\n4 DDV po stopnji 5% \r\n3 Ne gre v knjigo DDV \r\n5 Oproščen pro. brez pravice do odbitka DDV\r\n6 Oproščen pro.: izvoz in dobave s pravico do odbitka DDV \r\n7 Oproščen pro.: dobave blaga v EU \r\n8 Oproščen pro.: tristranska dobava v EU \r\n9 Oproščen pro.: prodaja blaga na daljavo v \r\n10 Oproščen pro.: montaža in inst. blaga v EU \r\n11 Neobdavčljiv promet s pravico do odbitka DDV \r\n12 Oproščen pro.: dobave storitev v EU \r\n13 Dobave blaga in storitev iz 76.a člen\r\n14 Oproščen pro.: dobave blaga v EU po car.post. 42 in 63 \r\n15 Oproščen pro.: dobava blaga po skladiščenju na odpoklic v EU\r\n101 Davek na finačne storitve 6.5%\r\n102 Davek na finačne storitve 8.5% \r\nEN: If the field is empty then at import app will automatically determine the appropriate code of book of issued invoices.", "format": "int32" }, "osnova": { "type": "number", "format": "decimal" }, "znesek": { "type": "number", "description": "SLO: Vnos je obvezen pri vrsti ddv: ddv_20_promet_znotraj_SLO in ddv_85_promet_znotraj_SLO. Pri ostalih vrstah je znesek prepovedan\r\nEN: This entry is required in the type of VAT: ddv_20_promet_znotraj_SLO and ddv_85_promet_znotraj_SLO.For other species, the amount is prohibited", "format": "decimal" } }, "additionalProperties": false }, "GKKnjizbaPartner": { "type": "object", "properties": { "dodajNovega": { "type": "boolean", "default": false }, "sifra": { "type": "integer", "description": "SLO: Šifra kupca ali dobavitelja v Vasco programu\r\nEN: customer or supplier code in the Vasco app", "format": "int32" }, "tujaSifra": { "type": "string", "description": "SLO: Šifra kupca v programu, iz katerega se uvaža. Program VASCO ob uvozu generira prevajalno tabelo iz tuje šifre v šifro vasco.\r\nEN: Customer code in the program from which they are imported.VASCO program on importation generates conversion table from foreign code in the Vasco code.", "nullable": true }, "naziv1": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "naslov": { "type": "string", "nullable": true }, "posta": { "type": "string", "nullable": true }, "davcna": { "type": "string", "description": "SLO: 8 mestna davčna št., po potrebi davčna št iz tretjih držav\r\nEN: 8 digit tax number, Where appropriate, tax number from third countries", "nullable": true }, "ident": { "type": "string", "description": "SLO: ID številka za zavezance iz EU, tudi iz SLO\r\nEN: Partner VAT ID number for EU countries", "nullable": true } }, "additionalProperties": false }, "GKKnjizbaPostRequest": { "required": [ "datumDokumenta", "datumKnjizenja", "dokument", "konto", "obracunskoObdobjeLeto", "obracunskoObdobjeMesec", "opisDokumenta", "simbol" ], "type": "object", "properties": { "simbol": { "type": "integer", "description": "SLO: Simbol oz vrsta knjižbe iz šifranta Vasco glavne knjige\r\nEN: Symbol or series of entries from the code Vasco Ledger", "format": "int32" }, "dokument": { "type": "string", "description": "SLO: Številka dokumenta ali računa, za prejete fakture zaporedna št. fakture\r\nEN: Document number or invoice number, for received invoices shoul be serial number" }, "datumKnjizenja": { "type": "string", "description": "SLO: Datum namenjen izključno uporabniku kot informacija o datumu nastanka knjižbe - temeljnice\r\nEN: Date of intended solely as information about the user creation date of the entry - journal", "format": "date-time" }, "obracunskoObdobjeMesec": { "maximum": 12, "minimum": 1, "type": "integer", "description": "SLO: Bilančno obdobje, za račune obdobje stroška ali realizacije iz datuma opravljanja storitve\r\nEN: Balance period, for invoices a period of cost or revenues from the date of supply of services", "format": "int32" }, "obracunskoObdobjeLeto": { "maximum": 2050, "minimum": 2019, "type": "integer", "format": "int32" }, "datumDokumenta": { "type": "string", "description": "SLO: Datum dokumenta\r\nEN: Document date", "format": "date-time" }, "opisDokumenta": { "type": "string", "description": "SLO: Dodatna informacija poleg dokumenta\r\nEN: Additional information to document" }, "konto": { "type": "string", "description": "SLO: 4 do 8 mestni analitični konto, možni znaki (0,1,2,3,4,5,6,7,8,9)\r\nEN: 4 to 8 digit analytical account, possible characters are(0,1,2,3,4,5,6,7,8,9)" }, "partner": { "$ref": "#/components/schemas/GKKnjizbaPartner" }, "sm": { "type": "integer", "description": "SLO: Šifra SM\r\nEN: Code of cost centre", "format": "int32" }, "sm2": { "type": "integer", "description": "SLO: Šifra SM2\r\nEN: Code of cost centre2", "format": "int32" }, "sm3": { "type": "integer", "description": "SLO: Šifra SM3\r\nEN: Code of cost centre3", "format": "int32" }, "veza": { "type": "string", "description": "SLO: Veza se vnaša le pri saldakontih (npr 1200,2200). Pri kupcih naj bi pri računih bila veza enaka dokumentu, pri dobropisih pa naj bi bila veza številka dokumenta, na katerega se dobropis nanaša. Pri dobaviteljih ni teh priporočil.\r\nEN: Field is obligatory only in the subject accounts(eg 1200.2200). For issued invoices is the same as document, for the credit notes should be the number of invoice to which the credit applies. For suppliers invoices should be suppliers invoice number.", "nullable": true }, "rokPlacila": { "type": "string", "description": "SLO: Valuta dokumenta\r\nEN: The payment date deadline", "format": "date-time", "default": null, "nullable": true }, "debet": { "type": "number", "description": "SLO: Znesek debit (breme)\r\nEN: The amount of the debit", "format": "decimal" }, "kredit": { "type": "number", "description": "SLO: Znesek kredit (dobro)\r\nEN: The amount of the credit", "format": "decimal" }, "sifraValute": { "type": "integer", "description": "SLO: To polje se vnaša le pri deviznih kontih, npr 1210 ali 2210. Npr: za ameriški dolar se vnese šifra 840, za EUR 978\r\nEN: This field is introduced only in foreign currency accounts, for example, 1210 or 2210. For example: the U.S.dollar code is 840, EUR code is 978", "format": "int32" }, "valutaDebet": { "type": "number", "description": "SLO: Znesek v valuti se vnese le v primeru, če se vnese tudi šifra valute. \r\nDa bo devizni znesek sprejet v glavno knjigo mora biti konto označen kot devizni konto.\r\nEN: The amount of currency is entered only in case the currency code Sifra_valute is entered.That the foreign currency amount is adopted in the general ledger, account must be marked as exchange account.", "format": "decimal" }, "valutaKredit": { "type": "number", "description": "SLO: Znesek v valuti se vnese le v primeru, če se vnese tudi šifra valute. \r\nDa bo devizni znesek sprejet v glavno knjigo mora biti konto označen kot devizni konto.\r\nEN: The amount of currency is entered only in case the currency code Sifra_valute is entered.That the foreign currency amount is adopted in the general ledger, account must be marked as exchange account.", "format": "decimal" }, "ir": { "$ref": "#/components/schemas/GKKnjizbaIR" }, "pr": { "$ref": "#/components/schemas/GKKnjizbaPR" }, "vem": { "$ref": "#/components/schemas/GKKnjizbaVEM" }, "otvoritev": { "type": "boolean", "description": "SLO: Ali je knjižba otvoritvena knjižba: 0=ne, 1=da. \r\n Navadno je obdobje dokumenta(mesec leto) jan.\r\nEN: Is there an entry opening an entry: 0 = no, 1 = yes.\r\n Usually, the period of the document than is in January", "default": false }, "prosto01": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto02": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto03": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto04": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto05": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto06": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto07": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prosto08": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "nullable": true }, "prostoD1": { "type": "string", "description": "SLO: Dodatni prosti podatki pri knjižbi\r\nEN: Additional free information on accounting entries", "format": "date-time", "default": null, "nullable": true }, "priloga": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaPrilogaDokument" }, "description": "SLO: Tu so našteta imena datotek za uvoz v Vasco dokumentni sistem. \r\nEN: Here are listed the names of files for import into the Vasco document management system.", "nullable": true }, "prilogaZunanja": { "$ref": "#/components/schemas/GKKnjizbaPrilogaUrl" } }, "additionalProperties": false, "description": "Post request" }, "GKKnjizbaPR": { "type": "object", "properties": { "ddv": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaPRDDV" }, "nullable": true }, "datumPrejema": { "type": "string", "description": "SLO: Podatek za obdobje davčne knjige\r\nEN: Data for the period of the tax books", "format": "date-time" }, "stevilkaECL": { "maxLength": 30, "type": "string", "nullable": true }, "datumECL": { "type": "string", "format": "date-time", "nullable": true }, "carinskiPostopek": { "maxLength": 6, "type": "string", "nullable": true } }, "additionalProperties": false, "description": "SLO: Podatki namenjeni za davčno knjigo prejetih faktur. Navadno so podatki pripeti kontu 220x, 221x..\r\nEN: Information intended for the tax book of incoming invoices.Normally, the data is attached to the account 220x, 221x.." }, "GKKnjizbaPRDDV": { "type": "object", "properties": { "sifraVrsteDDVKnjige": { "type": "integer", "description": "Šifra vrste knjige DDV", "format": "int32" }, "sifraDDV": { "type": "integer", "description": "2 Oproščene nabave\r\n3 Ne gre v knjigo\r\n4 DDV 9,5% (se ne odbija)\r\n5 DDV 22% (se ne odbija)\r\n61 DDV 5% (se ne odbija)\r\n6 DDV 9,5% vstopni\r\n7 DDV 22% vstopni\r\n62 DDV 5% vstopni\r\n8 Pavšal 4% (vstopni)\r\n9 Pavšal 4% (se ne odbija)\r\n32 Pavšal 8% (vstopni)\r\n33 Pavšal 8% (se ne odbija)\r\n12 Samoobd.: Obrač. DDV 9,5% (kot prej. b.in s.)\r\n13 Samoobd.: Obrač. DDV 22% (kot prej. b.in s.)\r\n63 Samoobd.: Obrač. DDV 5% (kot prej. b.in s.)\r\n30 Samoobd.: Vstopni DDV 9,5% (kot prej. b.in s.)\r\n31 Samoobd.: Vstopni DDV 22% (kot prej. b.in s.)\r\n64 Samoobd.: Vstopni DDV 5% (kot prej. b.in s.)\r\n52 Samoobd.: Vst. DDV 9,5%(kot prej. b.in s.)(se ne odbija)\r\n53 Samoobd.: Vst. DDV 22%(kot prej. b.in s.)(se ne odbija) \r\n65 Samoobd.: Vst. DDV 5%(kot prej. b.in s.)(se ne odbija) \r\n34 Samoobd.: Obračunani DDV 9,5% (76.a člen)\r\n35 Samoobd.: Obračunani DDV 22% (76.a člen)\r\n36 Samoobd.: Vstopni DDV 9,5% (76.a člen)\r\n37 Samoobd.: Vstopni DDV 22% (76.a člen)\r\n54 Samoobd.: Vst. DDV 9,5%(76.a člen)(se ne odbija)\r\n55 Samoobd.: Vst. DDV 22%(76.a člen)(se ne odbija\r\n\r\n20 EU: Prid.zn.sk.:Obračunani DDV 9.5% (blago)\r\n21 EU: Prid.zn.sk.:Obračunani DDV 22% (blago)\r\n71 EU: Prid.zn.sk.:Obračunani DDV 5% (blago)\r\n22 EU: Prid.zn.sk.:Vstopni DDV 9.5% (blago)\r\n23 EU: Prid.zn.sk.:Vstopni DDV 22% (blago)\r\n72 EU: Prid.zn.sk.:Vstopni DDV 5% (blago)\r\n28 EU: Prid.zn.sk.:Vstopni DDV 9.5% (blago) (se ne odbija)\r\n29 EU: Prid.zn.sk.:Vstopni DDV 22% (blago) (se ne odbija)\r\n73 EU: Prid.zn.sk.:Vstopni DDV 5% (blago) (se ne odbija)\r\n18 EU: Prid.zn.sk.:Oproščene pridobitve blaga\r\n19 EU: Prid.zn.sk.:Tristranske pridobitve blaga\r\n38 EU: Prid.zn.sk.:Obračunani DDV 9.5% (stor.)\r\n39 EU: Prid.zn.sk.:Obračunani DDV 22% (stor.)\r\n74 EU: Prid.zn.sk.:Obračunani DDV 5% (stor.)\r\n40 EU: Prid.zn.sk.:Vstopni DDV 9.5% (stor.)\r\n41 EU: Prid.zn.sk.:Vstopni DDV 22% (stor.)\r\n75 EU: Prid.zn.sk.:Vstopni DDV 5% (stor.)\r\n44 EU: Prid.zn.sk.:Vstopni DDV 9.5% (stor.) (se ne odbija)\r\n45 EU: Prid.zn.sk.:Vstopni DDV 22% (stor.) (se ne odbija)\r\n76 EU: Prid.zn.sk.:Vstopni DDV 5% (stor.) (se ne odbija)\r\n42 EU: Prid.zn.sk.:Oproščene pridobitve storitev\r\n43 EU: Prid.zn.sk.:Tristranske pridobitve storitev\r\n\r\n10 Uvoz: Vstopni DDV 9,5%\r\n11 Uvoz: Vstopni DDV 22%\r\n81 Uvoz: Vstopni DDV 5%\r\n14 Uvoz: Davčna osnova pri uvozu blaga\r\n15 Uvoz: Oproščene nabave\r\n26 Uvoz: Vstopni DDV 9,5% (se ne odbija)\r\n27 Uvoz: Vstopni DDV 22% (se ne odbija)\r\n82 Uvoz: Vstopni DDV 5% (se ne odbija)\r\n46 Uvoz: Samoobd.: Vstopni DDV 9,5%\r\n47 Uvoz: Samoobd.: Vstopni DDV 22%\r\n83 Uvoz: Samoobd.: Vstopni DDV 5%\r\n48 Uvoz: Samoobd.: Obračunani DDV 9,5%\r\n49 Uvoz: Samoobd.: Obračunani DDV 22%\r\n84 Uvoz: Samoobd.: Obračunani DDV 5%\r\n50 Uvoz: Samoobd.: Vstopni DDV 9,5% (se ne odbija)\r\n51 Uvoz: Samoobd.: Vstopni DDV 22% (se ne odbija)\r\n85 Uvoz: Samoobd.: Vstopni DDV 5% (se ne odbija)", "format": "int32" }, "osnova": { "type": "number", "format": "decimal" }, "znesek": { "type": "number", "format": "decimal" }, "datumZaDDV": { "type": "string", "description": "SLO: To polje se vnese, kadar želiš, da gre dogotek v davčno knjigo z različnim datumom od Datum_prejema.\r\nEN: This field is entered where you want to book the event in the tax book with a different date from the date of receipt (field name: Datum_prejema)", "format": "date-time", "nullable": true }, "sifraPartnerjaDDV": { "type": "integer", "description": "SLO: Vnese se le v primeru, ko nosilni konto ni saldakonto (npr pri knjiženju DDV preko blagajne)\r\nEN: Enter only when the carrier is not saldakonto account(for example, when the entry of VAT through the Treasury)", "format": "int32" } }, "additionalProperties": false }, "GKKnjizbaPrilogaDokument": { "type": "object", "properties": { "dokumentVsebina": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaPrilogaDokumentVsebina" }, "description": "Seznam dokumentov oz. strani", "nullable": true } }, "additionalProperties": false }, "GKKnjizbaPrilogaDokumentVsebina": { "type": "object", "properties": { "nazivDatoteke": { "type": "string", "description": "Naziv datoteke", "nullable": true }, "vsebina": { "type": "string", "description": "Vsebina kot Base64", "nullable": true } }, "additionalProperties": false }, "GKKnjizbaPrilogaUrl": { "type": "object", "properties": { "url": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GkKnjizbaRequestTipAkcije": { "enum": [ 1, 2, 3, 4 ], "type": "integer", "description": "Tip akcije", "format": "int32", "x-enumNames": [ "SamoKontrolaBrezKontroleSifrantov", "SamoKontrola", "ZapisBrezKontroleSifrantov", "Zapis" ], "x-enum-varnames": [ "SamoKontrolaBrezKontroleSifrantov", "SamoKontrola", "ZapisBrezKontroleSifrantov", "Zapis" ] }, "GKKnjizbaTipApiEnum": { "enum": [ 1, 2 ], "type": "integer", "format": "int32", "x-enumNames": [ "SamoOdprte", "DelniOdprtiZneski" ], "x-enum-varnames": [ "SamoOdprte", "DelniOdprtiZneski" ] }, "GKKnjizbaVEM": { "type": "object", "properties": { "ddv": { "type": "array", "items": { "$ref": "#/components/schemas/GKKnjizbaVEMDDV" }, "nullable": true }, "drzava": { "type": "integer", "description": "SLO: Država\r\nEN: Country", "format": "int32" }, "datumZaDDV": { "type": "string", "description": "SLO: To polje se vnese, kadar želiš, da gre dogotek v davčno knjigo z različnim datumom od Datum_dkumenta.\r\nEN: This field is entered where you want to book the event in the tax book with a different date from the date of invoice (field name: Datum_dokumenta)", "format": "date-time", "nullable": true }, "popravekDDVMesec": { "type": "integer", "format": "int32" }, "popravekDDVLeto": { "type": "integer", "format": "int32" } }, "additionalProperties": false, "description": "SLO: Prodaja preko spleta. Obračuna se tuji ddv, ki se prijavi v sistem VEM (vse na enem mestu)\r\nEN: OSS (one-stop-shop)" }, "GKKnjizbaVEMDDV": { "type": "object", "properties": { "sifraDDV": { "type": "integer", "description": "SLO: Šifra knjige IF\r\nEN: Code of book of issued invoices.", "format": "int32" }, "osnova": { "type": "number", "format": "decimal" }, "znesek": { "type": "number", "description": "SLO: Vnos je obvezen pri vrsti ddv: ddv_20_promet_znotraj_SLO in ddv_85_promet_znotraj_SLO. Pri ostalih vrstah je znesek prepovedan\r\nEN: This entry is required in the type of VAT: ddv_20_promet_znotraj_SLO and ddv_85_promet_znotraj_SLO.For other species, the amount is prohibited", "format": "decimal" }, "procent": { "type": "number", "format": "decimal" }, "tipDobave": { "type": "integer", "description": "SLO: 0-Blago 1-Storitve \r\nEN: 0-Goods 1-Service", "format": "int32" } }, "additionalProperties": false }, "GKKumulativaPoSmResponse": { "type": "object", "properties": { "konto": { "type": "string", "nullable": true }, "sm": { "type": "integer", "format": "int32", "nullable": true }, "otvoritev": { "type": "integer", "format": "int32", "nullable": true }, "debet": { "type": "number", "format": "decimal" }, "kredit": { "type": "number", "format": "decimal" } }, "additionalProperties": false, "description": "Rezultat poizvedbe poročila" }, "GKOdprtaPostavkaReponse": { "type": "object", "properties": { "entityID": { "type": "string", "nullable": true }, "parentEntityID": { "type": "string", "nullable": true }, "dokument": { "type": "string", "nullable": true }, "stevilkA_VEZA": { "type": "string", "nullable": true }, "letO_VEZA": { "type": "integer", "format": "int32", "nullable": true }, "veza": { "type": "string", "nullable": true }, "opiS_DOKUMENTA": { "type": "string", "nullable": true }, "datuM_DOKUMENTA": { "type": "string", "format": "date-time", "nullable": true }, "meseC_OBR_OBDOBJA": { "type": "integer", "format": "int32", "nullable": true }, "letO_OBR_OBDOBJA": { "type": "integer", "format": "int32", "nullable": true }, "roK_PLACILA": { "type": "string", "format": "date-time", "nullable": true }, "konto": { "type": "string", "nullable": true }, "zneseK_RACUNA": { "type": "number", "format": "decimal" }, "zneseK_PLACILA": { "type": "number", "format": "decimal" }, "saldo": { "type": "number", "format": "decimal" }, "partner": { "type": "integer", "format": "int32", "nullable": true }, "partneR_NAZIV": { "type": "string", "nullable": true }, "partneR_NAZIV2": { "type": "string", "nullable": true }, "partneR_NASLOV": { "type": "string", "nullable": true }, "partneR_POSTA": { "type": "string", "nullable": true }, "partneR_TELEFON": { "type": "string", "nullable": true }, "partneR_GSM": { "type": "string", "nullable": true }, "partneR_E_POSTA": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GKPorociloDetailResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "sM1": { "type": "string", "nullable": true }, "sM2": { "type": "string", "nullable": true }, "sM3": { "type": "string", "nullable": true }, "odDatuma": { "type": "string", "format": "date-time", "nullable": true }, "doDatuma": { "type": "string", "format": "date-time", "nullable": true }, "vTisoc": { "type": "integer", "format": "int32", "nullable": true }, "stolpci": { "type": "array", "items": { "$ref": "#/components/schemas/GkPorociloStolpec" }, "nullable": true }, "vrstice": { "type": "array", "items": { "$ref": "#/components/schemas/GkPorociloVrstica" }, "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/GkPorociloPostavka" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedbe poročila z nastavitvami" }, "GkPorociloPostavka": { "type": "object", "properties": { "stolpec": { "type": "integer", "format": "int32", "nullable": true }, "vrstica": { "type": "integer", "format": "int32", "nullable": true }, "formula": { "type": "string", "nullable": true }, "odDatuma": { "type": "string", "format": "date-time", "nullable": true }, "doDatuma": { "type": "string", "format": "date-time", "nullable": true }, "sM1": { "type": "string", "nullable": true }, "sM2": { "type": "string", "nullable": true }, "sM3": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GKPorociloResponse": { "type": "object", "properties": { "sifra": { "type": "integer", "format": "int32", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "sM1": { "type": "string", "nullable": true }, "sM2": { "type": "string", "nullable": true }, "sM3": { "type": "string", "nullable": true }, "odDatuma": { "type": "string", "format": "date-time", "nullable": true }, "doDatuma": { "type": "string", "format": "date-time", "nullable": true }, "vTisoc": { "type": "integer", "format": "int32", "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedbe poročila" }, "GkPorociloStolpec": { "type": "object", "properties": { "stolpec": { "type": "integer", "format": "int32", "nullable": true }, "legenda": { "type": "string", "nullable": true }, "odDatuma": { "type": "string", "format": "date-time", "nullable": true }, "doDatuma": { "type": "string", "format": "date-time", "nullable": true }, "direktorij": { "type": "string", "nullable": true }, "sektor": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GkPorociloVrstica": { "type": "object", "properties": { "zaporedna": { "type": "string", "nullable": true }, "vrstica": { "type": "integer", "format": "int32", "nullable": true }, "oznaka": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "naziv2": { "type": "string", "nullable": true }, "naziv3": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GKTrackTracePutRequest": { "required": [ "id" ], "type": "object", "properties": { "id": { "type": "string", "description": "IDji knjižb za postavljanje statusa. Lista idjev ločena z vejico." } }, "additionalProperties": false }, "GKTrackTraceResponse": { "type": "object", "properties": { "paymentDate": { "type": "string", "description": "PaymentDate (datum dokumenta): Date of the payment receipt", "format": "date-time" }, "paymentType": { "type": "integer", "description": "Type of payment: \r\n1-Bank transfer\r\n2-Bank card\r\n3-Cash\r\n4-Other", "format": "int32" }, "paymentAmmount": { "type": "number", "description": "Amount of the payment", "format": "double" }, "paymentCurrency": { "type": "string", "description": "Currency of the payment", "nullable": true }, "paymentPayer1": { "type": "integer", "description": "Identification if the payer is located in the EU: \r\n0 - No, 1 - Yes", "format": "int32" }, "payerId": { "type": "integer", "description": "Identity of the payer", "format": "int32" }, "paymentInvoice": { "type": "integer", "description": "Indication if the payment corresponds to the existing invoice (Invoice payed): 1 - yes, 0 - no", "format": "int32" }, "invoicePaid": { "type": "string", "description": "Number of the invoice paid with the payment", "nullable": true }, "paymentComment": { "type": "string", "description": "Comments by the reporting entity", "nullable": true }, "paymentId": { "type": "integer", "description": "Vasco knjižba Id", "format": "int32" } }, "additionalProperties": false, "description": "Track And Trace - seznam plačil" }, "GlavnaGrupaResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "naziv": { "type": "string", "nullable": true }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false }, "GrupaTujNazivResponse": { "type": "object", "properties": { "sifra": { "type": "string", "nullable": true }, "drzava": { "type": "integer", "format": "int32" }, "naziv": { "type": "string", "nullable": true }, "opis": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po grupah tuj naziv" }, "InterniPostavkePutPostBaseRequest": { "required": [ "kolicina", "sifra" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "sifra": { "maxLength": 18, "minLength": 1, "type": "string", "description": "Šifra artikla" }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "prodajnaCenaZDdv": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "stopnjaDdv": { "maximum": 3, "minimum": 0, "type": "integer", "format": "int32" }, "serijskeStevilke": { "type": "array", "items": { "$ref": "#/components/schemas/InterniSerijskePostBaseRequest" }, "nullable": true } }, "additionalProperties": false }, "InterniPostavkeResponse": { "type": "object", "properties": { "zs": { "type": "integer", "format": "int32" }, "sifra": { "type": "string", "description": "Šifra artikla", "nullable": true }, "kolicina": { "type": "number", "format": "decimal" }, "prodajnaCena": { "type": "number", "format": "decimal" }, "rabat1": { "type": "number", "format": "decimal" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true } }, "additionalProperties": false }, "InterniPostBaseRequest": { "required": [ "datum" ], "type": "object", "properties": { "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "description": "Seznami dodatnih polj za vnos oz. ažuriranje", "nullable": true }, "datum": { "type": "string", "format": "date-time" }, "izSkladisca": { "type": "integer", "format": "int32" }, "naSkladisce": { "type": "integer", "format": "int32" }, "tip": { "type": "integer", "format": "int32" }, "partner": { "type": "integer", "format": "int32" }, "prodajalna": { "type": "integer", "format": "int32" }, "komercialist": { "type": "string", "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/InterniPostavkePutPostBaseRequest" }, "nullable": true } }, "additionalProperties": false, "description": "Base za post request" }, "InterniPostResponse": { "type": "object", "properties": { "leto": { "type": "integer", "format": "int32", "nullable": true }, "stevilka": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Response po vnosu internega" }, "InterniPrenosPostavkePutRequest": { "required": [ "leto", "stevilka" ], "type": "object", "properties": { "stevilka": { "type": "string" }, "leto": { "type": "integer", "format": "int32" }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/InterniPostavkePutPostBaseRequest" }, "nullable": true } }, "additionalProperties": false, "description": "Dodajanje postavk na interni prenos" }, "InterniPrenosPostavkePutResponse": { "type": "object", "properties": { "leto": { "type": "integer", "format": "int32", "nullable": true }, "stevilka": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Response po dodajanju postavk na naročilo" }, "InterniResponse": { "type": "object", "properties": { "stevilka": { "type": "string", "nullable": true }, "leto": { "type": "integer", "format": "int32" }, "datum": { "type": "string", "format": "date-time" }, "partner": { "type": "integer", "format": "int32" }, "izSkladisca": { "type": "integer", "format": "int32" }, "naSkladisce": { "type": "integer", "format": "int32" }, "tip": { "type": "integer", "format": "int32" }, "dodatnaPolja": { "type": "array", "items": { "$ref": "#/components/schemas/DodatnoPolje" }, "nullable": true }, "postavke": { "type": "array", "items": { "$ref": "#/components/schemas/InterniPostavkeResponse" }, "nullable": true } }, "additionalProperties": false, "description": "Rezultat poizvedb po internih" }, "InterniSerijskePostBaseRequest": { "type": "object", "properties": { "serijska": { "type": "string", "nullable": true } }, "additionalProperties": false }, "IzvozProdajeParagoniDobavniceResponse": { "type": "object", "properties": { "dobavitelj": { "type": "integer", "format": "int32" }, "nazivDobavitelj": { "type": "string", "nullable": true }, "kupec": { "type": "integer", "format": "int32" }, "nazivKupec": { "type": "string", "nullable": true }, "prodajalna": { "type": "integer", "format": "int32" }, "nazivProdajalne": { "type": "string", "nullable": true }, "sifraArtikla": { "type": "string", "nullable": true }, "nazivArtikl