Web API Core | ComponentOne
C1.Web.Api Namespace / C1ApiController Class / CreatedAtAction Method / CreatedAtAction(String,String,Object,Object) Method
The name of the action to use for generating the URL.
The name of the controller to use for generating the URL.
The route data to use for generating the URL.
The content value to format in the entity body.

In This Topic
    CreatedAtAction(String,String,Object,Object) Method
    In This Topic
    Creates a Microsoft.AspNetCore.Mvc.CreatedAtActionResult object that produces a Created (201) response.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CreatedAtAction( _
       ByVal actionName As String, _
       ByVal controllerName As String, _
       ByVal routeValues As Object, _
       ByVal value As Object _
    ) As CreatedAtActionResult

    Parameters

    actionName
    The name of the action to use for generating the URL.
    controllerName
    The name of the controller to use for generating the URL.
    routeValues
    The route data to use for generating the URL.
    value
    The content value to format in the entity body.

    Return Value

    The created Microsoft.AspNetCore.Mvc.CreatedAtActionResult for the response.
    See Also