...
Simple query of a single object with standard properties
Code Block |
---|
GET /apiv2/servicedmcore/CoreIdentity/20 |
Code Block |
---|
|
{
"Idactive": 20true,
"ValidFromforeign_id": "2017-01-01T00:00:00Zmssql_113",
"Activeid": true20,
"TenantIdmanager_id": 1null,
"ForeignIdreadonly_display_name": "mssql_113Wiwoldi Wawrinka",
"ReadonlyDisplayNametenant_id": "Wiwoldi Wawrinka"1,
"Emailvalid_from": {
"2017-01-01T00:00:00Z",
"WasAccessDeniedvalid_to": false,
null
} |
Query of a single object with extended properties
Siehe "Abfragen aller verfügbaren Felder eines Objekt-Types"
Code Block |
---|
GET /servicedmcore/CoreIdentity/20/
?fields=id,active,foreign_id,ci_given_name,ci_family_name,ci_private_address_line_1,core_identity_type.id |
Code Block |
---|
|
{
"Valueactive": "wiwa@coreone.ch"
}true,
"DisplayNameci_family_name": {
"WasAccessDeniedwas_access_denied": false,
"Valuevalue": "Wiwoldi Wawrinka"
},
"CoreIdentityTypeIdci_given_name": {
"WasAccessDeniedwas_access_denied": false,
"Valuevalue": 1"Wiwoldi"
}
} |
Abfrage eines einzelnen Objektes mit erweiterten Eigenschaften
Code Block |
---|
GET /apiv2/servicedmcore/CoreIdentity/20/
?fields=Id,Active,ForeignId,Vorname,Nachname,Private%20Adresszeile%201,CoreIdentityType.Id |
Code Block |
---|
|
{
"Active": true,
"CoreIdentityType.Idci_private_address_line_1": {
"WasAccessDeniedwas_access_denied": false,
"Valuevalue": 1"Bahnhofplatz 3h"
},
"ForeignIdforeign_id": "mssql_113",
"Idid": 20,
"Nachnamecore_identity_type": {
"WasAccessDeniedid": false,
{
"Value": "Wawrinka" },
"Private Adresszeile 1": {
"WasAccessDenied": "was_access_denied": false,
"Value": "Bahnhofplatz 3h"
}, "Vornamevalue": {1
"WasAccessDenied": false,}
"Value": "Wiwoldi"
}
} |
...
Query of a single object with DropDown-Attribute-Values
Code Block |
---|
GET /servicedmcore/CoreIdentity/20/
?fields=id,active,foreign_id,ci_given_name,core_identity_type.id,g_language |
...
{
"active": true,
"ci_given_name": {
" |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
drop_down_definition_id": |
...
...
...
...
...
...
...
...
"Module.GeneralSetting.Setting.Language.German",
" |
...
...
...
...
...
...
"core_identity_type": {
" |
...
...
was_access_denied": false,
" |
...
...
Simple query of a list of objects with standard properties
Code Block |
---|
GET /servicedmcore/CoreIdentity |
Code Block |
---|
|
[
{
"Idactive": 2true,
"ValidFromforeign_id": "2014-05-30T00:00:00Zmssql_1",
"Activeid": false1,
"TenantIdmanager_id": 1null,
"ForeignIdreadonly_display_name": "mssql_todeleteSimon Gubler",
"ReadonlyDisplayNametenant_id": "Marc Burkhard"1,
"Email": {valid_from": "2010-03-01T00:00:00Z",
"valid_to": null
"WasAccessDenied": false},
{
"Valueactive": nullfalse,
}"foreign_id": "mssql_todelete",
"DisplayNameid": {2,
"WasAccessDenied"manager_id": falsenull,
"Value"readonly_display_name": "Marc Burkhard"
},
"CoreIdentityTypeIdtenant_id": {1,
"WasAccessDenied"valid_from": false"2014-05-30T00:00:00Z",
"Value"valid_to": 1
null
}
},
...
] |
...
Query a filtered list of objects with extended properties
Siehe "Abfragen aller verfügbaren Felder eines Objekt-Types"
Code Block |
---|
GET /servicedmcore/CoreIdentity
?fields=Id,Vorname,Nachname,CoreIdentityType.Id
&filter=Vorname startsWith M
&take=30
&totalcount=true |
Code Block |
---|
[
{
"CoreIdentityType.Idactive": {
true,
"WasAccessDeniedforeign_id": false"mssql_1",
"Valueid": 1
},
"Idmanager_id": 2null,
"Nachnamereadonly_display_name": {
"WasAccessDenied": false,
"Simon Gubler",
"Valuetenant_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",
"Value"tenant_id": "Suster"
}1,
"Vornamevalid_from": {
"WasAccessDenied": false"2014-05-30T00:00:00Z",
"Value"valid_to": "Marko"
}null
},
...
] |