๐
Back
RestResult
Minimal REST response structure. Derive this structure to add
response data and error codes.
API synthesis
List of the public API methods. When
manipulating RestResult, You can call those methods:
Public methods
__construct
Default constructor - ok!
public __construct()
Constants
INVALID_PAGE
Result: the request page number is not valid. It must be an integer
greater than 0
MISSING_AUTH_PWD
Result: the parameter 'auth_pwd' is missing, authentication
aborted
MISSING_AUTH_USER
Result: the parameter 'auth_user' is missing, authentication
aborted
MISSING_JSON
Result: the
parameter 'json_data' is missing
MISSING_VERSION
Result: the
parameter 'version' is missing
OK
Result: no issue has
been encountered
UNKNOWN_OPERATION
Result: the requested operation is not valid for the specified
version
UNSUPPORTED_VERSION
Result: no operation is available for the specified version
๐
Back
latest/customization/api/extensions/restresult.txt ยท
Last modified: 2024/09/10 10:25 by 127.0.0.1