Appearance
GetAsync Method
Definition
- Namespace:
JASE.ServiceNow - Assembly:
JASE.ServiceNow.dll
Overloads
| Name | Description |
|---|---|
Task<TableApiResult> GetAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null) | Returns entries matching options from the ServiceNow table. Prefer Lean for field-projected, display-value reads. |
Task<TableApiResult> GetAsync(string table, string query, int limit, IEnumerable<string> fields, ConnectionContext context = null, CancellationToken cancellationToken = null) | Return entries matching the query from the ServiceNow table |
Task<TableApiResult> GetAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null)
csharp
Task<TableApiResult> GetAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null)Returns entries matching options from the ServiceNow table. Prefer Lean for field-projected, display-value reads.
Parameters
| Name | Description |
|---|---|
cancellationToken | Cancellation token. |
context | Optional connection context. |
options | Read options (fields, display value, pagination, etc.). |
table | Table name. |
Returns
Instance of TableApiResult.
Task<TableApiResult> GetAsync(string table, string query, int limit, IEnumerable<string> fields, ConnectionContext context = null, CancellationToken cancellationToken = null)
csharp
Task<TableApiResult> GetAsync(string table, string query, int limit, IEnumerable<string> fields, ConnectionContext context = null, CancellationToken cancellationToken = null)Return entries matching the query from the ServiceNow table
Returns
Instance of TableApiResult