Chilkat Online Tools

Objective-C / EDS API / Izveidot dokumentu "IeIeN avansa maksājumu aprēķins no saimnieciskās darbības".

Back to Collection Items

#import <CkoHttp.h>
#import <CkoHttpRequest.h>
#import <CkoJsonObject.h>
#import <CkoHttpResponse.h>
#import <CkoStringBuilder.h>

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

CkoHttp *http = [[CkoHttp alloc] init];
BOOL success;

CkoHttpRequest *req = [[CkoHttpRequest alloc] init];
[req AddParam: @"ParskGads" value: @"-83951702"];
[req AddParam: @"Epasts" value: @"irure"];
[req AddParam: @"Talrunis" value: @"non sed"];
[req AddParam: @"Sagatavotajs" value: @"qui nisi fugiat irure cillum"];
[req AddParam: @"PrecizetsAvanss" value: @"true"];
[req AddParam: @"Gramatina" value: @"true"];
[req AddParam: @"Pirmstaksac" value: @"-54588698.64014355"];
[req AddParam: @"Prognoze" value: @"97569849.08257464"];
[req AddParam: @"NeaplMin" value: @"-49770640.77327245"];
[req AddParam: @"Atvieglojumi" value: @"30978332.25873421"];
[req AddParam: @"Papildu" value: @"87746908.73043701"];
[req AddParam: @"Ienakums" value: @"-29782402.252732918"];
[req AddParam: @"Summa1" value: @"-93290287.22262941"];
[req AddParam: @"Summa2" value: @"72123630.9810856"];
[req AddParam: @"Avanss" value: @"26577345.621076003"];
[req AddParam: @"Maksat" value: @"43685698.03802377"];
[req AddParam: @"Maijam" value: @"23069235.365286157"];
[req AddParam: @"Augustam" value: @"24463852.92602402"];
[req AddParam: @"Novembrim" value: @"-8773589.000599638"];
[req AddParam: @"NakGadam" value: @"-10846760.263477325"];

CkoJsonObject *jsonParam21 = [[CkoJsonObject alloc] init];
[jsonParam21 UpdateString: @"Fails.value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[jsonParam21 UpdateString: @"Komentars" value: @"pariatur Duis"];
[req AddParam: @"Pielikumi" value: [jsonParam21 Emit]];

CkoJsonObject *jsonParam22 = [[CkoJsonObject alloc] init];
[jsonParam22 UpdateString: @"Fails.value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[jsonParam22 UpdateString: @"Komentars" value: @"ullamco sint consectetur amet Duis"];
[req AddParam: @"Pielikumi" value: [jsonParam22 Emit]];
[req AddParam: @"MaksajumuDatumuNobide" value: @"false"];
[req AddParam: @"NmrKods" value: @"amet"];
[req AddParam: @"Precizejums" value: @"true"];
[req AddParam: @"PrecizejamaisDokuments" value: @"24369404"];
[req AddParam: @"PrecizejumaPamatojums" value: @"veniam"];

[req AddHeader: @"Accept" value: @"application/json"];

CkoHttpResponse *resp = [http PostUrlEncoded: @"https://eds.vid.gov.lv/api/doc/avav3" req: req];
if (http.LastMethodSuccess == NO) {
    NSLog(@"%@",http.LastErrorText);
    return;
}

CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
[resp GetBodySb: sbResponseBody];

CkoJsonObject *jResp = [[CkoJsonObject alloc] init];
[jResp LoadSb: sbResponseBody];
jResp.EmitCompact = NO;

NSLog(@"%@",@"Response Body:");
NSLog(@"%@",[jResp Emit]);

int respStatusCode = [resp.StatusCode intValue];
NSLog(@"%@%d",@"Response Status Code = ",respStatusCode);
if (respStatusCode >= 400) {
    NSLog(@"%@",@"Response Header:");
    NSLog(@"%@",resp.Header);
    NSLog(@"%@",@"Failed.");

    return;
}

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'ParskGads=-83951702'
	--data-urlencode 'Epasts=irure'
	--data-urlencode 'Talrunis=non sed'
	--data-urlencode 'Sagatavotajs=qui nisi fugiat irure cillum'
	--data-urlencode 'PrecizetsAvanss=true'
	--data-urlencode 'Gramatina=true'
	--data-urlencode 'Pirmstaksac=-54588698.64014355'
	--data-urlencode 'Prognoze=97569849.08257464'
	--data-urlencode 'NeaplMin=-49770640.77327245'
	--data-urlencode 'Atvieglojumi=30978332.25873421'
	--data-urlencode 'Papildu=87746908.73043701'
	--data-urlencode 'Ienakums=-29782402.252732918'
	--data-urlencode 'Summa1=-93290287.22262941'
	--data-urlencode 'Summa2=72123630.9810856'
	--data-urlencode 'Avanss=26577345.621076003'
	--data-urlencode 'Maksat=43685698.03802377'
	--data-urlencode 'Maijam=23069235.365286157'
	--data-urlencode 'Augustam=24463852.92602402'
	--data-urlencode 'Novembrim=-8773589.000599638'
	--data-urlencode 'NakGadam=-10846760.263477325'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"pariatur Duis"}'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ullamco sint consectetur amet Duis"}'
	--data-urlencode 'MaksajumuDatumuNobide=false'
	--data-urlencode 'NmrKods=amet'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=24369404'
	--data-urlencode 'PrecizejumaPamatojums=veniam'
https://eds.vid.gov.lv/api/doc/avav3

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"IeIeN avansa maksājumu aprēķins no saimnieciskās darbības\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "ParskGads",
          "value": "-83951702",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "irure ",
          "description": "(Required) Iesniedzēja epasts."
        },
        {
          "key": "Talrunis",
          "value": "non sed",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "qui nisi fugiat irure cillum",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "PrecizetsAvanss",
          "value": "true",
          "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
        },
        {
          "key": "Gramatina",
          "value": "true",
          "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
        },
        {
          "key": "Pirmstaksac",
          "value": "-54588698.64014355"
        },
        {
          "key": "Prognoze",
          "value": "97569849.08257464"
        },
        {
          "key": "NeaplMin",
          "value": "-49770640.77327245"
        },
        {
          "key": "Atvieglojumi",
          "value": "30978332.25873421"
        },
        {
          "key": "Papildu",
          "value": "87746908.73043701"
        },
        {
          "key": "Ienakums",
          "value": "-29782402.252732918"
        },
        {
          "key": "Summa1",
          "value": "-93290287.22262941"
        },
        {
          "key": "Summa2",
          "value": "72123630.9810856"
        },
        {
          "key": "Avanss",
          "value": "26577345.621076003"
        },
        {
          "key": "Maksat",
          "value": "43685698.03802377"
        },
        {
          "key": "Maijam",
          "value": "23069235.365286157"
        },
        {
          "key": "Augustam",
          "value": "24463852.92602402"
        },
        {
          "key": "Novembrim",
          "value": "-8773589.000599638"
        },
        {
          "key": "NakGadam",
          "value": "-10846760.263477325"
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"pariatur Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ullamco sint consectetur amet Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "MaksajumuDatumuNobide",
          "value": "false",
          "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
        },
        {
          "key": "NmrKods",
          "value": "amet",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "24369404",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "veniam",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/avav3",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "avav3"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}