POST api/ContactNewV2?user={user}&password={password}&applicationName={applicationName}
Een nieuwe contactpersoon aanbieden aan het DATA-collectief.
Request Information
URI Parameters
| Naam | Omschrijving | Type | Extra informatie |
|---|---|---|---|
| user |
E-mailadres van Mijn DATA-collectief account. |
string |
Vereist |
| password |
Wachtwoord API koppeling. |
string |
Vereist |
| applicationName |
Applicatienaam API koppeling. |
string |
Vereist |
Body Parameters
ContactNewV2Request| Naam | Omschrijving | Type | Extra informatie |
|---|---|---|---|
| CompanyID |
DATA-collectief bedrijfsnummer |
integer |
Geen |
| Name |
Contactpersoonnaam |
string |
Geen |
|
|
string |
Geen |
|
| FirstName |
Voornaam |
string |
Geen |
| FunctionDescription |
Functie omschrijving |
string |
Geen |
| Gender |
Geslacht |
Gender |
Geen |
| Mobilephone |
Mobiele telefoonnummer |
string |
Geen |
| Telephone |
Telefoonnummer |
string |
Geen |
Request Formats
application/json, text/json
Voorbeeld:
{
"CompanyID": 1,
"Name": "voorbeeld string 2",
"Email": "voorbeeld string 3",
"FirstName": "voorbeeld string 4",
"FunctionDescription": "voorbeeld string 5",
"Gender": 0,
"Mobilephone": "voorbeeld string 6",
"Telephone": "voorbeeld string 7"
}
application/xml, text/xml
Voorbeeld:
<ContactNewV2Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CompanyID>1</CompanyID> <Name>voorbeeld string 2</Name> <Email>voorbeeld string 3</Email> <FirstName>voorbeeld string 4</FirstName> <FunctionDescription>voorbeeld string 5</FunctionDescription> <Gender>Male</Gender> <Mobilephone>voorbeeld string 6</Mobilephone> <Telephone>voorbeeld string 7</Telephone> </ContactNewV2Request>
Response Information
| Naam | Omschrijving | Type | Extra informatie |
|---|---|---|---|
| Name |
Naam van contactpersoon. |
string |
Geen |
| FirstName |
Voornaam van contactpersoon. |
string |
Geen |
| Gender |
Geslacht van contactpersoon. |
Gender |
Geen |
| Telephone |
Telefoonnummer van contactpersoon. |
string |
Geen |
| MobileTelephone |
Mobiele nummer van contactpersoon. |
string |
Geen |
|
E-mailadres van contactpersoon. |
string |
Geen |
|
| FunctionDescription |
Functie omschrijving van contactpersoon. |
string |
Geen |
| Department |
Afdeling van contactpersoon. |
string |
Geen |
| Deleted |
Verwijderd. |
boolean |
Geen |
Response Formats
application/json, text/json
Voorbeeld:
{
"Name": "voorbeeld string 1",
"FirstName": "voorbeeld string 2",
"Gender": 0,
"Telephone": "voorbeeld string 3",
"MobileTelephone": "voorbeeld string 4",
"Email": "voorbeeld string 5",
"FunctionDescription": "voorbeeld string 6",
"Department": "voorbeeld string 7",
"Deleted": true
}
application/xml, text/xml
Voorbeeld:
<NewContactResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Name>voorbeeld string 1</Name> <FirstName>voorbeeld string 2</FirstName> <Gender>Male</Gender> <Telephone>voorbeeld string 3</Telephone> <MobileTelephone>voorbeeld string 4</MobileTelephone> <Email>voorbeeld string 5</Email> <FunctionDescription>voorbeeld string 6</FunctionDescription> <Department>voorbeeld string 7</Department> <Deleted>true</Deleted> </NewContactResult>