API:REST.Backend.EndPoint.TBackendEndpoint.AutoCreateParams
Delphi
property AutoCreateParams: Boolean read FAutoCreateParams write SetAutoCreateParams default 1;
C++
__property AutoCreateParams = {default=1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | REST.Backend.EndPoint.pas REST.Backend.EndPoint.hpp |
REST.Backend.EndPoint | TBackendEndpoint |
Description
Indicates whether or not the request should automatically include parameters from the resource URL of the request. {{#multireplace:REST.Backend.EndPoint.TBackendEndpoint.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTRequest.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTRequest.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Indicates whether or not the request should automatically include parameters from the resource URL of the request.
For example, if the resource URL is "Products/{ProductId}" and AutoCreateParams is True, your request automatically includes a parameter with key "ProductId" and without value, into its list of parameters.
If a parameter already exist with the same name as a parameter key extracted from the resource URL, the parameter from the resource URL is ignored. Existing parameters are never overwritten with the values of parameters extracted from the resource URL.