Base URL
https://{tenant}.logzi.com/api/legal_entity_type/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/legal_entity_type/get
Retrieve a single legal entity type by ID or language.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique identifier of the legal entity type | |
language_id | int | Identifier of the language variant |
Example Request
GET /api/legal_entity_type/get?id=1
X-API-KEY: {your_api_key}
/api/legal_entity_type/list
Retrieve the full list of legal entity types, optionally filtered by language.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
language_id | int | Filter by language identifier |
Example Request
GET /api/legal_entity_type/list?language_id=1
X-API-KEY: {your_api_key}
/api/legal_entity_type/save
Create or update a legal entity type. For a new record use data[id] = 0.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new legal entity type, >0 = update | |
name | string | Full name of the legal entity type (e.g. "Korlátolt Felelősségű Társaság") | |
name_short | string | Abbreviated name (e.g. "Kft.") |
Example Request
POST /api/legal_entity_type/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"name": "Korlátolt Felelősségű Társaság",
"name_short": "Kft."
}
}
/api/legal_entity_type/delete
Delete a legal entity type by ID.
POST Fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the legal entity type to delete |
Example Request
POST /api/legal_entity_type/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!