Skip to end of banner
Go to start of banner

Person DTO

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 5 Current »

Das Person DTO entspricht einer Person mit allen dazugehörigen Adressen und Kommunikationselementen:

{
    "DtoTypeName": "PersonDtoV1",
    "DtoTypeVersion": "1",
    "GenericProperties": [
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Letzte Akquisition"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Last acquisition"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Letzte Akquisition"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Last acquisition"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "LastAcquire",
            "Nullable": true,
            "SortOrder": null,
            "Type": 12
        },
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Anzahl Akquisitionen"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Acquire amount"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Anzahl Akquisitionen"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Acquire amount"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "CounterAcquire",
            "Nullable": false,
            "SortOrder": null,
            "Type": 5
        },
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Nicht mehr akquirieren"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "No more acquire"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Nicht mehr akquirieren"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "No more acquire"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "NoMoreAcquire",
            "Nullable": false,
            "SortOrder": null,
            "Type": 3
        },
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Schwarze Liste"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Blacklist"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Schwarze Liste"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Blacklist"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "BlackList",
            "Nullable": true,
            "SortOrder": null,
            "Type": 3
        },
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Evento-Id"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Evento-Id"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Evento-Id"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Evento-Id"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "EventoId",
            "Nullable": false,
            "SortOrder": null,
            "Type": 14
        },
        {
            "Behaviour": 0,
            "Description": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Firmen-Ort"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Company city"
                    }
                ]
            },
            "DisplayName": {
                "Values": [
                    {
                        "IetfLanguageTag": "de-CH",
                        "Value": "Firmen-Ort"
                    },
                    {
                        "IetfLanguageTag": "en-US",
                        "Value": "Company city"
                    }
                ]
            },
            "IsDynamicStringValue": false,
            "IsExtensionProperty": true,
            "IsMultiline": false,
            "LookupId": null,
            "Name": "CompanyCity",
            "Nullable": false,
            "SortOrder": null,
            "Type": 14
        }
    ],
    "GenericPropertyValues": [],
    "LookupValues": [],
    "MessageList": [],
    "RowState": 0,
    "CommunicationElements": [],
    "CorrespondenceLanguageTag": null,
    "Id": 0,
    "IdentityNumber": null,
    "IsOrganization": false,
    "IsPrivatePerson": false,
    "NationalityCode": null,
    "OrganizationName": null,
    "OrganizationName2": null,
    "OrganizationName3": null,
    "PostalAddresses": [],
    "PrivatePersonBirthday": null,
    "PrivatePersonBirthplace": null,
    "PrivatePersonFirstName": null,
    "PrivatePersonGenderId": 0,
    "PrivatePersonName": null,
    "PrivatePersonRank": null,
    "PrivatePersonTitle": null,
    "Worknote": null
}
AttributBeschreibungDatentyp
DtoTypeNameImmer PersonDtoV1String
DtoTypeVersionVersion des DTOsInteger
GenericPropertiesGenericPropertiesGenericProperties DTO
GenericPropertyValuesGenericPropertyValuesGenericPropertyValues DTO
LookupValuesLookupValuesLookupValues DTO
MessageListMessageList→ MessageList DTO
RowState

Wird gesetzt um den Service anzuweisen, wie mit dem Objekt umgegangen werden soll:

0 = Keine Aktion
1 = Einfügen
2 = Aktualisieren
3 = Löschen 

Integer
CommunicationElementsEine Liste von Communication Elements DTO→ CommunicationElement DTO
CorrespondenceLanguageTagSprache, in welcher die Korrespondenz erwünscht wirdString
IdId der PersonInteger
IdentityNumberNicht verwenden 
IsOrganizationIst die Person eine Firma oder PersonBoolean
IsPrivatePersonIst die Person eine natürliche PersonBoolean
NationalityCodeNationalität der Person als ISO CodeString
OrganizationNameOrganisationsname 1, Firmenname 1String
OrganizationName2Organisationsname 2, Firmenname 2String
OrganizationName3Organisationsname 3, Firmenname 3String
PostalAddressesListe von postalischen Adressen→ PostalAddress DTO
PrivatePersonBirthdayGeburtsdatumDatetime, im Format dd.MM.yyyy übergeben, also 20.05.1980
PrivatePersonBirthplaceGeburtsortString
PrivatePersonFirstNameVornameString
PrivatePersonGenderId

Geschlecht

0 = Männlich
1 = Weiblich 

Integer
PrivatePersonNameNachname der PersonString
PrivatePersonRankNicht verwendenString
PrivatePersonTitleTitelString
WorknoteArbeitsnotiz (wird normalerweise nicht über das API gesetzt)String
  • No labels