Chilkat Online Tools

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

Back to Collection Items

#include <C_CkHttp.h>
#include <C_CkHttpRequest.h>
#include <C_CkJsonObject.h>
#include <C_CkHttpResponse.h>
#include <C_CkStringBuilder.h>

void ChilkatSample(void)
    {
    HCkHttp http;
    BOOL success;
    HCkHttpRequest req;
    HCkJsonObject jsonParam6;
    HCkJsonObject jsonParam7;
    HCkHttpResponse resp;
    HCkStringBuilder sbResponseBody;
    HCkJsonObject jResp;
    int respStatusCode;

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

    http = CkHttp_Create();

    req = CkHttpRequest_Create();
    CkHttpRequest_AddParam(req,"TaksNo","2000-01-31T00:00:00");
    CkHttpRequest_AddParam(req,"TaksLidz","2000-01-31T00:00:00");
    CkHttpRequest_AddParam(req,"Epasts","nisi aliqua exercitation i");
    CkHttpRequest_AddParam(req,"Talrunis","ut Du");
    CkHttpRequest_AddParam(req,"Sagatavotajs","qui sint eu minim velit");

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

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

    CkHttpRequest_AddHeader(req,"Accept","application/json");

    resp = CkHttp_PostUrlEncoded(http,"https://eds.vid.gov.lv/api/doc/ninav2",req);
    if (CkHttp_getLastMethodSuccess(http) == FALSE) {
        printf("%s\n",CkHttp_lastErrorText(http));
        CkHttp_Dispose(http);
        CkHttpRequest_Dispose(req);
        CkJsonObject_Dispose(jsonParam6);
        CkJsonObject_Dispose(jsonParam7);
        return;
    }

    sbResponseBody = CkStringBuilder_Create();
    CkHttpResponse_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObject_Create();
    CkJsonObject_LoadSb(jResp,sbResponseBody);
    CkJsonObject_putEmitCompact(jResp,FALSE);

    printf("Response Body:\n");
    printf("%s\n",CkJsonObject_emit(jResp));

    respStatusCode = CkHttpResponse_getStatusCode(resp);
    printf("Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        printf("Response Header:\n");
        printf("%s\n",CkHttpResponse_header(resp));
        printf("Failed.\n");
        CkHttpResponse_Dispose(resp);
        CkHttp_Dispose(http);
        CkHttpRequest_Dispose(req);
        CkJsonObject_Dispose(jsonParam6);
        CkJsonObject_Dispose(jsonParam7);
        CkStringBuilder_Dispose(sbResponseBody);
        CkJsonObject_Dispose(jResp);
        return;
    }

    CkHttpResponse_Dispose(resp);


    CkHttp_Dispose(http);
    CkHttpRequest_Dispose(req);
    CkJsonObject_Dispose(jsonParam6);
    CkJsonObject_Dispose(jsonParam7);
    CkStringBuilder_Dispose(sbResponseBody);
    CkJsonObject_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": ""
    }
  ]
}