DataFlex / EDS API / Izveidot dokumentu "Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)".
Back to Collection Items
Use ChilkatAx-win32.pkg
Procedure Test
Handle hoHttp
Boolean iSuccess
Variant vReq
Handle hoReq
Handle hoJsonParam10
Handle hoJsonParam11
Handle hoJsonParam12
Handle hoJsonParam13
Variant vResp
Handle hoResp
Variant vSbResponseBody
Handle hoSbResponseBody
Handle hoJResp
Integer iRespStatusCode
String sTemp1
Boolean bTemp1
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
Get Create (RefClass(cComChilkatHttp)) To hoHttp
If (Not(IsComObjectCreated(hoHttp))) Begin
Send CreateComObject of hoHttp
End
Get Create (RefClass(cComChilkatHttpRequest)) To hoReq
If (Not(IsComObjectCreated(hoReq))) Begin
Send CreateComObject of hoReq
End
Send ComAddParam To hoReq "Talrunis" "cillum"
Send ComAddParam To hoReq "Epasts" "eu in"
Send ComAddParam To hoReq "NmVeids" "74762931"
Send ComAddParam To hoReq "Sagatavotajs" "magna id commodo Lorem"
Send ComAddParam To hoReq "LikmesDatums" "2000-01-31T00:00:00"
Send ComAddParam To hoReq "PrecuGrupas" "deserunt sint Duis"
Send ComAddParam To hoReq "InvDatums" "2000-01-31T00:00:00"
Send ComAddParam To hoReq "MaksTermins" "2000-01-31T00:00:00"
Send ComAddParam To hoReq "NmAkcNumuri" "sed culpa dolor ullamco"
Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam10
If (Not(IsComObjectCreated(hoJsonParam10))) Begin
Send CreateComObject of hoJsonParam10
End
Get ComUpdateInt Of hoJsonParam10 "LikmeId" 46072443 To iSuccess
Get ComUpdateString Of hoJsonParam10 "Kods" "Lorem proident" To iSuccess
Get ComUpdateInt Of hoJsonParam10 "K3" 99373324 To iSuccess
Get ComUpdateNumber Of hoJsonParam10 "K4" "-72992920.64185536" To iSuccess
Get ComEmit Of hoJsonParam10 To sTemp1
Send ComAddParam To hoReq "Tabula" sTemp1
Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam11
If (Not(IsComObjectCreated(hoJsonParam11))) Begin
Send CreateComObject of hoJsonParam11
End
Get ComUpdateInt Of hoJsonParam11 "LikmeId" 26583316 To iSuccess
Get ComUpdateString Of hoJsonParam11 "Kods" "non adipisicing in eu" To iSuccess
Get ComUpdateInt Of hoJsonParam11 "K3" 98858263 To iSuccess
Get ComUpdateNumber Of hoJsonParam11 "K4" "-772656.0302214772" To iSuccess
Get ComEmit Of hoJsonParam11 To sTemp1
Send ComAddParam To hoReq "Tabula" sTemp1
Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam12
If (Not(IsComObjectCreated(hoJsonParam12))) Begin
Send CreateComObject of hoJsonParam12
End
Get ComUpdateString Of hoJsonParam12 "Dokuments" "pariatur elit voluptate dolore" To iSuccess
Get ComUpdateString Of hoJsonParam12 "Fails.value" "<Error: Too many levels of nesting to fake this schema>" To iSuccess
Get ComUpdateString Of hoJsonParam12 "Komentars" "cupidatat esse do aute Lorem" To iSuccess
Get ComEmit Of hoJsonParam12 To sTemp1
Send ComAddParam To hoReq "Pielikumi" sTemp1
Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam13
If (Not(IsComObjectCreated(hoJsonParam13))) Begin
Send CreateComObject of hoJsonParam13
End
Get ComUpdateString Of hoJsonParam13 "Dokuments" "commodo dolor velit voluptate" To iSuccess
Get ComUpdateString Of hoJsonParam13 "Fails.value" "<Error: Too many levels of nesting to fake this schema>" To iSuccess
Get ComUpdateString Of hoJsonParam13 "Komentars" "ullamco non commodo veniam aliquip" To iSuccess
Get ComEmit Of hoJsonParam13 To sTemp1
Send ComAddParam To hoReq "Pielikumi" sTemp1
Send ComAddParam To hoReq "NmrKods" "proident q"
Send ComAddParam To hoReq "Precizejums" "false"
Send ComAddParam To hoReq "PrecizejamaisDokuments" "-34940401"
Send ComAddParam To hoReq "PrecizejumaPamatojums" "adipisicing et culpa"
Send ComAddHeader To hoReq "Accept" "application/json"
Get pvComObject of hoReq to vReq
Get ComPostUrlEncoded Of hoHttp "https://eds.vid.gov.lv/api/doc/aniav2" vReq To vResp
If (IsComObject(vResp)) Begin
Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
Set pvComObject Of hoResp To vResp
End
Get ComLastMethodSuccess Of hoHttp To bTemp1
If (bTemp1 = False) Begin
Get ComLastErrorText Of hoHttp To sTemp1
Showln sTemp1
Procedure_Return
End
Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
Send CreateComObject of hoSbResponseBody
End
Get pvComObject of hoSbResponseBody to vSbResponseBody
Get ComGetBodySb Of hoResp vSbResponseBody To iSuccess
Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
If (Not(IsComObjectCreated(hoJResp))) Begin
Send CreateComObject of hoJResp
End
Get pvComObject of hoSbResponseBody to vSbResponseBody
Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
Set ComEmitCompact Of hoJResp To False
Showln "Response Body:"
Get ComEmit Of hoJResp To sTemp1
Showln sTemp1
Get ComStatusCode Of hoResp To iRespStatusCode
Showln "Response Status Code = " iRespStatusCode
If (iRespStatusCode >= 400) Begin
Showln "Response Header:"
Get ComHeader Of hoResp To sTemp1
Showln sTemp1
Showln "Failed."
Send Destroy of hoResp
Procedure_Return
End
Send Destroy of hoResp
End_Procedure
Curl Command
curl -X POST
-H "Content-Type: application/x-www-form-urlencoded"
-H "Accept: application/json"
--data-urlencode 'Talrunis=cillum'
--data-urlencode 'Epasts=eu in'
--data-urlencode 'NmVeids=74762931'
--data-urlencode 'Sagatavotajs=magna id commodo Lorem'
--data-urlencode 'LikmesDatums=2000-01-31T00:00:00'
--data-urlencode 'PrecuGrupas=deserunt sint Duis'
--data-urlencode 'InvDatums=2000-01-31T00:00:00'
--data-urlencode 'MaksTermins=2000-01-31T00:00:00'
--data-urlencode 'NmAkcNumuri=sed culpa dolor ullamco'
--data-urlencode 'Tabula={"LikmeId":46072443,"Kods":"Lorem proident","K3":99373324,"K4":-72992920.64185536}'
--data-urlencode 'Tabula={"LikmeId":26583316,"Kods":"non adipisicing in eu","K3":98858263,"K4":-772656.0302214772}'
--data-urlencode 'Pielikumi={"Dokuments":"pariatur elit voluptate dolore","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"cupidatat esse do aute Lorem"}'
--data-urlencode 'Pielikumi={"Dokuments":"commodo dolor velit voluptate","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ullamco non commodo veniam aliquip"}'
--data-urlencode 'NmrKods=proident q'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-34940401'
--data-urlencode 'PrecizejumaPamatojums=adipisicing et culpa'
https://eds.vid.gov.lv/api/doc/aniav2
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": "cillum",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "eu in",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "74762931",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "magna id commodo Lorem",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "deserunt sint Duis",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "sed culpa dolor ullamco",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":46072443,\"Kods\":\"Lorem proident\",\"K3\":99373324,\"K4\":-72992920.64185536}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":26583316,\"Kods\":\"non adipisicing in eu\",\"K3\":98858263,\"K4\":-772656.0302214772}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"pariatur elit voluptate dolore\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"cupidatat esse do aute Lorem\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"commodo dolor velit voluptate\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ullamco non commodo veniam aliquip\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "proident q",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-34940401",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "adipisicing et culpa",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"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": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"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": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"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": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"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": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"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": "si",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "nulla culpa laboris et",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "18845029",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "velit",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "occaecat laborum nisi dolore",
"description": "Nodokļa likmes preču grupas (saraksts ar ID)."
},
{
"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": "minim dolor deserunt commodo",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":51507065,\"Kods\":\"laboris exercitation\",\"K3\":-85549917,\"K4\":94546906.19964531}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-61185201,\"Kods\":\"adipisicing pariatur Duis\",\"K3\":-79080076,\"K4\":-216111.90662880242}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in\",\"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\":\"qui amet reprehenderit laborum\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"Duis cons\",\"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\":\"ut in ullamco dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "e",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-21224761",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "aliqua quis dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav2"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}