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
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 10.0.0
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