Versions Compared

Key

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

...

Create a single object

Code Block
languagejson
POST /servicedmcore/CoreIdentity
{
	"ci_family_name": "Testikus",
	"ci_given_name": "Hansueli",
	"active": true,
	"tenant_id": 1,
	"core_identity_type.id": 1,
	"anonymization_status.id": 2
}
Code Block
201 - Created
{
    "id": 60,
    "links": {
        "self": {
            "href": "/apiv2/servicedmcore/coreidentity/60"
        }
    }
}

...

Create multiple objects

Code Block
languagejson
POST /servicedmcore/CoreIdentity
[
    {
        "ci_family_name": "Testikus",
        "ci_given_name": "Peter",
        "active": true,
        "tenant_id": 1,
        "core_identity_type.id": 1,
        "anonymization_status.id": 1
    },
    {
        "ci_family_name": "Testikus",
        "ci_given_name": "Hans",
        "active": true,
        "tenant_id": 1,
        "core_identity_type.id": 1,
        "anonymization_status.id": 1
    }
]

...