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"officia");
    CkHttpRequestW_AddParam(req,L"Epasts",L"sed Duis ipsum velit");
    CkHttpRequestW_AddParam(req,L"NmVeids",L"consectetur eiusmod");
    CkHttpRequestW_AddParam(req,L"Sagatavotajs",L"in dolor fugiat");
    CkHttpRequestW_AddParam(req,L"LikmesDatums",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"PrecuGrupas",L"Lorem ipsum in eiusmod 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"exercitation proident amet minim");

    jsonParam10 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateInt(jsonParam10,L"LikmeId",19045861);
    CkJsonObjectW_UpdateString(jsonParam10,L"Kods",L"ea eiusmod minim");
    CkJsonObjectW_UpdateNumber(jsonParam10,L"K3",L"99072710.93324569");
    CkJsonObjectW_UpdateNumber(jsonParam10,L"K4",L"-52288543.80061416");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam10));

    jsonParam11 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateInt(jsonParam11,L"LikmeId",58464960);
    CkJsonObjectW_UpdateString(jsonParam11,L"Kods",L"incididunt ad elit dolore");
    CkJsonObjectW_UpdateNumber(jsonParam11,L"K3",L"-66438685.93992628");
    CkJsonObjectW_UpdateNumber(jsonParam11,L"K4",L"-76963244.11346848");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam11));

    jsonParam12 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam12,L"Dokuments",L"tempor reprehenderit");
    CkJsonObjectW_UpdateString(jsonParam12,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam12,L"Komentars",L"ex ullamco sint dolor");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam12));

    jsonParam13 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam13,L"Dokuments",L"incididunt");
    CkJsonObjectW_UpdateString(jsonParam13,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam13,L"Komentars",L"quis deserunt est laboris");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam13));
    CkHttpRequestW_AddParam(req,L"NmrKods",L"in");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-79541863");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"Lorem ut sed");

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

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/aniav3",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=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": ""
    }
  ]
}