DELETE example/api/publication/{publicationId}/smsoptouts?mobileNumber={mobileNumber}
https://app.bwz.se/bedrock/example/api/publication/{publicationId}/smsoptouts?mobileNumber={mobileNumber}
Deletes a publication optout.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
publicationId | integer |
Required |
|
mobileNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Nothing
Collection of SmsPublicationOptOutModelName | Description | Type | Additional information |
---|---|---|---|
MobileNumber |
Gets or sets the mobile number address of the SmsPublicationOptOut. |
string |
None. |
Id |
Gets or sets the id of the SmsPublicationOptOut. |
integer |
None. |
OptOutDate |
Gets or sets the opt out date of the SmsPublicationOptOut. |
date |
None. |
PublicationId |
Gets or sets the publication id of the SmsPublicationOptOut. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "MobileNumber": "sample string 1", "Id": 2, "OptOutDate": "2024-11-21T16:59:49.2299192+01:00", "PublicationId": 4 }, { "MobileNumber": "sample string 1", "Id": 2, "OptOutDate": "2024-11-21T16:59:49.2299192+01:00", "PublicationId": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfSmsPublicationOptOutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.SmsPublicationOptOut"> <SmsPublicationOptOutModel> <Id>2</Id> <MobileNumber>sample string 1</MobileNumber> <OptOutDate>2024-11-21T16:59:49.2299192+01:00</OptOutDate> <PublicationId>4</PublicationId> </SmsPublicationOptOutModel> <SmsPublicationOptOutModel> <Id>2</Id> <MobileNumber>sample string 1</MobileNumber> <OptOutDate>2024-11-21T16:59:49.2299192+01:00</OptOutDate> <PublicationId>4</PublicationId> </SmsPublicationOptOutModel> </ArrayOfSmsPublicationOptOutModel>