Appearance
TableApiResult Class
Definition
Result object for a call to the TableApi service
- Namespace:
JASE.ServiceNow - Assembly:
JASE.ServiceNow.dll
Constructors
| Name | Description |
|---|---|
TableApiResult() |
Properties
| Name | Description |
|---|---|
LinkCurrent | URL of the current result set |
LinkFirst | When response headers contains Link, the URL specified as |
LinkLast | When response headers contains Link, the URL specified as |
LinkNext | When response headers contains Link, the URL specified as |
LinkPrevious | When response headers contains Link, the URL specified as |
Records | List of results |
ResponseJSON | JSON payload received in the response |
result | List of results |
StatusCode | HTTP status code of the REST call |
TableName | Name of the table queried |
TotalCount | Response header X-Total-Count when the result list contains less than the total, |
TransactionID | Value in response header X-Transaction-ID |
Methods
| Name | Description |
|---|---|
IDictionary<string, object> Entry() | Returns current entry |
bool First() | Set entry to the First record |
Task<bool> GetFirstLink() | Process the URL in and merges the results into the property |
Task<bool> GetLastLink() | Process the URL in and merges the results into the property |
Task<bool> GetNextLink(bool skipResolveObjects = null) | Process the URL in and merges the results into the property |
Task<bool> GetPrevLink() | Process the URL in and merges the results into the property |
bool Last() | Set entry to the Last record |
bool Next() | Advance entry to the Next record |
bool Previous() | Return entry to the Previous record |