AssetControllerPut Method |
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax 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:
CampaignAssetViewModelHTTP 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