RestrictionRootType

object
attributestring

Name of the attribute to be restricted, filtered or searched

Example:high

typestring

Type of the value to be searched. This is used to validate the transformation done in the backend once the list is received

Allowed values:integerdecimalstringboolean

Example:decimal

operatorstringrequired

Operator applied in the value comparision.

Allowed values:andor

Example:and

valuesarray[object]

List of restrictions to be applied with the operator in the attribute

Show Child Parameters
Example

RestrictionType

object
restrictionstring

Type of restriction to be set in the search, if applies

Allowed values:ltltegtgteeqtneqtlike

Example:lt

valuestring

Value of the filter or restriction done.

Example:2.3

Example

Error

object

Description of an error to help remediation.

messagestringrequired

A human-readable explanation specific to this error.

Example:Unauthorized

errorDetailobject

Additional information about the error.

Show Child Parameters
Example

ParameterLocation

string

The location of the invalid parameter.

Allowed values:BODYPATHQUERYHEADER

InvalidParams

object

List of invalid parameters.

Please note that the API GW does syntax validation according to the OAS and will issue an error response in case of failure. Thus, this extension should only be used when the API server is not connected to via the API GW or if additional (to what is defined in the OAS) checks are performed.

instringrequired

The location of the invalid parameter.

Allowed values:BODYPATHQUERYHEADER

namestringrequired

The name of the invalid parameter.

reasonstring

The reason why the parameter’s value is invalid.

codestring

An application specific error code that identifies univocally the error situation.

Match pattern:^[0-9A-Z_]{1,125}$

Example:THIS_IS_ERROR_CODE

valuestringrequired

The invalid value (as a string).

Example