JadeRestResponse Properties
The properties defined in the JadeRestResponse class are summarized in the following table.
Property | Contains the … |
---|---|
data | Value of the body part of the HTTP response sent back to the client from the REST API |
dataFormat | Data format that was used for the REST request |
discriminator | Name of the discriminator property value used to specify the class of an object serialized into JSON |
firstPage | URL of the first available page of results (available only when using offset‑based pagination) |
hasMorePages | Specifies whether there are more pages available on the server; that is; whether you can call the getNextPage method to get more results |
lastErrorCode | Last error code if the REST request was unsuccessful, otherwise 0 (Success) |
lastException | Last exception object if the REST request was unsuccessful, otherwise null |
lastPage | URL of the last available page of results (available only when using offset‑based pagination) |
nextPage | URL of the next available page of results (available only when using offset‑based pagination) |
previousPage | URL of the previous page of results (available only when using offset‑based pagination) |
responseStatus | Status of the HTTP connection after the request; that is, the value of the state property of the JadeHTTPConnection object used to perform the request |
statusCode | Status code of the HTTP connection after the request; that is, the return value of the queryStatusCode method of the JadeHTTPConnection object used to perform the request |
url | Contains the URL to which the request was made that generated this response |
2020.0.01 and higher