Skip to main content

Class XperiflowWebAppClient

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

Assembly: Xperiflow.dll

Declaration
public class XperiflowWebAppClient : IXperiflowWebAppClient

Implements: Workspace.XBR.Xperiflow.Core.RestApi.WebApp.IXperiflowWebAppClient

Properties

JsonSerializerSettings

Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }

ReadResponseAsString

Declaration
public bool ReadResponseAsString { get; set; }

Methods

GetWebAppCollectionResourceAsync(XperiflowSessionInfo, string?, MemoizedCacheInfo?, int[], CancellationToken)

WebAppCollectionResource

Declaration
public virtual Task<GetWebAppCollectionResourceResponseContext> GetWebAppCollectionResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string? query = null, MemoizedCacheInfo? cacheInfo = null, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks

Retrieve a collection of all available web applications with their metadata. Supports optional filtering via Pinq query expressions.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.GetWebAppCollectionResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.StringqueryA pinq query string.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Int32[]mutedStatusCodes
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.

GetStylesheetsResourceAsync(XperiflowSessionInfo, IEnumerable<string>?, string?, int?, int?, string?, MemoizedCacheInfo?, int[], CancellationToken)

StylesheetsResource

Declaration
public virtual Task<GetStylesheetsResourceResponseContext> GetStylesheetsResourceAsync(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, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks

Retrieve stylesheets with pagination, filtering, and sorting support.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.GetStylesheetsResourceResponseContext >

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.Int32[]mutedStatusCodes
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.

PostStylesheetsResourceAsync(XperiflowSessionInfo, BodyListXpfStylesheetDto, MemoizedCacheInfo?, int[], CancellationToken)

StylesheetsResource

Declaration
public virtual Task<PostStylesheetsResourceContext> PostStylesheetsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, BodyListXpfStylesheetDto body, MemoizedCacheInfo? cacheInfo = null, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks

Create one or more stylesheets and save them to the database and filesystem.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.PostStylesheetsResourceContext >

created

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.WebApp.BodyListXpfStylesheetDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Int32[]mutedStatusCodes
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.

DeleteStylesheetsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, int[], CancellationToken)

StylesheetsResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> DeleteStylesheetsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks

Delete all stylesheets from the database and filesystem.

Returns

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

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Int32[]mutedStatusCodes
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.

PostStylesheetsBulkDeleteResourceAsync(XperiflowSessionInfo, Body, MemoizedCacheInfo?, int[], CancellationToken)

StylesheetsBulkDeleteResource

Declaration
public virtual Task<NullDataXperiflowResponseContext> PostStylesheetsBulkDeleteResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, Body body, MemoizedCacheInfo? cacheInfo = null, int[] mutedStatusCodes = null, CancellationToken cancellationToken = default)
Remarks

Delete multiple stylesheets by name from the database and filesystem.

Returns

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

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.WebApp.Bodybody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Int32[]mutedStatusCodes
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<XperiflowWebAppClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Returns

Task<Workspace.XBR.Xperiflow.Core.RestApi.WebApp.XperiflowWebAppClient.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?