Chilkat Online Tools

unicodeC / EDS API / Izveidot dokumentu "Pārskats par nekustamā īpašuma nodokļa atlaižu piemērošanu".

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 jsonParam6;
    HCkJsonObjectW jsonParam7;
    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"TaksNo",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"TaksLidz",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"Epasts",L"nisi aliqua exercitation i");
    CkHttpRequestW_AddParam(req,L"Talrunis",L"ut Du");
    CkHttpRequestW_AddParam(req,L"Sagatavotajs",L"qui sint eu minim velit");

    jsonParam6 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam6,L"NmrKods",L"exercit");
    CkJsonObjectW_UpdateString(jsonParam6,L"NmrNos",L"laboris minim");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"AprNodoklis",L"64436936.639737606");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"PasvAtlaide10p",L"57151730.73127589");
    CkJsonObjectW_UpdateString(jsonParam6,L"Ieguldijumi[0].value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam6,L"Ieguldijumi[1].value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam6,L"IeguldNos",L"magna");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"LikAtlaide6p",L"-96708705.09289923");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"PasvAtlaide6p",L"-67378075.7604864");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"PasvSamAtlaide6p",L"48176826.36900696");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"PapildusSumma",L"-95173907.17047283");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam6));

    jsonParam7 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam7,L"NmrKods",L"sit");
    CkJsonObjectW_UpdateString(jsonParam7,L"NmrNos",L"mollit quis");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"AprNodoklis",L"-35069126.74183789");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"PasvAtlaide10p",L"-80664557.63724849");
    CkJsonObjectW_UpdateString(jsonParam7,L"Ieguldijumi[0].value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam7,L"Ieguldijumi[1].value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam7,L"IeguldNos",L"eiusmod irure");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"LikAtlaide6p",L"6480994.27095668");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"PasvAtlaide6p",L"-34211698.40032814");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"PasvSamAtlaide6p",L"12212589.175849333");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"PapildusSumma",L"59736170.70152205");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam7));
    CkHttpRequestW_AddParam(req,L"NmrKods",L"nos");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"52429257");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"non id labo");

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

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/ninav2",req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam6);
        CkJsonObjectW_Dispose(jsonParam7);
        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(jsonParam6);
        CkJsonObjectW_Dispose(jsonParam7);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam6);
    CkJsonObjectW_Dispose(jsonParam7);
    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 'TaksNo=2000-01-31T00:00:00'
	--data-urlencode 'TaksLidz=2000-01-31T00:00:00'
	--data-urlencode 'Epasts=nisi aliqua exercitation i'
	--data-urlencode 'Talrunis=ut Du'
	--data-urlencode 'Sagatavotajs=qui sint eu minim velit'
	--data-urlencode 'Tabula={"NmrKods":"exercit","NmrNos":"laboris minim","AprNodoklis":64436936.639737606,"PasvAtlaide10p":57151730.73127589,"Ieguldijumi":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"IeguldNos":"magna","LikAtlaide6p":-96708705.09289923,"PasvAtlaide6p":-67378075.7604864,"PasvSamAtlaide6p":48176826.36900696,"PapildusSumma":-95173907.17047283}'
	--data-urlencode 'Tabula={"NmrKods":"sit","NmrNos":"mollit quis","AprNodoklis":-35069126.74183789,"PasvAtlaide10p":-80664557.63724849,"Ieguldijumi":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"IeguldNos":"eiusmod irure","LikAtlaide6p":6480994.27095668,"PasvAtlaide6p":-34211698.40032814,"PasvSamAtlaide6p":12212589.175849333,"PapildusSumma":59736170.70152205}'
	--data-urlencode 'NmrKods=nos'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=52429257'
	--data-urlencode 'PrecizejumaPamatojums=non id labo'
https://eds.vid.gov.lv/api/doc/ninav2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Pārskats par nekustamā īpašuma nodokļa atlaižu piemērošanu\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "TaksNo",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Gets or sets the taxation date from."
        },
        {
          "key": "TaksLidz",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Gets or sets the taxation date to."
        },
        {
          "key": "Epasts",
          "value": "nisi aliqua exercitation i",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "ut Du",
          "description": "Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "qui sint eu minim velit",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "Tabula",
          "value": "{\"NmrKods\":\"exercit\",\"NmrNos\":\"laboris minim\",\"AprNodoklis\":64436936.639737606,\"PasvAtlaide10p\":57151730.73127589,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"magna\",\"LikAtlaide6p\":-96708705.09289923,\"PasvAtlaide6p\":-67378075.7604864,\"PasvSamAtlaide6p\":48176826.36900696,\"PapildusSumma\":-95173907.17047283}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"NmrKods\":\"sit\",\"NmrNos\":\"mollit quis\",\"AprNodoklis\":-35069126.74183789,\"PasvAtlaide10p\":-80664557.63724849,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"eiusmod irure\",\"LikAtlaide6p\":6480994.27095668,\"PasvAtlaide6p\":-34211698.40032814,\"PasvSamAtlaide6p\":12212589.175849333,\"PapildusSumma\":59736170.70152205}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "NmrKods",
          "value": "nos",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "52429257",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "non id labo",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/ninav2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "ninav2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}