Update a single object
PATCH /servicedmcore/CoreIdentity/20 { "foreign_id": "TestForeignId", "ci_family_name": "Testikus", "ci_given_name": "Hansueli" }
204 - No Conent
Update DropDown-AttributeValue
There are 3 ways to update a DropDown-AttributeValue
By DropDownDefinitionId (simple)
PATCH /servicedmcore/CoreIdentity/20 { "g_language": 22 }
By DropDownDefinitionId (complex)
PATCH /servicedmcore/CoreIdentity/20 { "g_language": { "drop_down_definition_id": 21 } }
By Value (complex)
PATCH /servicedmcore/CoreIdentity/20 { "g_language": { "drop_down_value": 7 } }
Property-Priority (complex)
If you go the “complex” way and provide "drop_down_definition_id
" and "drop_down_value
" the drop_down_definition_id
wins and drop_down_value
gets ignored completely
Update multiple objects
Multiple objects can be uptaded at once. For this purpose, a select filter can be provided, which selects the objects to be edited.
PATCH /servicedmcore/CoreIdentity?filter=ci_zip_code eq 5000 { "ci_city": "Aarau" }
200 - OK (Alle aktualisierungen erfolgreich) 207 - Multi-Status (Unterschiedliche Statuscodes in den Objekten) ??? - Alle Aktualisierungen Fehlerhaft mit dem StatusCode ??? (z.B: 401) [ { "id": 4, "statustype": "success", "status": 204 }, { "id": 5, "statustype": "success", "status": 204 }, { "id": 6, "statustype": "success", "status": 204 }, ... ]