Rejestr_io_GetKRSOrganization
This function fetches the data of the specific organization from the Polish public register ’KRS’ via ’rejestr.io’ API.
Syntax:
Dział zatytułowany „Syntax:”Rejestr_io_GetKRSOrganization("organizationId",[dataChapter]);Arguments:
Dział zatytułowany „Arguments:”- organizationId – (String) the identificator of the organization (’NIP’ number or ’KRS’ id), more details on official ’rejestr.io’ API docs: https://rejestr.io/api.
Return Value:
Dział zatytułowany „Return Value:”Returns JSON response from API
Type: String
Examples:
Dział zatytułowany „Examples:”Rejestr_io_GetKRSOrganization("organizationId");This will return the simplest set of information about the specific organzation.
Rejestr_io_GetKRSOrganization("organizationId", "finanse");This will also return the simplest set of information. Moreover, the reponse contains the more detailed data related to the area, which is called ’finanse’.