BaseBodyEndpoint Properties |
The BaseBodyEndpoint type exposes the following members.
Name | Description | |
---|---|---|
ActionExpression | Specifies the expression that is evaluated when the endpoint is invoked. The result of the evaluation is returned by this endpoint. Use the expression variable 'Payload' to access the request body. Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values. (Overrides BaseEndpointActionExpression.) | |
AfterActions | Contains actions that are executed after the 'ActionExpression' and the 'DataProvider' has been called. Use the expression variable 'Payload' to access the request body. Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values. Use the expression variable 'Result' / 'MappedResult' to access the result / mapped result of the 'ActionExpression' or the 'DataProvider' . (Overrides BaseEndpointAfterActions.) | |
BeforeActions | Contains actions that are executed when the endpoint is invoked, respectively before the 'ActionExpression' and the 'DataProvider' have been called. Use the expression variable 'Payload' to access the request body. Use the expression variable 'RouteParameters' to access the route parameter values. Use the expression variable 'RequestHeaders' to access the request header values. (Overrides BaseEndpointBeforeActions.) | |
DataProvider | Specifies a data provider to retrieve data that is returned by this endpoint. Note that this is ignored if an 'ActionExpression' is defined. (Inherited from BaseEndpoint.) | |
HttpMethod | (Inherited from BaseEndpoint.) | |
PayloadFormat | Specifies the content type of the payload. If 'Auto' is selected the content type is detected based on the 'Content-Type' request header. | |
PayloadTargetType | Specifies a fully qualified type name which is used to deserialize the payload. | |
RequestValidator | Specifies the RequestValidator used to validate the request. (Inherited from BaseEndpoint.) | |
ResponseFormat | Specifies the response content type of the message that is returned by this endpoint. If 'Auto' is selected the response content type is detected based on the 'Accept' request header. (Inherited from BaseEndpoint.) | |
ResponseHeaders | Specifies headers that are included in the response. (Inherited from BaseEndpoint.) | |
ResultPropertyMappings | Specifies mappings to properties of the object returned by the DataProvider or ActionExpression. These mappings are then returned in the response body as a (serialized) dictionary by this endpoint. (Inherited from BaseEndpoint.) | |
RouteParameters | Specifies properties for route parameters defined in the 'RouteUrlTemplate'. (Inherited from BaseEndpoint.) | |
RouteUrlTemplate | Specifies the URL template for this endpoint to match. Route parameters can be defined with curly braces '{myparam}'. These parameters are available for expressions and can be further configured in the 'RouteParameters' node. (Inherited from BaseEndpoint.) | |
RunAsSystemAccount | If enabled, the process handling the request is executed in the context of the application pool user. (Inherited from BaseEndpoint.) |