Chilkat Online Tools

unicodeCpp / Belvo API Docs / List

Back to Collection Items

#include <CkHttpW.h>
#include <CkStringBuilderW.h>
#include <CkJsonObjectW.h>

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

    CkHttpW http;
    bool success;

    http.put_BasicAuth(true);
    http.put_Login(L"{{secretId}}");
    http.put_Password(L"{{secretPassword}}");

    CkStringBuilderW sbResponseBody;
    success = http.QuickGetSb(L"https://domain.com/api/tax-status/",sbResponseBody);
    if (success == false) {
        wprintf(L"%s\n",http.lastErrorText());
        return;
    }

    CkJsonObjectW jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",jResp.emit());

    int respStatusCode = http.get_LastStatus();
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",http.lastHeader());
        wprintf(L"Failed.\n");
        return;
    }

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "count": "<integer>",
    //   "next": "<string>",
    //   "previous": "<string>",
    //   "results": [
    //     {
    //       "id": "<uuid>",
    //       "link": "<uuid>",
    //       "collected_at": "<dateTime>",
    //       "place_and_date_of_issuance": "<string>",
    //       "official_name": "<string>",
    //       "id_cif": "<string>",
    //       "tax_payer_information": {
    //         "rfc": "<string>",
    //         "curp": "<string>",
    //         "name": "<string>",
    //         "first_last_name": "<string>",
    //         "second_last_name": "<string>",
    //         "start_operations_date": "<string>",
    //         "status_padron": "<string>",
    //         "last_status_change_date": "<string>",
    //         "commercial_name": "<string>",
    //         "social_name": "<string>",
    //         "email": "<string>",
    //         "phone": "<string>"
    //       },
    //       "address": {
    //         "postal_code": "<string>",
    //         "street_type": "<string>",
    //         "street": "<string>",
    //         "exterior_number": "<string>",
    //         "interior_number": "<string>",
    //         "suburb": "<string>",
    //         "locality": "<string>",
    //         "municipality": "<string>",
    //         "state": "<string>",
    //         "between_street": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "economic_activity": [
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "regimens": [
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "obligations": {
    //         "obligation": "<string>",
    //         "expiration": "<string>",
    //         "initial_date": "<string>",
    //         "end_date": "<string>"
    //       },
    //       "personal_information": "<object>",
    //       "digital_stamp": "<string>",
    //       "digital_stamp_chain": "<string>",
    //       "pdf": "<binary>"
    //     },
    //     {
    //       "id": "<uuid>",
    //       "link": "<uuid>",
    //       "collected_at": "<dateTime>",
    //       "place_and_date_of_issuance": "<string>",
    //       "official_name": "<string>",
    //       "id_cif": "<string>",
    //       "tax_payer_information": {
    //         "rfc": "<string>",
    //         "curp": "<string>",
    //         "name": "<string>",
    //         "first_last_name": "<string>",
    //         "second_last_name": "<string>",
    //         "start_operations_date": "<string>",
    //         "status_padron": "<string>",
    //         "last_status_change_date": "<string>",
    //         "commercial_name": "<string>",
    //         "social_name": "<string>",
    //         "email": "<string>",
    //         "phone": "<string>"
    //       },
    //       "address": {
    //         "postal_code": "<string>",
    //         "street_type": "<string>",
    //         "street": "<string>",
    //         "exterior_number": "<string>",
    //         "interior_number": "<string>",
    //         "suburb": "<string>",
    //         "locality": "<string>",
    //         "municipality": "<string>",
    //         "state": "<string>",
    //         "between_street": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "economic_activity": [
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "economic_activity": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "order": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "percentage": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "regimens": [
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "end_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "initial_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "regimen": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "obligations": {
    //         "obligation": "<string>",
    //         "expiration": "<string>",
    //         "initial_date": "<string>",
    //         "end_date": "<string>"
    //       },
    //       "personal_information": "<object>",
    //       "digital_stamp": "<string>",
    //       "digital_stamp_chain": "<string>",
    //       "pdf": "<binary>"
    //     }
    //   ]
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    const wchar_t *id = 0;
    const wchar_t *link = 0;
    const wchar_t *collected_at = 0;
    const wchar_t *place_and_date_of_issuance = 0;
    const wchar_t *official_name = 0;
    const wchar_t *id_cif = 0;
    const wchar_t *Rfc = 0;
    const wchar_t *Curp = 0;
    const wchar_t *Name = 0;
    const wchar_t *First_last_name = 0;
    const wchar_t *Second_last_name = 0;
    const wchar_t *Start_operations_date = 0;
    const wchar_t *Status_padron = 0;
    const wchar_t *Last_status_change_date = 0;
    const wchar_t *Commercial_name = 0;
    const wchar_t *Social_name = 0;
    const wchar_t *v_Email = 0;
    const wchar_t *Phone = 0;
    const wchar_t *Postal_code = 0;
    const wchar_t *Street_type = 0;
    const wchar_t *Street = 0;
    const wchar_t *Exterior_number = 0;
    const wchar_t *Interior_number = 0;
    const wchar_t *Suburb = 0;
    const wchar_t *Locality = 0;
    const wchar_t *Municipality = 0;
    const wchar_t *State = 0;
    const wchar_t *Value = 0;
    const wchar_t *Obligation = 0;
    const wchar_t *Expiration = 0;
    const wchar_t *Initial_date = 0;
    const wchar_t *End_date = 0;
    const wchar_t *personal_information = 0;
    const wchar_t *digital_stamp = 0;
    const wchar_t *digital_stamp_chain = 0;
    const wchar_t *pdf = 0;
    int j;
    int count_j;
    const wchar_t *economic_activityValue = 0;
    const wchar_t *end_dateValue = 0;
    const wchar_t *initial_dateValue = 0;
    const wchar_t *orderValue = 0;
    const wchar_t *percentageValue = 0;
    const wchar_t *regimenValue = 0;

    const wchar_t *count = jResp.stringOf(L"count");
    const wchar_t *v_next = jResp.stringOf(L"next");
    const wchar_t *previous = jResp.stringOf(L"previous");
    int i = 0;
    int count_i = jResp.SizeOfArray(L"results");
    while (i < count_i) {
        jResp.put_I(i);
        id = jResp.stringOf(L"results[i].id");
        link = jResp.stringOf(L"results[i].link");
        collected_at = jResp.stringOf(L"results[i].collected_at");
        place_and_date_of_issuance = jResp.stringOf(L"results[i].place_and_date_of_issuance");
        official_name = jResp.stringOf(L"results[i].official_name");
        id_cif = jResp.stringOf(L"results[i].id_cif");
        Rfc = jResp.stringOf(L"results[i].tax_payer_information.rfc");
        Curp = jResp.stringOf(L"results[i].tax_payer_information.curp");
        Name = jResp.stringOf(L"results[i].tax_payer_information.name");
        First_last_name = jResp.stringOf(L"results[i].tax_payer_information.first_last_name");
        Second_last_name = jResp.stringOf(L"results[i].tax_payer_information.second_last_name");
        Start_operations_date = jResp.stringOf(L"results[i].tax_payer_information.start_operations_date");
        Status_padron = jResp.stringOf(L"results[i].tax_payer_information.status_padron");
        Last_status_change_date = jResp.stringOf(L"results[i].tax_payer_information.last_status_change_date");
        Commercial_name = jResp.stringOf(L"results[i].tax_payer_information.commercial_name");
        Social_name = jResp.stringOf(L"results[i].tax_payer_information.social_name");
        v_Email = jResp.stringOf(L"results[i].tax_payer_information.email");
        Phone = jResp.stringOf(L"results[i].tax_payer_information.phone");
        Postal_code = jResp.stringOf(L"results[i].address.postal_code");
        Street_type = jResp.stringOf(L"results[i].address.street_type");
        Street = jResp.stringOf(L"results[i].address.street");
        Exterior_number = jResp.stringOf(L"results[i].address.exterior_number");
        Interior_number = jResp.stringOf(L"results[i].address.interior_number");
        Suburb = jResp.stringOf(L"results[i].address.suburb");
        Locality = jResp.stringOf(L"results[i].address.locality");
        Municipality = jResp.stringOf(L"results[i].address.municipality");
        State = jResp.stringOf(L"results[i].address.state");
        Value = jResp.stringOf(L"results[i].address.between_street.value");
        Obligation = jResp.stringOf(L"results[i].obligations.obligation");
        Expiration = jResp.stringOf(L"results[i].obligations.expiration");
        Initial_date = jResp.stringOf(L"results[i].obligations.initial_date");
        End_date = jResp.stringOf(L"results[i].obligations.end_date");
        personal_information = jResp.stringOf(L"results[i].personal_information");
        digital_stamp = jResp.stringOf(L"results[i].digital_stamp");
        digital_stamp_chain = jResp.stringOf(L"results[i].digital_stamp_chain");
        pdf = jResp.stringOf(L"results[i].pdf");
        j = 0;
        count_j = jResp.SizeOfArray(L"results[i].economic_activity");
        while (j < count_j) {
            jResp.put_J(j);
            economic_activityValue = jResp.stringOf(L"results[i].economic_activity[j].economic_activity.value");
            end_dateValue = jResp.stringOf(L"results[i].economic_activity[j].end_date.value");
            initial_dateValue = jResp.stringOf(L"results[i].economic_activity[j].initial_date.value");
            orderValue = jResp.stringOf(L"results[i].economic_activity[j].order.value");
            percentageValue = jResp.stringOf(L"results[i].economic_activity[j].percentage.value");
            j = j + 1;
        }

        j = 0;
        count_j = jResp.SizeOfArray(L"results[i].regimens");
        while (j < count_j) {
            jResp.put_J(j);
            end_dateValue = jResp.stringOf(L"results[i].regimens[j].end_date.value");
            initial_dateValue = jResp.stringOf(L"results[i].regimens[j].initial_date.value");
            regimenValue = jResp.stringOf(L"results[i].regimens[j].regimen.value");
            j = j + 1;
        }

        i = i + 1;
    }
    }

Curl Command

curl -X GET
	-u '{{secretId}}:{{secretPassword}}'
https://domain.com/api/tax-status/

Postman Collection Item JSON

{
  "name": "List",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/tax-status/",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "tax-status",
        ""
      ]
    },
    "description": "Get a paginated list of all existing tax status in your Belvo account. We return up to 100 results per page."
  },
  "response": [
    {
      "name": "Ok",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/tax-status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "tax-status"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n\t\"count\": \"<integer>\",\n\t\"next\": \"<string>\",\n\t\"previous\": \"<string>\",\n\t\"results\": [\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<uuid>\",\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"place_and_date_of_issuance\": \"<string>\",\n\t\t\t\"official_name\": \"<string>\",\n\t\t\t\"id_cif\": \"<string>\",\n\t\t\t\"tax_payer_information\": {\n\t\t\t\t\"rfc\": \"<string>\",\n\t\t\t\t\"curp\": \"<string>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"first_last_name\": \"<string>\",\n\t\t\t\t\"second_last_name\": \"<string>\",\n\t\t\t\t\"start_operations_date\": \"<string>\",\n\t\t\t\t\"status_padron\": \"<string>\",\n\t\t\t\t\"last_status_change_date\": \"<string>\",\n\t\t\t\t\"commercial_name\": \"<string>\",\n\t\t\t\t\"social_name\": \"<string>\",\n\t\t\t\t\"email\": \"<string>\",\n\t\t\t\t\"phone\": \"<string>\"\n\t\t\t},\n\t\t\t\"address\": {\n\t\t\t\t\"postal_code\": \"<string>\",\n\t\t\t\t\"street_type\": \"<string>\",\n\t\t\t\t\"street\": \"<string>\",\n\t\t\t\t\"exterior_number\": \"<string>\",\n\t\t\t\t\"interior_number\": \"<string>\",\n\t\t\t\t\"suburb\": \"<string>\",\n\t\t\t\t\"locality\": \"<string>\",\n\t\t\t\t\"municipality\": \"<string>\",\n\t\t\t\t\"state\": \"<string>\",\n\t\t\t\t\"between_street\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"economic_activity\": [\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"regimens\": [\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"obligations\": {\n\t\t\t\t\"obligation\": \"<string>\",\n\t\t\t\t\"expiration\": \"<string>\",\n\t\t\t\t\"initial_date\": \"<string>\",\n\t\t\t\t\"end_date\": \"<string>\"\n\t\t\t},\n\t\t\t\"personal_information\": \"<object>\",\n\t\t\t\"digital_stamp\": \"<string>\",\n\t\t\t\"digital_stamp_chain\": \"<string>\",\n\t\t\t\"pdf\": \"<binary>\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<uuid>\",\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"place_and_date_of_issuance\": \"<string>\",\n\t\t\t\"official_name\": \"<string>\",\n\t\t\t\"id_cif\": \"<string>\",\n\t\t\t\"tax_payer_information\": {\n\t\t\t\t\"rfc\": \"<string>\",\n\t\t\t\t\"curp\": \"<string>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"first_last_name\": \"<string>\",\n\t\t\t\t\"second_last_name\": \"<string>\",\n\t\t\t\t\"start_operations_date\": \"<string>\",\n\t\t\t\t\"status_padron\": \"<string>\",\n\t\t\t\t\"last_status_change_date\": \"<string>\",\n\t\t\t\t\"commercial_name\": \"<string>\",\n\t\t\t\t\"social_name\": \"<string>\",\n\t\t\t\t\"email\": \"<string>\",\n\t\t\t\t\"phone\": \"<string>\"\n\t\t\t},\n\t\t\t\"address\": {\n\t\t\t\t\"postal_code\": \"<string>\",\n\t\t\t\t\"street_type\": \"<string>\",\n\t\t\t\t\"street\": \"<string>\",\n\t\t\t\t\"exterior_number\": \"<string>\",\n\t\t\t\t\"interior_number\": \"<string>\",\n\t\t\t\t\"suburb\": \"<string>\",\n\t\t\t\t\"locality\": \"<string>\",\n\t\t\t\t\"municipality\": \"<string>\",\n\t\t\t\t\"state\": \"<string>\",\n\t\t\t\t\"between_street\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"economic_activity\": [\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"economic_activity\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"order\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"percentage\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"regimens\": [\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"end_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"initial_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"regimen\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"obligations\": {\n\t\t\t\t\"obligation\": \"<string>\",\n\t\t\t\t\"expiration\": \"<string>\",\n\t\t\t\t\"initial_date\": \"<string>\",\n\t\t\t\t\"end_date\": \"<string>\"\n\t\t\t},\n\t\t\t\"personal_information\": \"<object>\",\n\t\t\t\"digital_stamp\": \"<string>\",\n\t\t\t\"digital_stamp_chain\": \"<string>\",\n\t\t\t\"pdf\": \"<binary>\"\n\t\t}\n\t]\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/tax-status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "tax-status"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "[\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t},\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t}\n]"
    }
  ]
}