CampaignControllerPut Method |
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax public CampaignEditViewModel Put(
CampaignEditViewModel model
)
Parameters
- model
- Type: CMS.WebAnalyticsCampaignEditViewModel
Instance of updated view-model. This instance will be used to update corresponding CampaignInfo
Return Value
Type:
CampaignEditViewModelHTTP status code 400 Bad request, if model state of binded
model was not valid -or -
if no campaign was found for the provided
CampaignID if provided model is not valid;
otherwise,
HTTP status code 200 OK with updated
model.
Remarks
No dirty checking is performed,
CampaignInfo 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