Click or drag to resize
AssetControllerPost Method
Performs saving of the CampaignAssetInfo corresponding to the given CampaignAssetViewModel. The CampaignAssetInfo is inserted with the values obtained from campaignAssetViewModel.

Namespace: CMS.WebAnalytics.Web.UI
Assembly: CMS.WebAnalytics.Web.UI (in CMS.WebAnalytics.Web.UI.dll) Version: 13.0.131
Syntax
C#
public CampaignAssetViewModel Post(
	CampaignAssetViewModel campaignAssetViewModel
)

Parameters

campaignAssetViewModel
Type: CMS.WebAnalyticsCampaignAssetViewModel
Instance of updated view-model. This instance will be used to creating corresponding CampaignAssetInfo

Return Value

Type: CampaignAssetViewModel
HTTP status code 400 Bad request, if model state of binded campaignAssetViewModel was not valid; otherwise, HTTP status code 200 OK with serialized campaignAssetViewModel. This campaign has CampaignID filled with the data from the DB.
See Also