modifyCustomer
Patient-Stammdaten aktualisieren (PATCH-Semantik)
Nur die gesendeten Felder werden geändert. patid ist Pflicht. Adress-Updates via Sub-Object 'address'.
HTTP Request
POST
https://dev.vitabyte.ch/v1/system/modifyCustomer
Auth
basicAuth
apiKey
Request Parameters
| Parameter | Pflicht | Typ | Beispiel / Default |
|---|---|---|---|
patid
|
required | integer | |
firstname
|
optional | string | |
lastname
|
optional | string | |
mail
|
optional | string | |
mobile
|
optional | string | |
phone
|
optional | string | |
dob
|
optional | string | |
address
|
optional | object |
Response Parameters
| Field | Typ | Beschreibung |
|---|---|---|
status |
boolean | true bei Erfolg, false bei Fehler |
msg |
string | Kurzbeschreibung des Resultats / der Fehlerursache |
result |
Endpoint-spezifisches Resultat. Typ je nach Endpoint (Object, Array, Skalar oder null). | |
pagination |
Nur bei Listen-Endpoints gesetzt |
Demo
POST
https://dev.vitabyte.ch/v1/system/modifyCustomer
Payload
{
"patid": 789,
"mobile": "+41 79 999 88 77",
"mail": "anna.neu@example.ch"
}
Response