New API version v6.13.17 has been released! 🎉
REST Documentation
GET Tickets

Get All Tickets

You can use this endpoint to get a paginated list of all tickets.

Request

GET /api/v1/tickets
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/tickets' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": [
		{
			"id": 6,
			"employee_id": "barney.bernhard",
			"date": "2024-02-25",
			"receipt_type_id": null,
			"currency": "",
			"invoice_amount_currency": null,
			"note": "Culpa ex numquam et dolorem dolores blanditiis. Eum eum error et. Hic in sequi quo voluptas labore.",
			"payment_method": "",
			"breakfast": 0,
			"lunch_or_dinner": 0,
			"location": null,
			"is_amount_gross_or_net": "N",
			"is_invoice_amount_gross_or_net": "N",
			"billing_status": {
				"id": 0,
				"name": "not billed"
			},
			"performance_date": "2024-03-07",
			"client_id": null,
			"created": "2024-02-14T07:41:08.000000Z",
			"modified": "2024-02-14T07:41:08.000000Z",
			"invoice_item_id": null,
			"project_id": 9,
			"project_task_id": 44,
			"ticket_id": null,
			"subtask_id": null,
			"filename": "test.jpg"
		},
		{
			"id": 10,
			// ...
		}
	]
}

Optional Parameters

  • Name
    start_date
    Type
    date | Y-m-d
    Description

    First day of the period to be queried. It is inclusive, so the day specified as start_date will also be considered on the results

  • Name
    end_date
    Type
    date | Y-m-d
    Description

    Last day of the period to be queried. It is inclusive, so the day specified as end_date will also be considered on the results.

  • Name
    limit
    Type
    integer
    Description

    Attribute for limiting the number of entries per page