PowerBuilder / EDS API / Izveidot dokumentu "Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)".
Back to Collection Items
integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_Req
oleobject loo_JsonParam10
oleobject loo_JsonParam11
oleobject loo_JsonParam12
oleobject loo_JsonParam13
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_Req = create oleobject
// Use "Chilkat_9_5_0.HttpRequest" for versions of Chilkat < 10.0.0
li_rc = loo_Req.ConnectToNewObject("Chilkat.HttpRequest")
loo_Req.AddParam("Talrunis","officia")
loo_Req.AddParam("Epasts","sed Duis ipsum velit")
loo_Req.AddParam("NmVeids","consectetur eiusmod")
loo_Req.AddParam("Sagatavotajs","in dolor fugiat")
loo_Req.AddParam("LikmesDatums","2000-01-31T00:00:00")
loo_Req.AddParam("PrecuGrupas","Lorem ipsum in eiusmod Duis")
loo_Req.AddParam("InvDatums","2000-01-31T00:00:00")
loo_Req.AddParam("MaksTermins","2000-01-31T00:00:00")
loo_Req.AddParam("NmAkcNumuri","exercitation proident amet minim")
loo_JsonParam10 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonParam10.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonParam10.UpdateInt("LikmeId",19045861)
loo_JsonParam10.UpdateString("Kods","ea eiusmod minim")
loo_JsonParam10.UpdateNumber("K3","99072710.93324569")
loo_JsonParam10.UpdateNumber("K4","-52288543.80061416")
loo_Req.AddParam("Tabula",loo_JsonParam10.Emit())
loo_JsonParam11 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonParam11.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonParam11.UpdateInt("LikmeId",58464960)
loo_JsonParam11.UpdateString("Kods","incididunt ad elit dolore")
loo_JsonParam11.UpdateNumber("K3","-66438685.93992628")
loo_JsonParam11.UpdateNumber("K4","-76963244.11346848")
loo_Req.AddParam("Tabula",loo_JsonParam11.Emit())
loo_JsonParam12 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonParam12.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonParam12.UpdateString("Dokuments","tempor reprehenderit")
loo_JsonParam12.UpdateString("Fails.value","<Error: Too many levels of nesting to fake this schema>")
loo_JsonParam12.UpdateString("Komentars","ex ullamco sint dolor")
loo_Req.AddParam("Pielikumi",loo_JsonParam12.Emit())
loo_JsonParam13 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonParam13.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonParam13.UpdateString("Dokuments","incididunt")
loo_JsonParam13.UpdateString("Fails.value","<Error: Too many levels of nesting to fake this schema>")
loo_JsonParam13.UpdateString("Komentars","quis deserunt est laboris")
loo_Req.AddParam("Pielikumi",loo_JsonParam13.Emit())
loo_Req.AddParam("NmrKods","in")
loo_Req.AddParam("Precizejums","false")
loo_Req.AddParam("PrecizejamaisDokuments","-79541863")
loo_Req.AddParam("PrecizejumaPamatojums","Lorem ut sed")
loo_Req.AddHeader("Accept","application/json")
loo_Resp = loo_Http.PostUrlEncoded("https://eds.vid.gov.lv/api/doc/aniav3",loo_Req)
if loo_Http.LastMethodSuccess = 0 then
Write-Debug loo_Http.LastErrorText
destroy loo_Http
destroy loo_Req
destroy loo_JsonParam10
destroy loo_JsonParam11
destroy loo_JsonParam12
destroy loo_JsonParam13
return
end if
loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")
loo_Resp.GetBodySb(loo_SbResponseBody)
loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")
loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0
Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()
li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
Write-Debug "Response Header:"
Write-Debug loo_Resp.Header
Write-Debug "Failed."
destroy loo_Resp
destroy loo_Http
destroy loo_Req
destroy loo_JsonParam10
destroy loo_JsonParam11
destroy loo_JsonParam12
destroy loo_JsonParam13
destroy loo_SbResponseBody
destroy loo_JResp
return
end if
destroy loo_Resp
destroy loo_Http
destroy loo_Req
destroy loo_JsonParam10
destroy loo_JsonParam11
destroy loo_JsonParam12
destroy loo_JsonParam13
destroy loo_SbResponseBody
destroy loo_JResp
Curl Command
curl -X POST
-H "Content-Type: application/x-www-form-urlencoded"
-H "Accept: application/json"
--data-urlencode 'Talrunis=officia'
--data-urlencode 'Epasts=sed Duis ipsum velit'
--data-urlencode 'NmVeids=consectetur eiusmod'
--data-urlencode 'Sagatavotajs=in dolor fugiat'
--data-urlencode 'LikmesDatums=2000-01-31T00:00:00'
--data-urlencode 'PrecuGrupas=Lorem ipsum in eiusmod Duis'
--data-urlencode 'InvDatums=2000-01-31T00:00:00'
--data-urlencode 'MaksTermins=2000-01-31T00:00:00'
--data-urlencode 'NmAkcNumuri=exercitation proident amet minim'
--data-urlencode 'Tabula={"LikmeId":19045861,"Kods":"ea eiusmod minim","K3":99072710.93324569,"K4":-52288543.80061416}'
--data-urlencode 'Tabula={"LikmeId":58464960,"Kods":"incididunt ad elit dolore","K3":-66438685.93992628,"K4":-76963244.11346848}'
--data-urlencode 'Pielikumi={"Dokuments":"tempor reprehenderit","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ex ullamco sint dolor"}'
--data-urlencode 'Pielikumi={"Dokuments":"incididunt","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"quis deserunt est laboris"}'
--data-urlencode 'NmrKods=in'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-79541863'
--data-urlencode 'PrecizejumaPamatojums=Lorem ut sed'
https://eds.vid.gov.lv/api/doc/aniav3
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)\".",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "officia",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "sed Duis ipsum velit",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "consectetur eiusmod",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "in dolor fugiat",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "Lorem ipsum in eiusmod Duis",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "exercitation proident amet minim",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":19045861,\"Kods\":\"ea eiusmod minim\",\"K3\":99072710.93324569,\"K4\":-52288543.80061416}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":58464960,\"Kods\":\"incididunt ad elit dolore\",\"K3\":-66438685.93992628,\"K4\":-76963244.11346848}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"tempor reprehenderit\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ex ullamco sint dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"incididunt\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"quis deserunt est laboris\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "in",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-79541863",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "Lorem ut sed",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "-12855709"
},
{
"name": "Pieprasījuma dati ir kļūdaini.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājam nav tiesību veikt šo darbību.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Dokumenta unikalitātes ierobežojums. Dokuments par norādīto periodu jau izveidots. Lai izveidotu atkārtoti, izmantojiet jaunu drošības talonu.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Conflict",
"code": 409,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Pārsniegts izsaukumu skaita ierobežojums.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}