Skip to content

RestClient1 Class` ​

Definition ​

  • Namespace: JASE.ServiceNow
  • Assembly: JASE.ServiceNow.dll

Constructors ​

NameDescription
`RestClient`1()`

Methods ​

NameDescription
RestResult<T> Get(string query, int limit, ConnectionContext context = null)Synchronously returns the records matching a query from a typed ServiceNow table.
RestResult<T> Get(string table, string query, int limit, ConnectionContext context = null)Synchronously returns the records matching a query from the supplied ServiceNow table.
Task<RestResult<T>> GetAsync(string table, string query, int limit)Asynchronously returns the records matching a query from the supplied ServiceNow table.
Task<RestResult<T>> GetAsync(string table, string query, int limit, ConnectionContext context, CancellationToken cancellationToken = null)Asynchronously returns the records matching a query from the supplied ServiceNow table.
T GetBySysId(string sys_id, ConnectionContext context = null)Returns a single record by sys_id from a typed ServiceNow table.
Task<T> Put(string table, string sys_id, IDictionary<string, object> updates, ConnectionContext context = null, CancellationToken cancellationToken = null)Issues a PUT against a ServiceNow table to update the specified record.