Versions Compared

Key

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

Ein einzelnes Objekt erstellen

Code Block
languagejson
POST /servicedmcore/CoreIdentity
{
	"Nachname": "Testikus",
	"Vorname": "Peter",
	"Active": true,
	"TenantId": 1,
	"CoreIdentityType.Id": 1,
	"AnonymizationStatus.Id": 1
}
Code Block
201 - Created
{
    "Id": 60,
    "_links": {
        "self": {
            "href": "/apiv2/servicedmcore/coreidentity/60"
        }
    }
}

Mehrere Objekte erstellen

Code Block
languagejson
POST /servicedmcore/CoreIdentity
[
    {
        "Nachname": "Testikus",
        "Vorname": "Peter",
        "Active": true,
        "TenantId": 1,
        "CoreIdentityType.Id": 1,
        "AnonymizationStatus.Id": 1
    },
    {
        "Nachname": "Testikus",
        "Vorname": "Hans",
        "Active": true,
        "TenantId": 1,
        "CoreIdentityType.Id": 1,
        "AnonymizationStatus.Id": 1
    }
]

...