Class Marketing
- java.lang.Object
-
- com.stackone.stackone_client_java.Marketing
-
public class Marketing extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
async
public AsyncMarketing async()
Switches to the async SDK.- Returns:
- The async SDK
-
listEmailTemplates
public MarketingListEmailTemplatesRequestBuilder listEmailTemplates()
List Email Templates- Returns:
- The call builder
-
listEmailTemplates
public MarketingListEmailTemplatesResponse listEmailTemplates(MarketingListEmailTemplatesRequest request) throws java.lang.Exception
List Email Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listEmailTemplates
public MarketingListEmailTemplatesResponse listEmailTemplates(MarketingListEmailTemplatesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Email Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createEmailTemplate
public MarketingCreateEmailTemplateRequestBuilder createEmailTemplate()
Create Email Templates- Returns:
- The call builder
-
createEmailTemplate
public MarketingCreateEmailTemplateResponse createEmailTemplate(java.lang.String xAccountId, MarketingCreateEmailTemplateRequestDto marketingCreateEmailTemplateRequestDto) throws java.lang.Exception
Create Email Templates- Parameters:
xAccountId- The account identifiermarketingCreateEmailTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createEmailTemplate
public MarketingCreateEmailTemplateResponse createEmailTemplate(java.lang.String xAccountId, MarketingCreateEmailTemplateRequestDto marketingCreateEmailTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create Email Templates- Parameters:
xAccountId- The account identifiermarketingCreateEmailTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getEmailTemplate
public MarketingGetEmailTemplateRequestBuilder getEmailTemplate()
Get Email Templates- Returns:
- The call builder
-
getEmailTemplate
public MarketingGetEmailTemplateResponse getEmailTemplate(MarketingGetEmailTemplateRequest request) throws java.lang.Exception
Get Email Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getEmailTemplate
public MarketingGetEmailTemplateResponse getEmailTemplate(MarketingGetEmailTemplateRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Email Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateEmailTemplate
public MarketingUpdateEmailTemplateRequestBuilder updateEmailTemplate()
Update Email Templates- Returns:
- The call builder
-
updateEmailTemplate
public MarketingUpdateEmailTemplateResponse updateEmailTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateEmailTemplateRequestDto marketingCreateEmailTemplateRequestDto) throws java.lang.Exception
Update Email Templates- Parameters:
xAccountId- The account identifierid-marketingCreateEmailTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateEmailTemplate
public MarketingUpdateEmailTemplateResponse updateEmailTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateEmailTemplateRequestDto marketingCreateEmailTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update Email Templates- Parameters:
xAccountId- The account identifierid-marketingCreateEmailTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listInAppTemplates
public MarketingListInAppTemplatesRequestBuilder listInAppTemplates()
List In-App Templates- Returns:
- The call builder
-
listInAppTemplates
public MarketingListInAppTemplatesResponse listInAppTemplates(MarketingListInAppTemplatesRequest request) throws java.lang.Exception
List In-App Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listInAppTemplates
public MarketingListInAppTemplatesResponse listInAppTemplates(MarketingListInAppTemplatesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List In-App Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createInAppTemplate
public MarketingCreateInAppTemplateRequestBuilder createInAppTemplate()
Create In-App Template- Returns:
- The call builder
-
createInAppTemplate
public MarketingCreateInAppTemplateResponse createInAppTemplate(java.lang.String xAccountId, MarketingCreateInAppTemplateRequestDto marketingCreateInAppTemplateRequestDto) throws java.lang.Exception
Create In-App Template- Parameters:
xAccountId- The account identifiermarketingCreateInAppTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createInAppTemplate
public MarketingCreateInAppTemplateResponse createInAppTemplate(java.lang.String xAccountId, MarketingCreateInAppTemplateRequestDto marketingCreateInAppTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create In-App Template- Parameters:
xAccountId- The account identifiermarketingCreateInAppTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getInAppTemplate
public MarketingGetInAppTemplateRequestBuilder getInAppTemplate()
Get In-App Template- Returns:
- The call builder
-
getInAppTemplate
public MarketingGetInAppTemplateResponse getInAppTemplate(MarketingGetInAppTemplateRequest request) throws java.lang.Exception
Get In-App Template- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getInAppTemplate
public MarketingGetInAppTemplateResponse getInAppTemplate(MarketingGetInAppTemplateRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get In-App Template- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateInAppTemplate
public MarketingUpdateInAppTemplateRequestBuilder updateInAppTemplate()
Update In-App Template- Returns:
- The call builder
-
updateInAppTemplate
public MarketingUpdateInAppTemplateResponse updateInAppTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateInAppTemplateRequestDto marketingCreateInAppTemplateRequestDto) throws java.lang.Exception
Update In-App Template- Parameters:
xAccountId- The account identifierid-marketingCreateInAppTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateInAppTemplate
public MarketingUpdateInAppTemplateResponse updateInAppTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateInAppTemplateRequestDto marketingCreateInAppTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update In-App Template- Parameters:
xAccountId- The account identifierid-marketingCreateInAppTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listSmsTemplates
public MarketingListSmsTemplatesRequestBuilder listSmsTemplates()
List SMS Templates- Returns:
- The call builder
-
listSmsTemplates
public MarketingListSmsTemplatesResponse listSmsTemplates(MarketingListSmsTemplatesRequest request) throws java.lang.Exception
List SMS Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listSmsTemplates
public MarketingListSmsTemplatesResponse listSmsTemplates(MarketingListSmsTemplatesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List SMS Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createSmsTemplate
public MarketingCreateSmsTemplateRequestBuilder createSmsTemplate()
Create SMS Template- Returns:
- The call builder
-
createSmsTemplate
public MarketingCreateSmsTemplateResponse createSmsTemplate(java.lang.String xAccountId, MarketingCreateSmsTemplateRequestDto marketingCreateSmsTemplateRequestDto) throws java.lang.Exception
Create SMS Template- Parameters:
xAccountId- The account identifiermarketingCreateSmsTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createSmsTemplate
public MarketingCreateSmsTemplateResponse createSmsTemplate(java.lang.String xAccountId, MarketingCreateSmsTemplateRequestDto marketingCreateSmsTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create SMS Template- Parameters:
xAccountId- The account identifiermarketingCreateSmsTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getSmsTemplate
public MarketingGetSmsTemplateRequestBuilder getSmsTemplate()
Get SMS Template- Returns:
- The call builder
-
getSmsTemplate
public MarketingGetSmsTemplateResponse getSmsTemplate(MarketingGetSmsTemplateRequest request) throws java.lang.Exception
Get SMS Template- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getSmsTemplate
public MarketingGetSmsTemplateResponse getSmsTemplate(MarketingGetSmsTemplateRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get SMS Template- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateSmsTemplate
public MarketingUpdateSmsTemplateRequestBuilder updateSmsTemplate()
Update SMS Template- Returns:
- The call builder
-
updateSmsTemplate
public MarketingUpdateSmsTemplateResponse updateSmsTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateSmsTemplateRequestDto marketingCreateSmsTemplateRequestDto) throws java.lang.Exception
Update SMS Template- Parameters:
xAccountId- The account identifierid-marketingCreateSmsTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateSmsTemplate
public MarketingUpdateSmsTemplateResponse updateSmsTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateSmsTemplateRequestDto marketingCreateSmsTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update SMS Template- Parameters:
xAccountId- The account identifierid-marketingCreateSmsTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listOmniChannelTemplates
@Deprecated public MarketingListOmniChannelTemplatesRequestBuilder listOmniChannelTemplates()
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.List Omni-Channel Templates- Returns:
- The call builder
-
listOmniChannelTemplates
@Deprecated public MarketingListOmniChannelTemplatesResponse listOmniChannelTemplates(MarketingListOmniChannelTemplatesRequest request) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.List Omni-Channel Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listOmniChannelTemplates
@Deprecated public MarketingListOmniChannelTemplatesResponse listOmniChannelTemplates(MarketingListOmniChannelTemplatesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.List Omni-Channel Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createOmniChannelTemplate
@Deprecated public MarketingCreateOmniChannelTemplateRequestBuilder createOmniChannelTemplate()
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Create Omni-Channel Template- Returns:
- The call builder
-
createOmniChannelTemplate
@Deprecated public MarketingCreateOmniChannelTemplateResponse createOmniChannelTemplate(java.lang.String xAccountId, MarketingCreateTemplateRequestDto marketingCreateTemplateRequestDto) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Create Omni-Channel Template- Parameters:
xAccountId- The account identifiermarketingCreateTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createOmniChannelTemplate
@Deprecated public MarketingCreateOmniChannelTemplateResponse createOmniChannelTemplate(java.lang.String xAccountId, MarketingCreateTemplateRequestDto marketingCreateTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Create Omni-Channel Template- Parameters:
xAccountId- The account identifiermarketingCreateTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getOmniChannelTemplate
@Deprecated public MarketingGetOmniChannelTemplateRequestBuilder getOmniChannelTemplate()
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Get Omni-Channel Template- Returns:
- The call builder
-
getOmniChannelTemplate
@Deprecated public MarketingGetOmniChannelTemplateResponse getOmniChannelTemplate(MarketingGetOmniChannelTemplateRequest request) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Get Omni-Channel Template- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getOmniChannelTemplate
@Deprecated public MarketingGetOmniChannelTemplateResponse getOmniChannelTemplate(MarketingGetOmniChannelTemplateRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Get Omni-Channel Template- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateOmniChannelTemplate
@Deprecated public MarketingUpdateOmniChannelTemplateRequestBuilder updateOmniChannelTemplate()
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Update Omni-Channel Template- Returns:
- The call builder
-
updateOmniChannelTemplate
@Deprecated public MarketingUpdateOmniChannelTemplateResponse updateOmniChannelTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateTemplateRequestDto marketingCreateTemplateRequestDto) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Update Omni-Channel Template- Parameters:
xAccountId- The account identifierid-marketingCreateTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateOmniChannelTemplate
@Deprecated public MarketingUpdateOmniChannelTemplateResponse updateOmniChannelTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreateTemplateRequestDto marketingCreateTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Deprecated.method: This will be removed in a future release, please migrate away from it as soon as possible.Update Omni-Channel Template- Parameters:
xAccountId- The account identifierid-marketingCreateTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPushTemplates
public MarketingListPushTemplatesRequestBuilder listPushTemplates()
List Push Templates- Returns:
- The call builder
-
listPushTemplates
public MarketingListPushTemplatesResponse listPushTemplates(MarketingListPushTemplatesRequest request) throws java.lang.Exception
List Push Templates- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPushTemplates
public MarketingListPushTemplatesResponse listPushTemplates(MarketingListPushTemplatesRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Push Templates- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createPushTemplate
public MarketingCreatePushTemplateRequestBuilder createPushTemplate()
Create Push Template- Returns:
- The call builder
-
createPushTemplate
public MarketingCreatePushTemplateResponse createPushTemplate(java.lang.String xAccountId, MarketingCreatePushTemplateRequestDto marketingCreatePushTemplateRequestDto) throws java.lang.Exception
Create Push Template- Parameters:
xAccountId- The account identifiermarketingCreatePushTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createPushTemplate
public MarketingCreatePushTemplateResponse createPushTemplate(java.lang.String xAccountId, MarketingCreatePushTemplateRequestDto marketingCreatePushTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create Push Template- Parameters:
xAccountId- The account identifiermarketingCreatePushTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getPushTemplate
public MarketingGetPushTemplateRequestBuilder getPushTemplate()
Get Push Template- Returns:
- The call builder
-
getPushTemplate
public MarketingGetPushTemplateResponse getPushTemplate(MarketingGetPushTemplateRequest request) throws java.lang.Exception
Get Push Template- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getPushTemplate
public MarketingGetPushTemplateResponse getPushTemplate(MarketingGetPushTemplateRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Push Template- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updatePushTemplate
public MarketingUpdatePushTemplateRequestBuilder updatePushTemplate()
Update Push Template- Returns:
- The call builder
-
updatePushTemplate
public MarketingUpdatePushTemplateResponse updatePushTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreatePushTemplateRequestDto marketingCreatePushTemplateRequestDto) throws java.lang.Exception
Update Push Template- Parameters:
xAccountId- The account identifierid-marketingCreatePushTemplateRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updatePushTemplate
public MarketingUpdatePushTemplateResponse updatePushTemplate(java.lang.String xAccountId, java.lang.String id, MarketingCreatePushTemplateRequestDto marketingCreatePushTemplateRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update Push Template- Parameters:
xAccountId- The account identifierid-marketingCreatePushTemplateRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCampaigns
public MarketingListCampaignsRequestBuilder listCampaigns()
List campaigns- Returns:
- The call builder
-
listCampaigns
public MarketingListCampaignsResponse listCampaigns(MarketingListCampaignsRequest request) throws java.lang.Exception
List campaigns- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listCampaigns
public MarketingListCampaignsResponse listCampaigns(MarketingListCampaignsRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List campaigns- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCampaign
public MarketingGetCampaignRequestBuilder getCampaign()
Get campaign- Returns:
- The call builder
-
getCampaign
public MarketingGetCampaignResponse getCampaign(MarketingGetCampaignRequest request) throws java.lang.Exception
Get campaign- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getCampaign
public MarketingGetCampaignResponse getCampaign(MarketingGetCampaignRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get campaign- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listContentBlocks
public MarketingListContentBlocksRequestBuilder listContentBlocks()
List Content Blocks- Returns:
- The call builder
-
listContentBlocks
public MarketingListContentBlocksResponse listContentBlocks(MarketingListContentBlocksRequest request) throws java.lang.Exception
List Content Blocks- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listContentBlocks
public MarketingListContentBlocksResponse listContentBlocks(MarketingListContentBlocksRequest request, java.util.Optional<Options> options) throws java.lang.Exception
List Content Blocks- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createContentBlock
public MarketingCreateContentBlockRequestBuilder createContentBlock()
Create Content Block- Returns:
- The call builder
-
createContentBlock
public MarketingCreateContentBlockResponse createContentBlock(java.lang.String xAccountId, MarketingCreateContentBlocksRequestDto marketingCreateContentBlocksRequestDto) throws java.lang.Exception
Create Content Block- Parameters:
xAccountId- The account identifiermarketingCreateContentBlocksRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createContentBlock
public MarketingCreateContentBlockResponse createContentBlock(java.lang.String xAccountId, MarketingCreateContentBlocksRequestDto marketingCreateContentBlocksRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Create Content Block- Parameters:
xAccountId- The account identifiermarketingCreateContentBlocksRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getContentBlock
public MarketingGetContentBlockRequestBuilder getContentBlock()
Get Content Blocks- Returns:
- The call builder
-
getContentBlock
public MarketingGetContentBlockResponse getContentBlock(MarketingGetContentBlockRequest request) throws java.lang.Exception
Get Content Blocks- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getContentBlock
public MarketingGetContentBlockResponse getContentBlock(MarketingGetContentBlockRequest request, java.util.Optional<Options> options) throws java.lang.Exception
Get Content Blocks- Parameters:
request- The request object containing all the parameters for the API call.options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateContentBlock
public MarketingUpdateContentBlockRequestBuilder updateContentBlock()
Update Content Block- Returns:
- The call builder
-
updateContentBlock
public MarketingUpdateContentBlockResponse updateContentBlock(java.lang.String xAccountId, java.lang.String id, MarketingCreateContentBlocksRequestDto marketingCreateContentBlocksRequestDto) throws java.lang.Exception
Update Content Block- Parameters:
xAccountId- The account identifierid-marketingCreateContentBlocksRequestDto-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateContentBlock
public MarketingUpdateContentBlockResponse updateContentBlock(java.lang.String xAccountId, java.lang.String id, MarketingCreateContentBlocksRequestDto marketingCreateContentBlocksRequestDto, java.util.Optional<Options> options) throws java.lang.Exception
Update Content Block- Parameters:
xAccountId- The account identifierid-marketingCreateContentBlocksRequestDto-options- additional options- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-