...
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,
"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
}
} |
...
Query of a single object with extended properties
Siehe "Abfragen aller verfügbaren Felder eines Objekt-Types"
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"
},
"ForeignIdci_given_name": {
"mssqlwas_access_113denied": false,
"Idvalue": 20 "Wiwoldi"
},
"Nachnameci_private_address_line_1": {
"WasAccessDeniedwas_access_denied": false,
"Valuevalue": "WawrinkaBahnhofplatz 3h"
},
"Private Adresszeile 1foreign_id": {"mssql_113",
"id": 20,
"WasAccessDenied "core_identity_type": false,{
"Valueid": "Bahnhofplatz 3h"{
}, "Vornamewas_access_denied": {false,
"WasAccessDeniedvalue": false,1
"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,
"Emailvalid_from": {"2010-03-01T00:00:00Z",
"valid_to": null
"WasAccessDenied": false},
{
"Valueactive": false,
null }"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",
"Valuevalid_to": 1null
}
},
...
] |
...
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,
"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",
"Valuevalid_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",
"Value"valid_to": "Marko"
}null
},
...
] |