Client
| Property | Type | Description | Information |
|---|---|---|---|
id | int | Identifier | Unique for single client. |
name | string | Name of client | Maximal length is 150 characters. |
goodday_id | string | remote id for client | Maximal length is 255 characters. |
address | string/null | Address of client | Maximal length is 255 characters. |
city | string/null | City of client | Maximal length is 255 characters. |
postal_code | string/null | Postal code of client | Maximal length is 255 characters. |
country_id | string/null | Country id of client | Maximal length is 20 characters. |
fax | string/null | Fax of client | Maximal length is 100 characters. |
website | string/null | Website of client | Maximal length is 100 characters. |
active | boolean | Activity flag of client | true for active client, false for inactive client. |
note | string/null | Note of client | Note for client. |
degree | string/null | Degree of contact person of client | -- |
first_name | string/null | First name of contact person | -- |
last_name | string/null | Last name of contact person | -- |
email | string/null | Email of contact person | -- |
phone | string/null | Phone of contact person | -- |
position | string/null | Note of client | -- |
created_at | date | Client creation date | Date of Client creation |
updated_at | date | Client latest update date | Date of latest Client update |
Example:
{
"id": 1,
"name": "demo clientx",
"goodday_id": "3MFGRZ",
"address": null,
"city": null,
"postal_code": null,
"country_id": null,
"phone": null,
"fax": null,
"email": null,
"website": null,
"active": true,
"note": null,
"current_hourly_pay": {
"id": 2,
"hourly_payable_type": "App\\Containers\\Clients\\Models\\Client",
"hourly_payable_id": 1,
"value": "1500",
"currency_id": "EUR",
"valid_from": "2019-12-31T23:00:00.000000Z",
"valid_to": null,
"created_at": "2022-11-29T15:20:30.000000Z",
"updated_at": "2022-11-29T15:20:30.000000Z"
},
"created_at": "2022-11-23T15:59:55+0100",
"updated_at": "2022-11-24T16:19:09+0100",
"_links": [
{
"href": "/api/v0/clients/1",
"rel": "self",
"type": "GET"
}
]
}