Input/Output

Input - data this App requires to work

Party (organization)

{
   "nip": 4239237991
}

Output - data you can expect this App to add

Party (organization)

{
    "id": "227cb733-d21e-4621-8893-f549a2336647",
    "resourceType": "organization",
    "customerId": "0cb7bf50-c6f4-43ac-aee3-5265fd12cbba",
    "name": "SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ",
    "nip": "5855228413",
    "regon": "193075666",
    "addedAt": "2021-07-05T08:24:17.762632Z",
    "addresses": {
        "registry": {
            "city": "Gdańsk",
            "country": "Polska",
            "postalCode": "00-001",
            "street": "Janusza Tracza 33"
        }
    },
    "attributes": {
        "krs": {
            "krsNumber": "1111215894",
            "krsInsertDate": "2004-08-27",
            "krsFirstEntryDate": "2004-08-27"
        },
        "isOpp": false,
        "isRemoved": false,
        "legalForm": "SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ",
        "inAbeyance": false,
        "industries": [
            {
                "main": "true",
                "symbol": "M"
            },
            {
                "main": "false",
                "symbol": "J"
            },
            {
                "main": "false",
                "symbol": "N"
            },
            {
                "main": "false",
                "symbol": "P"
            }
        ],
        "inBankruptcy": false,
        "inLiquidation": false,
        "relationsCount": 2
    }
}

Party (organization) relations

{
    "relations": [
        {
            "fromParty": "d10ce6e1-33cf-46cf-968e-620c7dda7e7e",
            "toParty": "227cb733-d21e-4621-8893-f549a2336647",
            "beginDate": "2004-08-27",
            "description": "PREZES ZARZĄDU",
            "relationKind": "KRS_BOARD"
        },
        {
            "fromParty": "d10ce6e1-33cf-46cf-968e-620c7dda7e7e",
            "toParty": "227cb733-d21e-4621-8893-f549a2336647",
            "beginDate": "2004-08-27",
            "relationKind": "KRS_SHAREHOLDER"
        }
    ],
    "resourceType": "relations"
}