Table of Contents |
---|
Einfache Abfrage eines einzelnen Objektes mit Standard-Eigenschaften
...
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": false, 1, "Valuevalid_from": "wiwa@coreone.ch" }, "DisplayName": { "WasAccessDenied": false, "Value": "Wiwoldi Wawrinka" }, "CoreIdentityTypeId": { "WasAccessDenied": false, 2017-01-01T00:00:00Z", "Value"valid_to": 1 } } |
...
null
} |
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" }, "ForeignId": "mssql_113", "Id": 20, "Nachnameci_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" } } |
Abfragen aller verfügbaren Felder eines Objekt-Types
Code Block |
---|
GET /apiv2/servicedmcore/CoreIdentity/fields |
Code Block | ||
---|---|---|
| ||
[ core_identity_type": { "DisplayNamePartsid": [ { "Value"was_access_denied": "Active", false, "Kindvalue": "PlainValue" 1 } } } |
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 |
Code Block | ||
---|---|---|
| ||
{ " |
...
active": |
...
true, |
...
" |
...
ci_given_name": |
...
{ " |
...
was_access_denied": |
...
false, " |
...
value": " |
...
Hansueli" |
...
}, " |
...
foreign_id": " |
...
TestForeignId", |
...
" |
...
g_language": |
...
|
...
{
" |
...
was_access_denied": |
...
false, |
...
"value": { |
...
|
...
"drop_down_definition_id": |
...
21, " |
...
drop_down_value": |
...
7, |
...
|
...
"display_name": " |
...
Deutsch", |
...
|
...
|
...
" |
...
name_key": "Module. |
...
GeneralSetting. |
...
Setting. |
...
Language. |
...
German", |
...
|
...
|
...
" |
...
translation": |
...
|
...
"Deutsch" |
...
} }, |
...
" |
...
id": |
...
20, |
...
"core_identity_type": |
...
{ |
...
"id": |
...
{ |
...
|
...
|
...
"was_access_denied": |
...
false, |
...
|
...
" |
...
value": |
...
1 |
...
} |
...
} } |
...
Simple query of a list of objects with standard properties
Code Block |
---|
GET /servicedmcore/CoreIdentity |
Code Block | ||
---|---|---|
| ||
[ { "Idactive": 1true, "ValidFromforeign_id": "2010-03-01T00:00:00Zmssql_1", "Activeid": true1, "TenantIdmanager_id": 1null, "ForeignId": "mssql_1", "ReadonlyDisplayNamereadonly_display_name": "Simon Gubler", "Emailtenant_id": { 1, "WasAccessDeniedvalid_from": false, "Value": "sigu@coreone.ch" }, "DisplayName": { "WasAccessDenied": false, "2010-03-01T00:00:00Z", "Valuevalid_to": "Simon Gubler"null }, "CoreIdentityTypeId": { "WasAccessDeniedactive": false, "Value": 1 } }, { "Id": 2"foreign_id": "mssql_todelete", "ValidFromid": "2014-05-30T00:00:00Z"2, "Activemanager_id": falsenull, "TenantId": 1, "ForeignId": "mssql_todelete", "ReadonlyDisplayName"readonly_display_name": "Marc Burkhard", "Emailtenant_id": { "WasAccessDenied": false, 1, "Value": null }, "DisplayName": { "WasAccessDenied": false, "Value": "Marc Burkhard" }"valid_from": "2014-05-30T00:00:00Z", "CoreIdentityTypeIdvalid_to": { "WasAccessDenied": false, null "Value": 1 } }, ... ] |
...
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, "WasAccessDeniedforeign_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", "Valuevalid_to": "Marko" }null }, ... ] |