Jupiter ERP
Account API

Update a service order appointment

/api/account/service-order-appointments/{id}

PATCHHTTP
patch/api/account/service-order-appointments/{id}

Beispielanfrage

PATCH https://api.jupiter-erp.com/api/account/service-order-appointments/example-id

Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/service-order-appointments/example-id' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "starts_at": "string",
  "ends_at": "string",
  "assignee_account_user_id": 0,
  "status": "planned"
}'

Parameter

NameInPflichtBeschreibung
idpathja

Request Body

Optional

FeldTypBeschreibung
assignee_account_user_idinteger
ends_atstring
starts_atstringParseable datetime (e.g. Y-m-d H:i or ISO local)
statusstring

string

  • planned
  • confirmed
  • completed
  • cancelled
Beispiel Request
{
  "starts_at": "string",
  "ends_at": "string",
  "assignee_account_user_id": 0,
  "status": "planned"
}

Antworten

200OK

Scheduled dispatch / visit window for a service order (Gantt bar source)

FeldTypBeschreibung
assigneeobject
FeldTypBeschreibung
abilitiesstring[]Ability strings for this account user. Included when listing or getting users (admin editing). Omitted in embedded contexts (e.g. documents, projects, service orders) to avoid leaking permission data.

array

Elemente

string

created_atstring (date-time)Creation timestamp in ISO 8601 format.
display_emailstring
display_namestring
display_phonestring
id*integer
invited_emailstringEmail address the user was invited with. Set for pending account users; null after acceptance or when not applicable.
role*string

string

  • user
  • admin
status*string

string

  • active
  • blocked
  • pending
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
userobject
FeldTypBeschreibung
email*string
id*integer
image_urlstring
name*string
assignee_account_user_idinteger
created_atstring (date-time)Creation timestamp in ISO 8601 format.
ends_at*stringLocal datetime without timezone (Y-m-dTH:i:s)
id*integer
service_order*objectParent order summary; always present when returned from the API.

Parent order summary; always present when returned from the API.

FeldTypBeschreibung
contact_namestringContact display name for scheduling views without loading full contact
formatted_number*string
id*integer
service_locationstring
status*string

string

  • open
  • planned
  • in_progress
  • done
  • invoiced
  • cancelled
subjectstring
service_order_id*integer
starts_at*stringLocal datetime without timezone (Y-m-dTH:i:s)
status*string

string

  • planned
  • confirmed
  • completed
  • cancelled
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
Beispiel Response
{
  "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"
}
Service order appointments

Fragen zur Integration?

PATCH /api/account/service-order-appointments/{id} · Jupiter ERP