Chilkat Online Tools

unicodeC / EDS API / Izveidot dokumentu "Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)".

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkHttpRequestW req;
    HCkJsonObjectW jsonParam10;
    HCkJsonObjectW jsonParam11;
    HCkJsonObjectW jsonParam12;
    HCkJsonObjectW jsonParam13;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    http = CkHttpW_Create();

    req = CkHttpRequestW_Create();
    CkHttpRequestW_AddParam(req,L"Talrunis",L"cillum");
    CkHttpRequestW_AddParam(req,L"Epasts",L"eu in");
    CkHttpRequestW_AddParam(req,L"NmVeids",L"74762931");
    CkHttpRequestW_AddParam(req,L"Sagatavotajs",L"magna id commodo Lorem");
    CkHttpRequestW_AddParam(req,L"LikmesDatums",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"PrecuGrupas",L"deserunt sint Duis");
    CkHttpRequestW_AddParam(req,L"InvDatums",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"MaksTermins",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"NmAkcNumuri",L"sed culpa dolor ullamco");

    jsonParam10 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateInt(jsonParam10,L"LikmeId",46072443);
    CkJsonObjectW_UpdateString(jsonParam10,L"Kods",L"Lorem proident");
    CkJsonObjectW_UpdateInt(jsonParam10,L"K3",99373324);
    CkJsonObjectW_UpdateNumber(jsonParam10,L"K4",L"-72992920.64185536");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam10));

    jsonParam11 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateInt(jsonParam11,L"LikmeId",26583316);
    CkJsonObjectW_UpdateString(jsonParam11,L"Kods",L"non adipisicing in eu");
    CkJsonObjectW_UpdateInt(jsonParam11,L"K3",98858263);
    CkJsonObjectW_UpdateNumber(jsonParam11,L"K4",L"-772656.0302214772");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam11));

    jsonParam12 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam12,L"Dokuments",L"pariatur elit voluptate dolore");
    CkJsonObjectW_UpdateString(jsonParam12,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam12,L"Komentars",L"cupidatat esse do aute Lorem");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam12));

    jsonParam13 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam13,L"Dokuments",L"commodo dolor velit voluptate");
    CkJsonObjectW_UpdateString(jsonParam13,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam13,L"Komentars",L"ullamco non commodo veniam aliquip");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam13));
    CkHttpRequestW_AddParam(req,L"NmrKods",L"proident q");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-34940401");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"adipisicing et culpa");

    CkHttpRequestW_AddHeader(req,L"Accept",L"application/json");

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/aniav2",req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam10);
        CkJsonObjectW_Dispose(jsonParam11);
        CkJsonObjectW_Dispose(jsonParam12);
        CkJsonObjectW_Dispose(jsonParam13);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam10);
        CkJsonObjectW_Dispose(jsonParam11);
        CkJsonObjectW_Dispose(jsonParam12);
        CkJsonObjectW_Dispose(jsonParam13);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam10);
    CkJsonObjectW_Dispose(jsonParam11);
    CkJsonObjectW_Dispose(jsonParam12);
    CkJsonObjectW_Dispose(jsonParam13);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }

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": ""
    }
  ]
}