...
Code Block | ||
---|---|---|
| ||
{ "Idactive": 20true, "ValidFromforeign_id": "2017-01-01T00:00:00Zmssql_113", "Activeid": true20, "TenantIdmanager_id": 1null, "ForeignId": "mssql_113", "ReadonlyDisplayName"readonly_display_name": "Wiwoldi Wawrinka", "Emailtenant_id": { "WasAccessDenied": false1, "Value"valid_from": "wiwa@coreone.ch" }, "DisplayName": { "WasAccessDenied": false, "Value": "Wiwoldi Wawrinka" }2017-01-01T00:00:00Z", "CoreIdentityTypeIdvalid_to": { "WasAccessDenied": false, "Value": 1 } } null } |
Abfrage eines einzelnen Objektes mit erweiterten Eigenschaften
...
Code Block |
---|
GET /apiv2/servicedmcore/CoreIdentity/20/ ?fields=Idid,Activeactive,ForeignId,Vorname,Nachname,Private%20Adresszeile%201,CoreIdentityType.Idforeign_id,ci_given_name,ci_family_name,ci_private_address_line_1,core_identity_type.id |
Code Block | ||
---|---|---|
| ||
{ "Activeactive": true, "CoreIdentityType.Idci_family_name": { "WasAccessDeniedwas_access_denied": false, "Valuevalue": 1"Wawrinka" }, "ForeignId": "mssql_113", "Id": 20, "Nachname": ci_given_name": { "WasAccessDeniedwas_access_denied": false, "Valuevalue": "WawrinkaWiwoldi" }, "Private Adresszeile ci_private_address_line_1": { "WasAccessDeniedwas_access_denied": false, "Valuevalue": "Bahnhofplatz 3h" }, "Vornameforeign_id": {"mssql_113", "WasAccessDeniedid": false20, "Value": "Wiwoldi" } } |
Einfache Abfrage einer Liste von Objekten mit Standard-Eigenschaften
Code Block |
---|
GET /servicedmcore/CoreIdentity |
Code Block | ||
---|---|---|
| ||
[ "core_identity_type": { "Idid": 1, { "ValidFrom": "2010-03-01T00:00:00Z", "Activewas_access_denied": true, false, "TenantId": 1, "ForeignIdvalue": "mssql_1", "ReadonlyDisplayName": "Simon Gubler",} } } |
Einfache Abfrage einer Liste von Objekten mit Standard-Eigenschaften
Code Block |
---|
GET /servicedmcore/CoreIdentity |
Code Block | ||
---|---|---|
| ||
[ "Email": { "WasAccessDeniedactive": falsetrue, "Value"foreign_id": "sigu@coreone.ch" }mssql_1", "DisplayNameid": { 1, "WasAccessDenied"manager_id": falsenull, "Value"readonly_display_name": "Simon Gubler" }, "CoreIdentityTypeIdtenant_id": { "WasAccessDenied": false, "Value": 1 } }, { "Id": 2, "ValidFrom": "2014-05-30T00"valid_from": "2010-03-01T00:00:00Z", "Activevalid_to": false,null }, "TenantId": 1, { "ForeignIdactive": "mssql_todelete"false, "ReadonlyDisplayNameforeign_id": "Marc Burkhardmssql_todelete", "Emailid": { "WasAccessDenied": false2, "Value"manager_id": null }, "DisplayNamereadonly_display_name": { "WasAccessDenied": false, "Marc Burkhard", "Valuetenant_id": "Marc Burkhard" }1, "CoreIdentityTypeIdvalid_from": { "WasAccessDenied": false"2014-05-30T00:00:00Z", "Value"valid_to": 1 }null }, ... ] |
Abfrage einer gefilterten Liste von Objekten mit erweiterten Eigenschaften
...
Code Block |
---|
GET /servicedmcore/CoreIdentity ?fields=Id,Vorname,Nachname,CoreIdentityType.Id &filter=Vorname startsWith M &take=30 &totalcount=true |
Code Block |
---|
[ { "CoreIdentityType.Idactive": {true, "WasAccessDenied"foreign_id": false, "mssql_1", "Valueid": 1 }, "Idmanager_id": 2null, "Nachnamereadonly_display_name": { "WasAccessDenied": false"Simon Gubler", "Value"tenant_id": "Burkhard" }1, "Vornamevalid_from": { "WasAccessDenied": false"2010-03-01T00:00:00Z", "Value"valid_to": "Marc" null } }, { "CoreIdentityType.Idactive": { false, "WasAccessDenied"foreign_id": false"mssql_todelete", "Valueid": 1 }2, "Idmanager_id": 3null, "Nachnamereadonly_display_name": { "WasAccessDenied": false, "Marc Burkhard", "Valuetenant_id": "Suster" }1, "Vornamevalid_from": { "WasAccessDenied": false, "2014-05-30T00:00:00Z", "Valuevalid_to": "Marko" }null }, ... ] |