# Generic Web Reply

This is a class that is returned by the REST Base Service: [Runtime Security Service](https://wiki.galaxydump.com/link/153)

It is a generic struct, returned by a web call, that contains the status of the call, any error that occurred, and the data if received.

It has the following properties:

- data - Contains the typed response body from the call.
- err - If an error occurred, this may contain the error message.
- res - Contains the method call return value. 1 for success.
- statuscode - Contains the Http Status code of the response.
- timedout - Will be set if the call timed out, waiting for a reply.

It also has these methods:

<div id="bkmrk-isreturngood%28%29---che"><div>- IsReturnGood() - Checks that the return code is success and the Http Status code is 200-299.

</div><div><div><div>- IsReturnGoodDataExists() - Same as previous, but also checks that data is not null.

</div></div></div></div>