Legal Entity Types API

Manage company legal forms (Kft., Bt., Zrt., etc.) — retrieve, create, update, and delete

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.

GET /api/legal_entity_type/get

Retrieve a single legal entity type by ID or language.

Query Parameters

ParameterTypeRequiredDescription
idintUnique identifier of the legal entity type
language_idintIdentifier of the language variant

Example Request

GET /api/legal_entity_type/get?id=1
X-API-KEY: {your_api_key}
GET /api/legal_entity_type/list

Retrieve the full list of legal entity types, optionally filtered by language.

Query Parameters

ParameterTypeRequiredDescription
language_idintFilter by language identifier

Example Request

GET /api/legal_entity_type/list?language_id=1
X-API-KEY: {your_api_key}
POST /api/legal_entity_type/save

Create or update a legal entity type. For a new record use data[id] = 0.

POST Fields — data object

FieldTypeRequiredDescription
idint0 = new legal entity type, >0 = update
namestringFull name of the legal entity type (e.g. "Korlátolt Felelősségű Társaság")
name_shortstringAbbreviated 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."
  }
}
POST /api/legal_entity_type/delete

Delete a legal entity type by ID.

POST Fields — data object

FieldTypeRequiredDescription
idintIdentifier 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 } }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!