Versions Compared

Key

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

...

Code Block
languagejson
POST /servicedmcore/CoreIdentity
{
	"Nachnameci_family_name": "Testikus",
	"Vornameci_given_name": "PeterHansueli",
	"Activeactive": true,
	"TenantIdtenant_id": 1,
	"CoreIdentityType.Idcore_identity_type.id": 1,
	"AnonymizationStatusanonymization_status.Idid": 12
}
Code Block
201 - Created
{
    "Idid": 60,
    "_links": {
        "self": {
            "href": "/apiv2/servicedmcore/coreidentity/60"
        }
    }
}

...

Code Block
languagejson
POST /servicedmcore/CoreIdentity
[
    {
        "Nachnameci_family_name": "Testikus",
        "Vornameci_given_name": "Peter",
        "Activeactive": true,
        "TenantIdtenant_id": 1,
        "CoreIdentityType.Idcore_identity_type.id": 1,
        "AnonymizationStatusanonymization_status.Idid": 1
    },
    {
        "Nachnameci_family_name": "Testikus",
        "Vornameci_given_name": "Hans",
        "Activeactive": true,
        "TenantIdtenant_id": 1,
        "CoreIdentityType.Idcore_identity_type.id": 1,
        "AnonymizationStatusanonymization_status.Idid": 1
    }
]
Code Block
languagejson
201 - Created (Alle erfolgreich)
207 - Multi-Status (Unterschiedliche Statuscodes in den Objekten)
??? - Alle fehlerhaft mit dem StatusCode ??? (z.B: 401)
[
    {
        "statustype": "success",
        "status": 201,
        "Valuevalue": {
            "Idid": 61,
            "_links": {
                "self": {
                    "href": "/apiv2/servicedmcore/coreidentity/61"
                }
            }
        }
    },
    {
        "statustype": "success",
        "status": 201,
        "Valuevalue": {
            "Idid": 62,
            "_links": {
                "self": {
                    "href": "/apiv2/servicedmcore/coreidentity/62"
                }
            }
        }
    }
]