Click or drag to resize
AssetControllerPut Method
Performs update of the CampaignAssetInfo corresponding. The CampaignAssetInfo values are updated with the values from campaignAssetViewModel.

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

Parameters

campaignAssetViewModel
Type: CMS.WebAnalyticsCampaignAssetViewModel
Instance of updated view-model. This instance will be used to update 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 updated campaignAssetViewModel.
Remarks
No dirty checking is performed, CampaignAssetInfo will be updated even if no change was made to the object. HTTP verb PUT is not supported, therefore this request accepts only the POST requests.
See Also