C / EDS API / Izveidot dokumentu "Paziņojums par PVN samaksu".
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 jsonParam5;
HCkJsonObject jsonParam6;
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,"Epasts","eiusmod deserunt et");
CkHttpRequest_AddParam(req,"Talrunis","ci");
CkHttpRequest_AddParam(req,"IesniegsanasIemesls","dolor nulla consectetur");
CkHttpRequest_AddParam(req,"IzslegsanasDatums","2000-01-31T00:00:00");
jsonParam5 = CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam5,"DarVeids","cupidatat enim irure in");
CkJsonObject_UpdateNumber(jsonParam5,"VertibaDar","-63681398.40149607");
CkJsonObject_UpdateNumber(jsonParam5,"PvnVertiba","-53125710.538811654");
CkJsonObject_UpdateString(jsonParam5,"SamDatums","2000-01-31T00:00:00");
CkJsonObject_UpdateString(jsonParam5,"DpValsts","dolore reprehenderit");
CkJsonObject_UpdateString(jsonParam5,"DpNumurs","ex et");
CkJsonObject_UpdateString(jsonParam5,"DpNosaukums","non proident");
CkJsonObject_UpdateString(jsonParam5,"MiNumurs","ad enim");
CkJsonObject_UpdateString(jsonParam5,"DokVeids","dolor");
CkJsonObject_UpdateString(jsonParam5,"DokNumurs","irure proi");
CkJsonObject_UpdateString(jsonParam5,"DokDatums","2000-01-31T00:00:00");
CkJsonObject_UpdateString(jsonParam5,"Piezimes","in ea et");
CkHttpRequest_AddParam(req,"Tabula",CkJsonObject_emit(jsonParam5));
jsonParam6 = CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam6,"DarVeids","sint officia irure pariatur");
CkJsonObject_UpdateNumber(jsonParam6,"VertibaDar","-43606258.34851573");
CkJsonObject_UpdateNumber(jsonParam6,"PvnVertiba","75375256.44965553");
CkJsonObject_UpdateString(jsonParam6,"SamDatums","2000-01-31T00:00:00");
CkJsonObject_UpdateString(jsonParam6,"DpValsts","velit ullamco");
CkJsonObject_UpdateString(jsonParam6,"DpNumurs","quis");
CkJsonObject_UpdateString(jsonParam6,"DpNosaukums","enim dol");
CkJsonObject_UpdateString(jsonParam6,"MiNumurs","ullamco am");
CkJsonObject_UpdateString(jsonParam6,"DokVeids","Excepteur exercitation nostrud eiusmod");
CkJsonObject_UpdateString(jsonParam6,"DokNumurs","qui");
CkJsonObject_UpdateString(jsonParam6,"DokDatums","2000-01-31T00:00:00");
CkJsonObject_UpdateString(jsonParam6,"Piezimes","sed exercitation magna incididunt");
CkHttpRequest_AddParam(req,"Tabula",CkJsonObject_emit(jsonParam6));
CkHttpRequest_AddParam(req,"NmrKods","minim aute");
CkHttpRequest_AddParam(req,"Precizejums","false");
CkHttpRequest_AddParam(req,"PrecizejamaisDokuments","-70337099");
CkHttpRequest_AddParam(req,"PrecizejumaPamatojums","in consectetur ad laborum cillum");
CkHttpRequest_AddHeader(req,"Accept","application/json");
resp = CkHttp_PostUrlEncoded(http,"https://eds.vid.gov.lv/api/doc/pvnsv2",req);
if (CkHttp_getLastMethodSuccess(http) == FALSE) {
printf("%s\n",CkHttp_lastErrorText(http));
CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonParam5);
CkJsonObject_Dispose(jsonParam6);
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(jsonParam5);
CkJsonObject_Dispose(jsonParam6);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
return;
}
CkHttpResponse_Dispose(resp);
CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonParam5);
CkJsonObject_Dispose(jsonParam6);
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 '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": ""
}
]
}