Base URL
https://{tenant}.logzi.com/api/jobnumber/
Every request returns a JSON response. On success result.code == 1, on failure result.code == 0.
/api/jobnumber/get
Retrieve a single job number by ID, with full details.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Unique ID of the job number |
Example request
GET /api/jobnumber/get?id=10
X-API-KEY: {your_api_key}
/api/jobnumber/list
Retrieve a paginated list of job numbers with filtering options.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | array | Filter conditions as an associative array |
Example request
GET /api/jobnumber/list?list_offset=0
X-API-KEY: {your_api_key}
/api/jobnumber/save
Create or update a job number. Use data[id] = 0 for a new record.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | 0 = new job number, >0 = update | |
company_id | int | Company ID | |
company_user_id | int | Responsible employee ID | |
name | string | Job number name / code | |
description | string | Description / notes | |
partner_id | int | Linked partner ID | |
partner_user_id | int | Linked partner contact person ID |
Example request
POST /api/jobnumber/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{
"data": {
"id": 0,
"company_id": 1,
"company_user_id": 3,
"name": "MNK-2024-001",
"description": "Éves karbantartási projekt"
}
}
/api/jobnumber/delete
Delete a job number by ID.
POST fields — data object
| Field | Type | Required | Description |
|---|---|---|---|
id | int | ID of the job number to delete |
Example request
POST /api/jobnumber/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 10 } }
Create your account now,
pay later!