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