GET Articles
You can use this endpoint to retrieve all articles.
Request
GET /api/v1/articles
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/articles' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"id": 1,
"article_number": "ART-001",
"name": "Consulting Services",
"unit": "Hour",
"unit_price": 120.00,
"currency": "EUR",
"description": "Professional consulting services",
"inactive": false,
"description_en": "Professional consulting services",
"description_fr": null,
"description_es": null,
"description_pl": null,
"created_at": "2024-01-15T10:30:00+01:00",
"updated_at": "2024-06-20T14:45:00+02:00"
},
{
"id": 2,
"article_number": "ART-002",
"name": "Software Development",
"unit": "Hour",
"unit_price": 95.00,
"currency": "EUR",
"description": "Software development services",
"inactive": false,
"description_en": "Software development",
"description_fr": "Développement de logiciels",
"description_es": null,
"description_pl": null,
"created_at": "2024-01-15T10:31:00+01:00",
"updated_at": "2024-06-20T14:46:00+02:00"
},
{
"id": 3,
"article_number": "ART-003",
"name": "Project Management",
"unit": "Day",
"unit_price": 850.00,
"currency": "EUR",
"description": "Project management and coordination",
"inactive": false,
"description_en": "Project management and coordination",
"description_fr": null,
"description_es": null,
"description_pl": null,
"created_at": "2024-02-10T09:15:00+01:00",
"updated_at": "2024-07-05T11:20:00+02:00"
}
],
"links": {
"first": "https://www.zep-online.de/zepinstanz/next/api/v1/articles?page=1",
"last": "https://www.zep-online.de/zepinstanz/next/api/v1/articles?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://www.zep-online.de/zepinstanz/next/api/v1/articles?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://www.zep-online.de/zepinstanz/next/api/v1/articles",
"per_page": 50,
"to": 3,
"total": 3
}
}