Skip to main content

Class XperiflowRoutinesProjectsClient

Namespace: Workspace.XBR.Xperiflow.Core.RestApi.Routines

Assembly: Xperiflow.dll

Declaration
public class XperiflowRoutinesProjectsClient : IXperiflowRoutinesClient

Implements: Workspace.XBR.Xperiflow.Core.RestApi.Routines.IXperiflowRoutinesClient

Properties

JsonSerializerSettings

Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }

ReadResponseAsString

Declaration
public bool ReadResponseAsString { get; set; }

Methods

GetRoutinesResourceAsync(XperiflowSessionInfo, bool?, IEnumerable<string>?, string?, int?, int?, string?, MemoizedCacheInfo?, CancellationToken)

RoutinesResource

Declaration
public virtual Task<GetRoutinesResourceResponseContext> GetRoutinesResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, bool? only_latest_version = null, IEnumerable<string>? fields = null, string? filter = null, int? page = null, int? records_per_page = null, string? order_bys = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a list of Routines

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutinesResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Nullable<System.Boolean>only_latest_versionWhether to include only the latest versions of the routines.
System.Collections.Generic.IEnumerable<System.String>fieldsA json list of column names to return in the request.
System.StringfilterA json dictionary of a filter statement.
System.Nullable<System.Int32>pageThe page to return if using pagination.
System.Nullable<System.Int32>records_per_pageThe amount of records per page to return if using pagination.
System.Stringorder_bysA json dictionary containing an order by statement.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineConcurrentMemoryStatisticsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

RoutineConcurrentMemoryStatisticsResource

Declaration
public virtual Task<GetRoutineConcurrentMemoryStatisticsResourceContext> GetRoutineConcurrentMemoryStatisticsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns concurrent memory statistics for routines

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineConcurrentMemoryStatisticsResourceContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetTimeSeriesCleaningMethodOptionsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

TimeSeriesCleaningMethodOptionsResource

Declaration
public virtual Task<GetTimeSeriesCleaningMethodOptionsResourceContext> GetTimeSeriesCleaningMethodOptionsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a list of acceptable options for the CleaningMethod column of cleaning manifest table in the TimeSeriesCleaningRoutine

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetTimeSeriesCleaningMethodOptionsResourceContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineMemoryBoundsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

RoutineMemoryBoundsResource

Declaration
public virtual Task<GetRoutineMemoryBoundsResourceResponseContext> GetRoutineMemoryBoundsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns memory bounds

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineMemoryBoundsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineTypesUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo, IEnumerable<string>?, string?, int?, int?, string?, MemoizedCacheInfo?, CancellationToken)

RoutineTypesUpdatedMemoryDefaultsResource

Declaration
public virtual Task<GetRoutineTypesUpdatedMemoryDefaultsResourceResponseContext> GetRoutineTypesUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, IEnumerable<string>? fields = null, string? filter = null, int? page = null, int? records_per_page = null, string? order_bys = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a datatable of Routine Types updated defaults relation

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineTypesUpdatedMemoryDefaultsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Collections.Generic.IEnumerable<System.String>fieldsA json list of column names to return in the request.
System.StringfilterA json dictionary of a filter statement.
System.Nullable<System.Int32>pageThe page to return if using pagination.
System.Nullable<System.Int32>records_per_pageThe amount of records per page to return if using pagination.
System.Stringorder_bysA json dictionary containing an order by statement.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineTypesUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo, RoutineUpdatedMemoryDefaultsRelationBodyContextDto, MemoizedCacheInfo?, CancellationToken)

RoutineTypesUpdatedMemoryDefaultsResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PostRoutineTypesUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, RoutineUpdatedMemoryDefaultsRelationBodyContextDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Creates a routine type updated default relation in the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

created

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.RoutineUpdatedMemoryDefaultsRelationBodyContextDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineTypeUpdatedMemoryDefaultsResource

Declaration
public virtual Task<GetRoutineTypeUpdatedMemoryBlobContextDto> GetRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_type, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves an updated memory default for a routine type

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineTypeUpdatedMemoryBlobContextDto >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_typethe type of routine.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PutRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo, RoutineTypeUpdatedMemoryBlobContextDto, string, MemoizedCacheInfo?, CancellationToken)

RoutineTypeUpdatedMemoryDefaultsResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PutRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, RoutineTypeUpdatedMemoryBlobContextDto body, string routine_type, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Update method memory defaults for a specified routine type.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.RoutineTypeUpdatedMemoryBlobContextDtobody
System.Stringroutine_typethe type of routine.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

DeleteRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineTypeUpdatedMemoryDefaultsResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> DeleteRoutineTypeUpdatedMemoryDefaultsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_type, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Delete a routine instance in the database.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_typethe type of routine.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineRunMetadataInfosResourceAsync(XperiflowSessionInfo, IEnumerable<string>?, string?, int?, int?, string?, IEnumerable<string>?, IEnumerable<string>?, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataInfosResource

Declaration
public virtual Task<GetRoutineRunMetadataInfosResourceResponseContext> GetRoutineRunMetadataInfosResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, IEnumerable<string>? fields = null, string? filter = null, int? page = null, int? records_per_page = null, string? order_bys = null, IEnumerable<string>? routine_instance_labels = null, IEnumerable<string>? routine_run_labels = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a datatable of Routine Instance Runs

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineRunMetadataInfosResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Collections.Generic.IEnumerable<System.String>fieldsA json list of column names to return in the request.
System.StringfilterA json dictionary of a filter statement.
System.Nullable<System.Int32>pageThe page to return if using pagination.
System.Nullable<System.Int32>records_per_pageThe amount of records per page to return if using pagination.
System.Stringorder_bysA json dictionary containing an order by statement.
System.Collections.Generic.IEnumerable<System.String>routine_instance_labelsA list of routine instance label names to filter in the request.
System.Collections.Generic.IEnumerable<System.String>routine_run_labelsA list of routine run label names to filter in the request.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineRunMetadataInfosResourceAsync(XperiflowSessionInfo, RoutineCreateRunPostContextDto, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataInfosResource

Declaration
public virtual Task<PostRoutineRunMetadataInfosResourceResponseContext> PostRoutineRunMetadataInfosResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, RoutineCreateRunPostContextDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Creates a routine instance run in the table. Optionally starts the run.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.PostRoutineRunMetadataInfosResourceResponseContext >

created

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.RoutineCreateRunPostContextDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetGlobalRoutineDocumentationResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

GlobalRoutineDocumentationResource

Declaration
public virtual Task<GetGlobalRoutineDocumentationResourceResponseContext> GetGlobalRoutineDocumentationResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns an HTML file containing the documentation for all routines

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetGlobalRoutineDocumentationResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineDocumentationResourceAsync(XperiflowSessionInfo, string, string?, MemoizedCacheInfo?, CancellationToken)

RoutineDocumentationResource

Declaration
public virtual Task<GetRoutineDocumentationResourceResponseContext> GetRoutineDocumentationResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_name, string? routine_version = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns an HTML file containing the documentation for the specified routine

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineDocumentationResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_namethe name of the routine or routines.
System.Stringroutine_versionThe version of the routine
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstanceArtifactPreviewMetadataInfoResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceArtifactPreviewMetadataInfoResource

Declaration
public virtual Task<GetRoutineInstanceArtifactPreviewMetadataInfoResource> GetRoutineInstanceArtifactPreviewMetadataInfoResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string path, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

API dedicated to retrieving Artifact Metadata info previews

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstanceArtifactPreviewMetadataInfoResource >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.StringpathThe path to the file.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstanceArtifactsStatisticsResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceArtifactsStatisticsResource

Declaration
public virtual Task<GetRoutineInstanceArtifactsStatisticsResourceResponseContext> GetRoutineInstanceArtifactsStatisticsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string path, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Gets the statistics for a given artifact of a routine instance.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstanceArtifactsStatisticsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.StringpathThe path to the file.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstanceArtifactsMetadataResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceArtifactsMetadataResource

Declaration
public virtual Task<GetRoutineInstanceArtifactsMetadataResourceResponseContext> GetRoutineInstanceArtifactsMetadataResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string path, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Gets the metadata for a given artifact for a given routine instance.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstanceArtifactsMetadataResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.StringpathThe path to the file.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstancesResourceAsync(XperiflowSessionInfo, IEnumerable<string>?, string?, int?, int?, string?, IEnumerable<string>?, MemoizedCacheInfo?, CancellationToken)

RoutineInstancesResource

Declaration
public virtual Task<GetRoutineInstancesResourceResponseContext> GetRoutineInstancesResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, IEnumerable<string>? fields = null, string? filter = null, int? page = null, int? records_per_page = null, string? order_bys = null, IEnumerable<string>? routine_instance_labels = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a datatable of Routine Instances

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstancesResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Collections.Generic.IEnumerable<System.String>fieldsA json list of column names to return in the request.
System.StringfilterA json dictionary of a filter statement.
System.Nullable<System.Int32>pageThe page to return if using pagination.
System.Nullable<System.Int32>records_per_pageThe amount of records per page to return if using pagination.
System.Stringorder_bysA json dictionary containing an order by statement.
System.Collections.Generic.IEnumerable<System.String>routine_instance_labelsA list of routine instance label names to filter in the request.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineInstancesResourceAsync(XperiflowSessionInfo, PostBodyRoutineInstancesDto, MemoizedCacheInfo?, CancellationToken)

RoutineInstancesResource

Declaration
public virtual Task<PostRoutineInstancesResourceContext> PostRoutineInstancesResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, PostBodyRoutineInstancesDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Creates a routine instance in the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.PostRoutineInstancesResourceContext >

created

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.PostBodyRoutineInstancesDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstanceArtifactsResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceArtifactsResource

Declaration
public virtual Task<GetRoutineInstanceArtifactsResourceResponseContext> GetRoutineInstanceArtifactsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Gets the artifacts for all runs for a given routine instance.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstanceArtifactsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineRunArtifactsResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunArtifactsResource

Declaration
public virtual Task<GetRoutineRunArtifactsResourceResponseContext> GetRoutineRunArtifactsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves artifacts for a routine instance run.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineRunArtifactsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineRunStartResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunStartResource

Declaration
public virtual Task<NullableIntItemIdentifierXperiflowResponseContext> PostRoutineRunStartResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Starts a routine instance run in the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullableIntItemIdentifierXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineRunStartInMemoryResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunStartInMemoryResource

Declaration
public virtual Task<ResponseRoutineRunStartInMemoryContext> PostRoutineRunStartInMemoryResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Starts a routine instance run in memory execution style.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.ResponseRoutineRunStartInMemoryContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineExecutionMetadataResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineExecutionMetadataResource

Declaration
public virtual Task<GetResponseRoutineRunExecutionMetadataContext> GetRoutineExecutionMetadataResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves a routine run execution metadata from the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetResponseRoutineRunExecutionMetadataContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineRunMetadataResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataResource

Declaration
public virtual Task<GetResponseRoutineRunMetadataContext> GetRoutineRunMetadataResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves a routine run metadata from the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetResponseRoutineRunMetadataContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataInfoResource

Declaration
public virtual Task<GetResponseRoutineRunMetadataInfoContext> GetRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves a routine instance run metadata info from the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetResponseRoutineRunMetadataInfoContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PutRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo, string, string, RoutineRunMetadataInfoPutDto, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataInfoResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PutRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, RoutineRunMetadataInfoPutDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Update a routine instance run's name and description

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.RoutineRunMetadataInfoPutDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

DeleteRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunMetadataInfoResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> DeleteRoutineRunMetadataInfoResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Delete a routine instance run in the database.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineInstanceResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceResource

Declaration
public virtual Task<GetRoutineInstanceResourceResponseContext> GetRoutineInstanceResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves a routine instance in the table.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineInstanceResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PutRoutineInstanceResourceAsync(XperiflowSessionInfo, string, BodyRoutineInstanceDto, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PutRoutineInstanceResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, BodyRoutineInstanceDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Update a routine instance in the database.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.BodyRoutineInstanceDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

DeleteRoutineInstanceResourceAsync(XperiflowSessionInfo, string, MemoizedCacheInfo?, CancellationToken)

RoutineInstanceResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> DeleteRoutineInstanceResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Delete a routine instance in the database.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostRoutineRunCancelResourceAsync(XperiflowSessionInfo, string, string, MemoizedCacheInfo?, CancellationToken)

RoutineRunCancelResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PostRoutineRunCancelResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Cancells the given routine run ID. If the job is queued it will be marked as "usercancelled" if it is running, it will be marked as "pending_usercancelled". If it is already in a stopping state it will not be re-cancelled and modified result will be false.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PutRoutineRunParameterValidationResourceAsync(XperiflowSessionInfo, string, string, RoutineRunParameterValidationPutDto, MemoizedCacheInfo?, CancellationToken)

RoutineRunParameterValidationResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PutRoutineRunParameterValidationResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_instance_id, string routine_run_id, RoutineRunParameterValidationPutDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Validates parameters for a routine run.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_instance_idThe unique identifier associated with the routine instance.
System.Stringroutine_run_idthe unique identifier associated with the routine run.
Workspace.XBR.Xperiflow.Core.RestApi.Routines.RoutineRunParameterValidationPutDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineLabelsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

RoutineLabelsResource

Declaration
public virtual Task<GetRoutineLabelsResourceResponseContext> GetRoutineLabelsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Retrieves all the routine instance and runs labels that exist.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineLabelsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetRoutineResourceAsync(XperiflowSessionInfo, string, IEnumerable<string>?, MemoizedCacheInfo?, CancellationToken)

RoutineResource

Declaration
public virtual Task<GetRoutineResourceResponseContext> GetRoutineResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string routine_name, IEnumerable<string>? methods_to_include = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a Routine

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.Routines.GetRoutineResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Stringroutine_namethe name of the routine or routines.
System.Collections.Generic.IEnumerable<System.String>methods_to_includeA json list of method names to include.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)

Declaration
protected virtual Task<XperiflowRoutinesProjectsClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Returns

Task<Workspace.XBR.Xperiflow.Core.RestApi.Routines.XperiflowRoutinesProjectsClient.ObjectResponseResult{{T}}>

Parameters
TypeName
System.Net.Http.HttpResponseMessageresponse
System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IEnumerable{System.String}>headers
System.Threading.CancellationTokencancellationToken
Type Parameters
  • T

Implements

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?