PUT example/api/Publication/{id}

https://app.bwz.se/bedrock/example/api/Publication/{id}

Updates a Publication

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the publication to update

integer

Required

Body Parameters

Sets the Preheader of the Publication

UpdatePublicationArgs
NameDescriptionTypeAdditional information
Name

Name of the Publication.

string

Valid name with max 256 characters

DefaultFromName

Sets the default from name.

string

None.

DefaultFromEmail

Sets the default from email.

string

Empty or a valid email adress

DefaultReplyToEmailAddress

Sets the default reply to email address.

string

Empty or a valid email adress

Preheader

Sets the Preheader of the Publication

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "DefaultFromName": "sample string 2",
  "DefaultFromEmail": "sample string 3",
  "DefaultReplyToEmailAddress": "sample string 4",
  "Preheader": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdatePublicationArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Publication">
  <DefaultFromEmail>sample string 3</DefaultFromEmail>
  <DefaultFromName>sample string 2</DefaultFromName>
  <DefaultReplyToEmailAddress>sample string 4</DefaultReplyToEmailAddress>
  <Name>sample string 1</Name>
  <Preheader>sample string 5</Preheader>
</UpdatePublicationArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PublicationModel
NameDescriptionTypeAdditional information
Id

Gets or sets the Name value of the PublicationModel.

integer

None.

Name

Gets or sets the Name value of the PublicationModel.

string

None.

FriendlyName

Gets or sets the friendly name value of the PublicationModel.

string

None.

Description

Gets or sets the Description value of the PublicationModel.

string

None.

SenderName

Gets or sets the SenderName value of the PublicationModel.

string

None.

SenderEmailAddress

Gets or sets the SenderEmailAddress value of the PublicationModel.

string

None.

DeliveryReportAddresses

Gets or sets the DeliveryReportAddresses value of the PublicationModel.

Collection of string

None.

ReplyToEmailAddress

Gets or sets the ReplyToEmailAddress value of the PublicationModel.

string

None.

CreationDate

Gets or sets the CreationDate value of the PublicationModel.

date

None.

ModifiedDate

Gets or sets the ModifiedDate value of the PublicationModel.

date

None.

DeletionDate

Gets or sets the DeletionDate value of the PublicationModel.

date

None.

DoubleOptInTimeOut

Gets or sets the DoubleOptInTimeOut value of the PublicationModel.

integer

None.

SiteUrlId

Gets or sets the SiteUrlId value of the PublicationModel.

integer

None.

AutoReplyNewSubscriberSystemMailID

Gets or sets the AutoReplyNewSubscriberSystemMailID value of the PublicationModel.

integer

None.

AutoReplyRemoveSubscriberSystemMailID

Gets or sets the AutoReplyRemoveSubscriberSystemMailID value of the PublicationModel.

integer

None.

ReportNewSubscriberSystemMailID

Gets or sets the ReportNewSubscriberSystemMailID value of the PublicationModel.

integer

None.

ReportRemoveSubscriberSystemMailID

Gets or sets the ReportRemoveSubscriberSystemMailID value of the PublicationModel.

integer

None.

DoubleOptInSystemMailID

Gets or sets the DoubleOptInSystemMailID value of the PublicationModel.

integer

None.

SubscriptionPageContentID

Gets or sets the SubscriptionPageContentID value of the PublicationModel.

integer

None.

RemovalPageContentID

Gets or sets the RemovalPageContentID value of the PublicationModel.

integer

None.

ConfirmRemovalPageContentID

Gets or sets the ConfirmRemovalPageContentID value of the PublicationModel.

integer

None.

TotalOptOutPageContentID

Gets or sets the TotalOptOutPageContentID value of the PublicationModel.

integer

None.

ResubscriptionPageContentID

Gets or sets the ResubscriptionPageContentID value of the PublicationModel.

integer

None.

ExistingSubscriberPageContentID

Gets or sets the ExistingSubscriberPageContentID value of the PublicationModel.

integer

None.

DoubleOptInConfirmPageContentID

Gets or sets the DoubleOptInConfirmPageContentID value of the PublicationModel.

integer

None.

NewSubscriptionPageContentID

Gets or sets the NewSubscriptionPageContentID value of the PublicationModel.

integer

None.

OptinRecipientListID

Gets or sets the OptinRecipientListID value of the PublicationModel.

integer

None.

SmsOptInRecipientListID

Gets or sets the SmsOptInRecipientListID value of the PublicationModel.

integer

None.

DoubleOptInListId

Gets or sets the DoubleOptInListId value of the PublicationModel.

integer

None.

FaxOptInRecipientListID

Gets or sets the FaxOptInRecipientListID value of the PublicationModel.

integer

None.

ResponsibleUserID

Gets or sets the ResponsibleUserID value of the PublicationModel.

integer

None.

FormID

Gets or sets the FormID value of the PublicationModel.

integer

None.

UseDoubleOptin

Gets or sets the UseDoubleOptin value of the PublicationModel.

boolean

None.

SendAutoReplyNewSubscriber

Gets or sets the SendAutoReplyNewSubscriber value of the PublicationModel.

boolean

None.

SendReportNewSubscriber

Gets or sets the SendReportNewSubscriber value of the PublicationModel.

boolean

None.

SendAutoReplyRemoveSubscriber

Gets or sets the SendAutoReplyRemoveSubscriber value of the PublicationModel.

boolean

None.

SendReportRemoveSubscriber

Gets or sets the SendReportRemoveSubscriber value of the PublicationModel.

boolean

None.

ShowNewSubscriptionPage

Gets or sets the ShowNewSubscriptionPage value of the PublicationModel.

boolean

None.

ShowRemovalPage

Gets or sets the ShowRemovalPage value of the PublicationModel.

boolean

None.

ShowConfirmRemovalPage

Gets or sets the ShowConfirmRemovalPage value of the PublicationModel.

boolean

None.

Deleted

Gets or sets the Deleted value of the PublicationModel.

boolean

None.

ShowTotalOptOutPage

Gets or sets the ShowTotalOptOutPage value of the PublicationModel.

boolean

None.

ShowResubscriptionPage

Gets or sets the ShowResubscriptionPage value of the PublicationModel.

boolean

None.

ShowExistingSubscriberPage

Gets or sets the ShowExistingSubscriberPage value of the PublicationModel.

boolean

None.

UseWebSubscription

Gets or sets the UseWebSubscription value of the PublicationModel.

boolean

None.

UseSubscriptionForm

Gets or sets the UseSubscriptionForm value of the PublicationModel.

boolean

None.

UseSubscriptionPage

Gets or sets the UseSubscriptionPage value of the PublicationModel.

boolean

None.

SendDoubleOptInSystemMail

Gets or sets the SendDoubleOptInSystemMail value of the PublicationModel.

boolean

None.

ShowDoubleOptInConfirmPage

Gets or sets the ShowDoubleOptInConfirmPage value of the PublicationModel.

boolean

None.

UseCancellation

Gets or sets the UseCancellation value of the PublicationModel.

boolean

None.

UseIntegration

Gets or sets the UseIntegration value of the PublicationModel.

boolean

None.

ValidateContent

Gets or sets the ValidateContent value of the PublicationModel.

boolean

None.

CanSelectMessageAsTemplate

Gets or sets the CanSelectMessageAsTemplate value of the PublicationModel.

boolean

None.

CreatedByUserId

Gets or sets the CreatedByUserId value of the PublicationModel.

integer

None.

Preheader

Gets or sets the Preheader value of the PublicationModel

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "FriendlyName": "sample string 3",
  "Description": "sample string 4",
  "SenderName": "sample string 5",
  "SenderEmailAddress": "sample string 6",
  "DeliveryReportAddresses": [
    "sample string 1",
    "sample string 2"
  ],
  "ReplyToEmailAddress": "sample string 7",
  "CreationDate": "2024-12-23T06:24:35.8248008+01:00",
  "ModifiedDate": "2024-12-23T06:24:35.8248008+01:00",
  "DeletionDate": "2024-12-23T06:24:35.8248008+01:00",
  "DoubleOptInTimeOut": 10,
  "SiteUrlId": 11,
  "AutoReplyNewSubscriberSystemMailID": 1,
  "AutoReplyRemoveSubscriberSystemMailID": 1,
  "ReportNewSubscriberSystemMailID": 1,
  "ReportRemoveSubscriberSystemMailID": 1,
  "DoubleOptInSystemMailID": 1,
  "SubscriptionPageContentID": 1,
  "RemovalPageContentID": 1,
  "ConfirmRemovalPageContentID": 1,
  "TotalOptOutPageContentID": 1,
  "ResubscriptionPageContentID": 1,
  "ExistingSubscriberPageContentID": 1,
  "DoubleOptInConfirmPageContentID": 1,
  "NewSubscriptionPageContentID": 1,
  "OptinRecipientListID": 1,
  "SmsOptInRecipientListID": 1,
  "DoubleOptInListId": 1,
  "FaxOptInRecipientListID": 1,
  "ResponsibleUserID": 1,
  "FormID": 1,
  "UseDoubleOptin": true,
  "SendAutoReplyNewSubscriber": true,
  "SendReportNewSubscriber": true,
  "SendAutoReplyRemoveSubscriber": true,
  "SendReportRemoveSubscriber": true,
  "ShowNewSubscriptionPage": true,
  "ShowRemovalPage": true,
  "ShowConfirmRemovalPage": true,
  "Deleted": true,
  "ShowTotalOptOutPage": true,
  "ShowResubscriptionPage": true,
  "ShowExistingSubscriberPage": true,
  "UseWebSubscription": true,
  "UseSubscriptionForm": true,
  "UseSubscriptionPage": true,
  "SendDoubleOptInSystemMail": true,
  "ShowDoubleOptInConfirmPage": true,
  "UseCancellation": true,
  "UseIntegration": true,
  "ValidateContent": true,
  "CanSelectMessageAsTemplate": true,
  "CreatedByUserId": 32,
  "Preheader": "sample string 33"
}

application/xml, text/xml

Sample:
<PublicationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Publication">
  <AutoReplyNewSubscriberSystemMailID>1</AutoReplyNewSubscriberSystemMailID>
  <AutoReplyRemoveSubscriberSystemMailID>1</AutoReplyRemoveSubscriberSystemMailID>
  <CanSelectMessageAsTemplate>true</CanSelectMessageAsTemplate>
  <ConfirmRemovalPageContentID>1</ConfirmRemovalPageContentID>
  <CreatedByUserId>32</CreatedByUserId>
  <CreationDate>2024-12-23T06:24:35.8248008+01:00</CreationDate>
  <Deleted>true</Deleted>
  <DeletionDate>2024-12-23T06:24:35.8248008+01:00</DeletionDate>
  <DeliveryReportAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DeliveryReportAddresses>
  <Description>sample string 4</Description>
  <DoubleOptInConfirmPageContentID>1</DoubleOptInConfirmPageContentID>
  <DoubleOptInListId>1</DoubleOptInListId>
  <DoubleOptInSystemMailID>1</DoubleOptInSystemMailID>
  <DoubleOptInTimeOut>10</DoubleOptInTimeOut>
  <ExistingSubscriberPageContentID>1</ExistingSubscriberPageContentID>
  <FaxOptInRecipientListID>1</FaxOptInRecipientListID>
  <FormID>1</FormID>
  <FriendlyName>sample string 3</FriendlyName>
  <Id>1</Id>
  <ModifiedDate>2024-12-23T06:24:35.8248008+01:00</ModifiedDate>
  <Name>sample string 2</Name>
  <NewSubscriptionPageContentID>1</NewSubscriptionPageContentID>
  <OptinRecipientListID>1</OptinRecipientListID>
  <Preheader>sample string 33</Preheader>
  <RemovalPageContentID>1</RemovalPageContentID>
  <ReplyToEmailAddress>sample string 7</ReplyToEmailAddress>
  <ReportNewSubscriberSystemMailID>1</ReportNewSubscriberSystemMailID>
  <ReportRemoveSubscriberSystemMailID>1</ReportRemoveSubscriberSystemMailID>
  <ResponsibleUserID>1</ResponsibleUserID>
  <ResubscriptionPageContentID>1</ResubscriptionPageContentID>
  <SendAutoReplyNewSubscriber>true</SendAutoReplyNewSubscriber>
  <SendAutoReplyRemoveSubscriber>true</SendAutoReplyRemoveSubscriber>
  <SendDoubleOptInSystemMail>true</SendDoubleOptInSystemMail>
  <SendReportNewSubscriber>true</SendReportNewSubscriber>
  <SendReportRemoveSubscriber>true</SendReportRemoveSubscriber>
  <SenderEmailAddress>sample string 6</SenderEmailAddress>
  <SenderName>sample string 5</SenderName>
  <ShowConfirmRemovalPage>true</ShowConfirmRemovalPage>
  <ShowDoubleOptInConfirmPage>true</ShowDoubleOptInConfirmPage>
  <ShowExistingSubscriberPage>true</ShowExistingSubscriberPage>
  <ShowNewSubscriptionPage>true</ShowNewSubscriptionPage>
  <ShowRemovalPage>true</ShowRemovalPage>
  <ShowResubscriptionPage>true</ShowResubscriptionPage>
  <ShowTotalOptOutPage>true</ShowTotalOptOutPage>
  <SiteUrlId>11</SiteUrlId>
  <SmsOptInRecipientListID>1</SmsOptInRecipientListID>
  <SubscriptionPageContentID>1</SubscriptionPageContentID>
  <TotalOptOutPageContentID>1</TotalOptOutPageContentID>
  <UseCancellation>true</UseCancellation>
  <UseDoubleOptin>true</UseDoubleOptin>
  <UseIntegration>true</UseIntegration>
  <UseSubscriptionForm>true</UseSubscriptionForm>
  <UseSubscriptionPage>true</UseSubscriptionPage>
  <UseWebSubscription>true</UseWebSubscription>
  <ValidateContent>true</ValidateContent>
</PublicationModel>