CampaignControllerPut Method |
Namespace: CMS.WebAnalytics.Web.UIAssembly: CMS.WebAnalytics.Web.UI (in CMS.WebAnalytics.Web.UI.dll) Version: 11.0.0
Syntax public CampaignEditViewModel Put(
CampaignEditViewModel model
)
Parameters
- model
- Type: CMS.WebAnalytics.Web.UICampaignEditViewModel
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 bound
model was not valid or -
if no campaign was found for the provided
CampaignID;
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