Chilkat Online Tools

unicodeC / EDS API / Izveidot dokumentu "Paziņojums par PVN samaksu".

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 jsonParam5;
    HCkJsonObjectW jsonParam6;
    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"Epasts",L"eiusmod deserunt et");
    CkHttpRequestW_AddParam(req,L"Talrunis",L"ci");
    CkHttpRequestW_AddParam(req,L"IesniegsanasIemesls",L"dolor nulla consectetur");
    CkHttpRequestW_AddParam(req,L"IzslegsanasDatums",L"2000-01-31T00:00:00");

    jsonParam5 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam5,L"DarVeids",L"cupidatat enim irure in");
    CkJsonObjectW_UpdateNumber(jsonParam5,L"VertibaDar",L"-63681398.40149607");
    CkJsonObjectW_UpdateNumber(jsonParam5,L"PvnVertiba",L"-53125710.538811654");
    CkJsonObjectW_UpdateString(jsonParam5,L"SamDatums",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam5,L"DpValsts",L"dolore reprehenderit");
    CkJsonObjectW_UpdateString(jsonParam5,L"DpNumurs",L"ex et");
    CkJsonObjectW_UpdateString(jsonParam5,L"DpNosaukums",L"non proident");
    CkJsonObjectW_UpdateString(jsonParam5,L"MiNumurs",L"ad enim");
    CkJsonObjectW_UpdateString(jsonParam5,L"DokVeids",L"dolor");
    CkJsonObjectW_UpdateString(jsonParam5,L"DokNumurs",L"irure proi");
    CkJsonObjectW_UpdateString(jsonParam5,L"DokDatums",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam5,L"Piezimes",L"in ea et");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam5));

    jsonParam6 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam6,L"DarVeids",L"sint officia irure pariatur");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"VertibaDar",L"-43606258.34851573");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"PvnVertiba",L"75375256.44965553");
    CkJsonObjectW_UpdateString(jsonParam6,L"SamDatums",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam6,L"DpValsts",L"velit ullamco");
    CkJsonObjectW_UpdateString(jsonParam6,L"DpNumurs",L"quis");
    CkJsonObjectW_UpdateString(jsonParam6,L"DpNosaukums",L"enim dol");
    CkJsonObjectW_UpdateString(jsonParam6,L"MiNumurs",L"ullamco am");
    CkJsonObjectW_UpdateString(jsonParam6,L"DokVeids",L"Excepteur exercitation nostrud eiusmod");
    CkJsonObjectW_UpdateString(jsonParam6,L"DokNumurs",L"qui");
    CkJsonObjectW_UpdateString(jsonParam6,L"DokDatums",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam6,L"Piezimes",L"sed exercitation magna incididunt");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam6));
    CkHttpRequestW_AddParam(req,L"NmrKods",L"minim aute");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-70337099");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"in consectetur ad laborum cillum");

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

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

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam5);
    CkJsonObjectW_Dispose(jsonParam6);
    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 'Epasts=eiusmod deserunt et'
	--data-urlencode 'Talrunis=ci'
	--data-urlencode 'IesniegsanasIemesls=dolor nulla consectetur'
	--data-urlencode 'IzslegsanasDatums=2000-01-31T00:00:00'
	--data-urlencode 'Tabula={"DarVeids":"cupidatat enim irure in","VertibaDar":-63681398.40149607,"PvnVertiba":-53125710.538811654,"SamDatums":"2000-01-31T00:00:00","DpValsts":"dolore reprehenderit","DpNumurs":"ex et","DpNosaukums":"non proident","MiNumurs":"ad enim","DokVeids":"dolor","DokNumurs":"irure proi","DokDatums":"2000-01-31T00:00:00","Piezimes":"in ea et"}'
	--data-urlencode 'Tabula={"DarVeids":"sint officia irure pariatur","VertibaDar":-43606258.34851573,"PvnVertiba":75375256.44965553,"SamDatums":"2000-01-31T00:00:00","DpValsts":"velit ullamco","DpNumurs":"quis","DpNosaukums":"enim dol","MiNumurs":"ullamco am","DokVeids":"Excepteur exercitation nostrud eiusmod","DokNumurs":"qui","DokDatums":"2000-01-31T00:00:00","Piezimes":"sed exercitation magna incididunt"}'
	--data-urlencode 'NmrKods=minim aute'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-70337099'
	--data-urlencode 'PrecizejumaPamatojums=in consectetur ad laborum cillum'
https://eds.vid.gov.lv/api/doc/pvnsv2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Paziņojums par PVN samaksu\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "Epasts",
          "value": "eiusmod deserunt et",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "ci",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "IesniegsanasIemesls",
          "value": "dolor nulla consectetur",
          "description": "(Required) Iesniegšanas iemesls."
        },
        {
          "key": "IzslegsanasDatums",
          "value": "2000-01-31T00:00:00",
          "description": "Izslēgšanas datums."
        },
        {
          "key": "Tabula",
          "value": "{\"DarVeids\":\"cupidatat enim irure in\",\"VertibaDar\":-63681398.40149607,\"PvnVertiba\":-53125710.538811654,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"dolore reprehenderit\",\"DpNumurs\":\"ex et\",\"DpNosaukums\":\"non proident\",\"MiNumurs\":\"ad enim\",\"DokVeids\":\"dolor\",\"DokNumurs\":\"irure proi\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"in ea et\"}",
          "description": "PVNSv2 datu tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"DarVeids\":\"sint officia irure pariatur\",\"VertibaDar\":-43606258.34851573,\"PvnVertiba\":75375256.44965553,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit ullamco\",\"DpNumurs\":\"quis\",\"DpNosaukums\":\"enim dol\",\"MiNumurs\":\"ullamco am\",\"DokVeids\":\"Excepteur exercitation nostrud eiusmod\",\"DokNumurs\":\"qui\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sed exercitation magna incididunt\"}",
          "description": "PVNSv2 datu tabula."
        },
        {
          "key": "NmrKods",
          "value": "minim aute ",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-70337099",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "in consectetur ad laborum cillum",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/pvnsv2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "pvnsv2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}