httpStatusCode

Type: Integer

The httpStatusCode property of the JadeRestService class enables you to return an HTTP status code error to the client. The property is initialized to 200 (OK) before the REST method is called. If the property is set to a value other than 0 or 200, an HTML error response is generated to report the HTTP error to the client. Any data returned by the called method is also passed as the body of the message.

The application can use this status or the returned null values to indicate that the objects could not found.