POST example/api/MailTotalOptOut
https://app.bwz.se/bedrock/example/api/MailTotalOptOut
Creates a MailTotalOptOut (the user will not receive any e-mails).
Request Information
URI Parameters
None.
Body Parameters
Gets or sets the email. The email.
CreateMailTotalOptOutArgsName | Description | Type | Additional information |
---|---|---|---|
Gets or sets the email. |
string |
Required Valid email adress |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1" }
application/xml, text/xml
Sample:
<CreateMailTotalOptOutArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models"> <Email>sample string 1</Email> </CreateMailTotalOptOutArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The MailTotalOptOutModel that has been created.
MailTotalOptOutModelName | Description | Type | Additional information |
---|---|---|---|
Gets or sets the email. |
string |
None. |
|
Id |
Gets or sets the identifier. |
integer |
None. |
OptOutDate |
Gets or sets the opt out date. |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "Id": 2, "OptOutDate": "2024-11-24T01:25:25.4513447+01:00" }
application/xml, text/xml
Sample:
<MailTotalOptOutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models"> <Email>sample string 1</Email> <Id>2</Id> <OptOutDate>2024-11-24T01:25:25.4513447+01:00</OptOutDate> </MailTotalOptOutModel>