Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Einfache Abfrage eines einzelnen Objektes mit Standard-Eigenschaften

GET /apiv2/servicedmcore/CoreIdentity/20
{
    "Id": 20,
    "ValidFrom": "2017-01-01T00:00:00Z",
    "Active": true,
    "TenantId": 1,
    "ForeignId": "mssql_113",
    "ReadonlyDisplayName": "Wiwoldi Wawrinka",
    "Email": {
        "WasAccessDenied": false,
        "Value": "wiwa@coreone.ch"
    },
    "DisplayName": {
        "WasAccessDenied": false,
        "Value": "Wiwoldi Wawrinka"
    },
    "CoreIdentityTypeId": {
        "WasAccessDenied": false,
        "Value": 1
    }
} 

Abfrage eines einzelnen Objektes mit erweiterten Eigenschaften

Siehe "Abfragen aller verfügbaren Felder eines Objekt-Types"

GET /apiv2/servicedmcore/CoreIdentity/20/
?fields=Id,Active,ForeignId,Vorname,Nachname,Private%20Adresszeile%201,CoreIdentityType.Id
{
    "Active": true,
    "CoreIdentityType.Id": {
        "WasAccessDenied": false,
        "Value": 1
    },
    "ForeignId": "mssql_113",
    "Id": 20,
    "Nachname": {
        "WasAccessDenied": false,
        "Value": "Wawrinka"
    },
    "Private Adresszeile 1": {
        "WasAccessDenied": false,
        "Value": "Bahnhofplatz 3h"
    },
    "Vorname": {
        "WasAccessDenied": false,
        "Value": "Wiwoldi"
    }
}

Einfache Abfrage einer Liste von Objekten mit Standard-Eigenschaften

GET /servicedmcore/CoreIdentity
[
    {
        "Id": 1,
        "ValidFrom": "2010-03-01T00:00:00Z",
        "Active": true,
        "TenantId": 1,
        "ForeignId": "mssql_1",
        "ReadonlyDisplayName": "Simon Gubler",
        "Email": {
            "WasAccessDenied": false,
            "Value": "sigu@coreone.ch"
        },
        "DisplayName": {
            "WasAccessDenied": false,
            "Value": "Simon Gubler"
        },
        "CoreIdentityTypeId": {
            "WasAccessDenied": false,
            "Value": 1
        }
    },
    {
        "Id": 2,
        "ValidFrom": "2014-05-30T00:00:00Z",
        "Active": false,
        "TenantId": 1,
        "ForeignId": "mssql_todelete",
        "ReadonlyDisplayName": "Marc Burkhard",
        "Email": {
            "WasAccessDenied": false,
            "Value": null
        },
        "DisplayName": {
            "WasAccessDenied": false,
            "Value": "Marc Burkhard"
        },
        "CoreIdentityTypeId": {
            "WasAccessDenied": false,
            "Value": 1
        }
    },
    ...
]

Abfrage einer gefilterten Liste von Objekten mit erweiterten Eigenschaften

Siehe "Abfragen aller verfügbaren Felder eines Objekt-Types"

GET /servicedmcore/CoreIdentity
?fields=Id,Vorname,Nachname,CoreIdentityType.Id
&filter=Vorname startsWith M
&take=30
&totalcount=true
[
    {
        "CoreIdentityType.Id": {
            "WasAccessDenied": false,
            "Value": 1
        },
        "Id": 2,
        "Nachname": {
            "WasAccessDenied": false,
            "Value": "Burkhard"
        },
        "Vorname": {
            "WasAccessDenied": false,
            "Value": "Marc"
        }
    },
    {
        "CoreIdentityType.Id": {
            "WasAccessDenied": false,
            "Value": 1
        },
        "Id": 3,
        "Nachname": {
            "WasAccessDenied": false,
            "Value": "Suster"
        },
        "Vorname": {
            "WasAccessDenied": false,
            "Value": "Marko"
        }
    },
    ...
]
  • No labels