Jupiter ERP
Account API

Update Personnel

/api/account/personnel/{id}

PATCHHTTP
patch/api/account/personnel/{id}

Beispielanfrage

PATCH https://api.jupiter-erp.com/api/account/personnel/example-id

Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/personnel/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 '{
  "location_id": 0,
  "contact_id": 0,
  "account_user_id": 0,
  "first_name": "string",
  "last_name": "string",
  "title": "string"
}'

Parameter

NameInPflichtBeschreibung
idpathja

Request Body

Optional

FeldTypBeschreibung
account_user_idinteger
activeboolean
contact_idinteger
departmentstring
emailstring (email)
employee_numberstring
first_namestring
genderstring

string

  • male
  • female
  • diverse
hire_datestring (date)
internal_notestring
last_namestring
location_idinteger
mobilestring
phonestring
positionstring
termination_datestring (date)
titlestring
Beispiel Request
{
  "location_id": 0,
  "contact_id": 0,
  "account_user_id": 0,
  "first_name": "string",
  "last_name": "string",
  "title": "string"
}

Antworten

200OK
ModellPersonnel
FeldTypBeschreibung
account_userobject
FeldTypBeschreibung
display_namestring
idinteger
account_user_idinteger
active*boolean
contactobject
FeldTypBeschreibung
idinteger
namestring
contact_idinteger
created_atstring (date-time)Creation timestamp in ISO 8601 format.
departmentstring
emailstring (email)
employee_numberstring
first_name*string
genderstring

string

  • male
  • female
  • diverse
hire_datestring (date)
id*integer
internal_notestringHTML
last_name*string
locationobject
FeldTypBeschreibung
idinteger
namestring
location_idinteger
mobilestring
phonestring
positionstring
termination_datestring (date)
titlestring
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
Beispiel Response
{
  "id": 0,
  "location_id": 0,
  "location": {
    "id": 0,
    "name": "string"
  },
  "contact_id": 0,
  "contact": {
    "id": 0,
    "name": "string"
  },
  "account_user_id": 0,
  "first_name": "string",
  "last_name": "string",
  "active": true
}
Personnel

Fragen zur Integration?

PATCH /api/account/personnel/{id} · Jupiter ERP