Beispielanfrage
GET https://api.jupiter-erp.com/api/account/service-order-appointments
Code
curl -X GET 'https://api.jupiter-erp.com/api/account/service-order-appointments' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| service_order_id | query | nein | Filter by service order. |
| contact_id | query | nein | Filter by contact (via linked service order). |
| project_id | query | nein | Filter by project (via linked service order). |
| service_contract_id | query | nein | Filter by service contract (via linked service order). |
| status | query | nein | — |
| assignee_account_user_id | query | nein | — |
| starts_from | query | nein | Filter appointments with starts_at on or after this date (Y-m-d). |
| starts_to | query | nein | Filter appointments with starts_at on or before this date (Y-m-d). |
| order_by | query | nein | — |
| #/components/parameters/OrderDirParameter | |||
| #/components/parameters/PerPageParameter | |||
| #/components/parameters/PageParameter | |||
Antworten
200OK
| Feld | Typ | Beschreibung | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data* | object[] | array Elemente Scheduled dispatch / visit window for a service order (Gantt bar source)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta* | object |
|
Beispiel Response
{
"data": [
{
"id": 0,
"service_order_id": 0,
"service_order": {
"id": 0,
"formatted_number": "string",
"subject": "string",
"service_location": "string",
"contact_name": "string",
"status": "open"
},
"starts_at": "2025-01-14T09:00:00",
"ends_at": "2025-01-14T17:00:00",
"assignee_account_user_id": 0,
"status": "planned"
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1,
"items_from": 1,
"items_to": 1
}
}Service order appointments