Chilkat Online Tools

Objective-C / EDS API / Izveidot dokumentu "Dzīvības apdrošināšanas līgumu maksājumi".

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: @"Epasts" value: @"T#caP+.oSpBBcaN6\./6/{\``L}.+7bi.|=$MzSAAp.KhxY5^=`a"];
[req AddParam: @".ohO@8H.EwWģ0.an7ņņIāL.ķ2bčo.Ky7hNEAčUr.MnāTT" value: @""];
[req AddParam: @"Talrunis" value: @"  "];
[req AddParam: @"TaksGads" value: @"-1674260"];
[req AddParam: @"NmrKods" value: @"ut Ut Excepteur do"];

CkoJsonObject *jsonParam6 = [[CkoJsonObject alloc] init];
[jsonParam6 UpdateString: @"PKods" value: @"fugiat"];
[jsonParam6 UpdateString: @"VU" value: @"magna velit minim"];
[jsonParam6 UpdateString: @"Polise" value: @"fugiat occaecat sint"];
[jsonParam6 UpdateString: @"Sak" value: @"2000-01-31T00:00:00"];
[jsonParam6 UpdateString: @"Beig" value: @"2000-01-31T00:00:00"];
[jsonParam6 UpdateString: @"Partr" value: @"2000-01-31T00:00:00"];
[jsonParam6 UpdateNumber: @"Premija" numericStr: @"17770189.63475232"];
[jsonParam6 UpdateBool: @"Anul" value: YES];
[jsonParam6 UpdateString: @"Scale[0].value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[jsonParam6 UpdateString: @"Scale[1].value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[req AddParam: @"Table" value: [jsonParam6 Emit]];

CkoJsonObject *jsonParam7 = [[CkoJsonObject alloc] init];
[jsonParam7 UpdateString: @"PKods" value: @"labore"];
[jsonParam7 UpdateString: @"VU" value: @"qui minim ad magna ex"];
[jsonParam7 UpdateString: @"Polise" value: @"sint Duis"];
[jsonParam7 UpdateString: @"Sak" value: @"2000-01-31T00:00:00"];
[jsonParam7 UpdateString: @"Beig" value: @"2000-01-31T00:00:00"];
[jsonParam7 UpdateString: @"Partr" value: @"2000-01-31T00:00:00"];
[jsonParam7 UpdateNumber: @"Premija" numericStr: @"65928432.68381202"];
[jsonParam7 UpdateBool: @"Anul" value: YES];
[jsonParam7 UpdateString: @"Scale[0].value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[jsonParam7 UpdateString: @"Scale[1].value" value: @"<Error: Too many levels of nesting to fake this schema>"];
[req AddParam: @"Table" value: [jsonParam7 Emit]];
[req AddParam: @"Precizejums" value: @"true"];
[req AddParam: @"PrecizejamaisDokuments" value: @"-25135351"];
[req AddParam: @"PrecizejumaPamatojums" value: @"veniam dolor in qui"];

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

CkoHttpResponse *resp = [http PostUrlEncoded: @"https://eds.vid.gov.lv/api/doc/dzav2" 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 'Epasts=T#caP+.oSpBBcaN6\./6/{\`%%gL}.+7bi.|=$MzSAAp.KhxY5^=`a&.ohO@8H.EwWģ0.an7ņņIāL.ķ2bčo.Ky7hNEAčUr.MnāTT'
	--data-urlencode 'Talrunis=  '
	--data-urlencode 'TaksGads=-1674260'
	--data-urlencode 'NmrKods=ut Ut Excepteur do'
	--data-urlencode 'Table={"PKods":"fugiat","VU":"magna velit minim","Polise":"fugiat occaecat sint","Sak":"2000-01-31T00:00:00","Beig":"2000-01-31T00:00:00","Partr":"2000-01-31T00:00:00","Premija":17770189.63475232,"Anul":true,"Scale":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}]}'
	--data-urlencode 'Table={"PKods":"labore","VU":"qui minim ad magna ex","Polise":"sint Duis","Sak":"2000-01-31T00:00:00","Beig":"2000-01-31T00:00:00","Partr":"2000-01-31T00:00:00","Premija":65928432.68381202,"Anul":true,"Scale":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}]}'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=-25135351'
	--data-urlencode 'PrecizejumaPamatojums=veniam dolor in qui'
https://eds.vid.gov.lv/api/doc/dzav2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Dzīvības apdrošināšanas līgumu maksājumi\".",
  "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": "T#caP+.oSpBBcaN6\\./6/{\\`%%gL}.+7bi.|=$MzSAAp.KhxY5^=`a&.ohO@8H.EwWģ0.an7ņņIāL.ķ2bčo.Ky7hNEAčUr.MnāTT",
          "description": "(Required) Iesniedzēja epasts."
        },
        {
          "key": "Talrunis",
          "value": "  ",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "TaksGads",
          "value": "-1674260",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "NmrKods",
          "value": "ut Ut Excepteur do",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Table",
          "value": "{\"PKods\":\"fugiat\",\"VU\":\"magna velit minim\",\"Polise\":\"fugiat occaecat sint\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":17770189.63475232,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
          "description": "Gets or sets the table."
        },
        {
          "key": "Table",
          "value": "{\"PKods\":\"labore\",\"VU\":\"qui minim ad magna ex\",\"Polise\":\"sint Duis\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65928432.68381202,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
          "description": "Gets or sets the table."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-25135351",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "veniam dolor in qui",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/dzav2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "dzav2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "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": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "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": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "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": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "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": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "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": "ZR.N.zb@wUv-YlvxCl.mt.TģKģdž.nJNF.īAIchR5ah.OtW48.6ws9J6ēzm.O.āylBšufh.kFSgfC$1l_}\\.n}BBX.Nj.Kb.1qK.",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "   ",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "TaksGads",
              "value": "77426165",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "NmrKods",
              "value": "occaecat proident",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"dolore s\",\"VU\":\"laborum tempor exercitation minim\",\"Polise\":\"veniam occaecat id non\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":65018525.81372148,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Table",
              "value": "{\"PKods\":\"irure \",\"VU\":\"in aliquip laboris mollit\",\"Polise\":\"labore consectetur in ex minim\",\"Sak\":\"2000-01-31T00:00:00\",\"Beig\":\"2000-01-31T00:00:00\",\"Partr\":\"2000-01-31T00:00:00\",\"Premija\":15689691.198079064,\"Anul\":true,\"Scale\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]}",
              "description": "Gets or sets the table."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "30305265",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "Excepteur do non",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/dzav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "dzav2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}