AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

SecureContentController..::..UpdateObject Method

Updates the record(s) identified by the supplied API name and JSON content request. Override for the secure endpoint; delegates to the base ContentController.UpdateObject.

Namespace:  AdvantageCSP.AdvantageAPI
Assembly:  AdvantageCSP.API (in AdvantageCSP.API.dll)

Syntax


[HttpPutAttribute]
[RouteAttribute]
public IHttpActionResult UpdateObject(
	string apiName,
	JObject contentRequest,
	string lang
)

Parameters

apiName
Type: String
The API entry name identifying which business object type to update.
contentRequest
Type: JObject
The JSON payload carrying the update; parsed by the base implementation.
lang
Type: String
The language code (or "default") used to resolve the language id.

Return Value

An IHttpActionResult describing the update outcome.