GET example/api/publication/{publicationId}/smsoptouts?FromDateTime={FromDateTime}
https://app.bwz.se/bedrock/example/api/publication/{publicationId}/smsoptouts?FromDateTime={FromDateTime}
Gets SmsPublicationOptOutModels of a Publication.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
publicationId | integer |
Required |
Body Parameters
Gets or sets from date time. From date time.
SmsPublicationOptOutFilterOptionsName | Description | Type | Additional information |
---|---|---|---|
FromDateTime |
Gets or sets from date time. |
date |
None. |
Response Information
Resource Description
Array of SmsPublicationOptOutModels.
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-12-23T06:57:44.7294146+01:00", "PublicationId": 4 }, { "MobileNumber": "sample string 1", "Id": 2, "OptOutDate": "2024-12-23T06:57:44.7294146+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-12-23T06:57:44.7294146+01:00</OptOutDate> <PublicationId>4</PublicationId> </SmsPublicationOptOutModel> <SmsPublicationOptOutModel> <Id>2</Id> <MobileNumber>sample string 1</MobileNumber> <OptOutDate>2024-12-23T06:57:44.7294146+01:00</OptOutDate> <PublicationId>4</PublicationId> </SmsPublicationOptOutModel> </ArrayOfSmsPublicationOptOutModel>