POST api/mailinglist/create
Create a new mailing list item
Request Information
URI Parameters
None.
Body Parameters
createmailinglistarguments| Name | Description | Type | Additional information |
|---|---|---|---|
| initials |
The Initials of the person |
string |
None. |
| firstname |
The first name of the person |
string |
None. |
| middlename |
The middle name of the person |
string |
None. |
| name |
The last name of the person |
string |
None. |
| street |
The street name of the customer |
string |
None. |
| housenumber |
The house number of the customer |
string |
None. |
| postalcode |
The postal code of the customer |
string |
None. |
| city |
The city of the customer |
string |
None. |
| birthdate |
The birthdate of the person, can be null |
date |
None. |
|
The email address of the person |
string |
None. |
|
| marketing |
The person has given permision to use the email addres for marketing activities |
boolean |
None. |
| mobilephone |
The mobile phonenumber |
string |
None. |
| licenceplate |
The licenceplate |
string |
None. |
Request Formats
application/json, text/json
{
"initials": "sample string 1",
"firstname": "sample string 2",
"middlename": "sample string 3",
"name": "sample string 4",
"street": "sample string 5",
"housenumber": "sample string 6",
"postalcode": "sample string 7",
"city": "sample string 8",
"birthdate": "2025-12-16",
"email": "sample string 9",
"marketing": true,
"mobilephone": "sample string 11",
"licenceplate": "sample string 12"
}
application/xml, text/xml
<createmailinglistarguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <birthdate>2025-12-16T12:28:33.8345524+01:00</birthdate> <city>sample string 8</city> <email>sample string 9</email> <firstname>sample string 2</firstname> <housenumber>sample string 6</housenumber> <initials>sample string 1</initials> <licenceplate>sample string 12</licenceplate> <marketing>true</marketing> <middlename>sample string 3</middlename> <mobilephone>sample string 11</mobilephone> <name>sample string 4</name> <postalcode>sample string 7</postalcode> <street>sample string 5</street> </createmailinglistarguments>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
createmailinglistarguments| Name | Description | Type | Additional information |
|---|---|---|---|
| initials |
The Initials of the person |
string |
None. |
| firstname |
The first name of the person |
string |
None. |
| middlename |
The middle name of the person |
string |
None. |
| name |
The last name of the person |
string |
None. |
| street |
The street name of the customer |
string |
None. |
| housenumber |
The house number of the customer |
string |
None. |
| postalcode |
The postal code of the customer |
string |
None. |
| city |
The city of the customer |
string |
None. |
| birthdate |
The birthdate of the person, can be null |
date |
None. |
|
The email address of the person |
string |
None. |
|
| marketing |
The person has given permision to use the email addres for marketing activities |
boolean |
None. |
| mobilephone |
The mobile phonenumber |
string |
None. |
| licenceplate |
The licenceplate |
string |
None. |
Response Formats
application/json, text/json
{
"initials": "sample string 1",
"firstname": "sample string 2",
"middlename": "sample string 3",
"name": "sample string 4",
"street": "sample string 5",
"housenumber": "sample string 6",
"postalcode": "sample string 7",
"city": "sample string 8",
"birthdate": "2025-12-16",
"email": "sample string 9",
"marketing": true,
"mobilephone": "sample string 11",
"licenceplate": "sample string 12"
}
application/xml, text/xml
<createmailinglistarguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <birthdate>2025-12-16T12:28:33.8502685+01:00</birthdate> <city>sample string 8</city> <email>sample string 9</email> <firstname>sample string 2</firstname> <housenumber>sample string 6</housenumber> <initials>sample string 1</initials> <licenceplate>sample string 12</licenceplate> <marketing>true</marketing> <middlename>sample string 3</middlename> <mobilephone>sample string 11</mobilephone> <name>sample string 4</name> <postalcode>sample string 7</postalcode> <street>sample string 5</street> </createmailinglistarguments>