/Customers/{customerNumber}/ContactPersons
Description
Creates a new contact person for a client. The properties of the new contact person must be transferred in the body of the request.
- The right ‘Anlegen’ is required for the data ‘Kunde’.
Request
URI Parameters
customerNumber
string
Required
Die Nummer des Kunden ist erforderlich.
Body Parameters
Das Model enthält sämtliche Eigenschaften der anzulegeneden Kontaktperson
PersonKind
Art der Person zu welcher der Kontakt gehört
ParentNumber
string
Nummer der Person zu welcher der Kontakt gehört
Number
string
Länge: einschließlich zwischen 0 und 13
The number of the record.
Salutation
string
Länge: einschließlich zwischen 0 und 30
The salutation of business partner.[CRM-Addresses.Salutation]
LetterSalutation
string
Länge: einschließlich zwischen 0 und 50
The salutation of business partner.[CRM_Addresses.LetterSalutation]
Title
string
Länge: einschließlich zwischen 0 und 30
The title of the business partner.[CRM_Addresses.Title]
FirstName
string
Länge: einschließlich zwischen 0 und 40
The first name of the business partner.[CRM_Addresses.FirstName]
LastName
string
Länge: einschließlich zwischen 0 und 80
The surname of the business partner. [CRM_Addresses.Name]
Company
string
Länge: einschließlich zwischen 0 und 80
The firm name of the business partner.[CRM_Addresses.Firm]
Department
string
Länge: einschließlich zwischen 0 und 80
The department of the business partner. [CRM_Addresss.Department]
Function
string
Länge: einschließlich zwischen 0 und 80
The function of the business partner.[CRM_Addresses.Function]
BirthDay
date
The birthday of the business partner. [CRM_Adressen.Birthday]
TrafficRouteKind
string
The type of transport mode of the customer.
TrafficRouteKindLabel
string
The name of the customer´s mode of transport.
Address
The address data of business partner.
PostOfficeBox
The mailbox data of business partners.
Contact
The contact data of business partners.
CustomField
The 'free fields' of customers.
MetaData
Creation / processing data of the business partner
Request Formats
application/json
Example:
{
"PersonKind": "Customer",
"ParentNumber": "sample string 1",
"Number": "sample string 2",
"Salutation": "sample string 3",
"LetterSalutation": "sample string 4",
"Title": "sample string 5",
"FirstName": "sample string 6",
"LastName": "sample string 7",
"Company": "sample string 8",
"Department": "sample string 9",
"Function": "sample string 10",
"BirthDay": "2024-12-26T20:33:47.0207073+01:00",
"TrafficRouteKind": "sample string 11",
"TrafficRouteKindLabel": "sample string 12",
"Address": {
"Street": "sample string 1",
"City": "sample string 2",
"ZipCode": "sample string 3",
"CountryId": "sample string 4",
"AdditionalInformation1": "sample string 5",
"AdditionalInformation2": "sample string 6",
"AdditionalInformation3": "sample string 7",
"MetaData": {
"CreationDate": "2024-12-26T20:33:47.0207073+01:00",
"CreationUserToken": "sample string 1",
"ModificationDate": "2024-12-26T20:33:47.0207073+01:00",
"ModificationUserToken": "sample string 2"
}
},
"PostOfficeBox": {
"Number": "sample string 1",
"ZipCode": "sample string 2",
"City": "sample string 3",
"CountryId": "sample string 4"
},
"Contact": {
"FaxNumber": "sample string 1",
"TelephoneNumber1": "sample string 2",
"TelephoneNumber2": "sample string 3",
"TelephoneNumber3": "sample string 4",
"TelephoneNumber4": "sample string 5",
"EMail1": "sample string 6",
"EMail2": "sample string 7",
"HomePageUrl": "sample string 8"
},
"CustomField": {
"Text1": "sample string 1",
"Text2": "sample string 2",
"Number1": 1.1,
"Number2": 1.1,
"Number3": 1,
"Number4": 1,
"Date1": "2024-12-26T20:33:47.0207073+01:00",
"Date2": "2024-12-26T20:33:47.0207073+01:00",
"Flag1": true,
"Flag2": true,
"Flag3": true,
"Flag4": true
},
"MetaData": {
"CreationDate": "2024-12-26T20:33:47.0207073+01:00",
"CreationUserToken": "sample string 1",
"ModificationDate": "2024-12-26T20:33:47.0207073+01:00",
"ModificationUserToken": "sample string 2"
}
}
Response
Resource Description
Ein HTTP Status Code 201 (Created) bestätigt das erfolgreiche Anlegen. Der Response Location Header enthält die Url des angelegten Kontaktes. Es wird kein Content geliefert.
ContactPersonNumber
string
ID der Kontaktperson
CustomerNumber
string
Nummer des Kunden
Response Formats
application/json
Example:
{
"ContactPersonNumber": "sample string 1",
"CustomerNumber": "sample string 2"
}