Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Update a single object

Code Block
languagejson
PATCH /servicedmcore/CoreIdentity/20
{
	"foreign_id": "TestForeignId",
	"ci_family_name": "Testikus",
	"ci_given_name": "Hansueli"
}
Code Block
204 - No Conent

Mehrere Objekte aktualisieren

...

Update DropDown-AttributeValue

There are 3 ways to update a DropDown-AttributeValue

By DropDownDefinitionId (simple)

Code Block
PATCH /servicedmcore/CoreIdentity/20
{
	"g_language": 22
}

By DropDownDefinitionId (complex)

Code Block
PATCH /servicedmcore/CoreIdentity/20
{
	"g_language": {
        "drop_down_definition_id": 21
    }
}

By Value (complex)

Code Block
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.

Code Block
PATCH /servicedmcore/CoreIdentity?filter=ci_zip_code eq 5000
{
	"ci_city": "Aarau"
}

...