|
ModelControllerTPost Method
|
Adds a new Record.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.158-beta
Syntax [RouteAttribute("Add")]
[HttpPostAttribute]
public virtual IHttpActionResult Post(
[FromBodyAttribute] JObject record
)
<RouteAttribute("Add")>
<HttpPostAttribute>
Public Overridable Function Post (
<FromBodyAttribute> record As JObject
) As IHttpActionResult
public:
[RouteAttribute(L"Add")]
[HttpPostAttribute]
virtual IHttpActionResult^ Post(
[FromBodyAttribute] JObject^ record
)
[<RouteAttribute("Add")>]
[<HttpPostAttribute>]
abstract Post :
[<FromBodyAttribute>] record : JObject -> IHttpActionResult
[<RouteAttribute("Add")>]
[<HttpPostAttribute>]
override Post :
[<FromBodyAttribute>] record : JObject -> IHttpActionResult
View SourceParameters
- record JObject
- The T record to be added.
Return Value
IHttpActionResultIHttpActionResult containing the added record or
ExceptionSee Also