LUSID C# SDK
Public Member Functions | List of all members
Lusid.Sdk.Api.ICustomEntityTypesApiAsync Interface Reference

Represents a collection of functions to interact with the API endpoints More...

Inheritance diagram for Lusid.Sdk.Api.ICustomEntityTypesApiAsync:
Inheritance graph
[legend]

Public Member Functions

System.Threading.Tasks.Task< CustomEntityTypeCreateCustomEntityTypeAsync (CreateCustomEntityTypeRequest createCustomEntityTypeRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] CreateCustomEntityType: Define a new Custom Entity Type. More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustomEntityType > > CreateCustomEntityTypeWithHttpInfoAsync (CreateCustomEntityTypeRequest createCustomEntityTypeRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] CreateCustomEntityType: Define a new Custom Entity Type. More...
 
System.Threading.Tasks.Task< CustomEntityTypeGetCustomEntityTypeAsync (string entityType, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] GetCustomEntityType: Get a Custom Entity Type. More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustomEntityType > > GetCustomEntityTypeWithHttpInfoAsync (string entityType, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] GetCustomEntityType: Get a Custom Entity Type. More...
 
System.Threading.Tasks.Task< PagedResourceListOfCustomEntityTypeListCustomEntityTypesAsync (DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), List< string >? sortBy=default(List< string >?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] ListCustomEntityTypes: List Custom Entity Types. More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCustomEntityType > > ListCustomEntityTypesWithHttpInfoAsync (DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), List< string >? sortBy=default(List< string >?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] ListCustomEntityTypes: List Custom Entity Types. More...
 
System.Threading.Tasks.Task< CustomEntityTypeUpdateCustomEntityTypeAsync (string entityType, UpdateCustomEntityTypeRequest updateCustomEntityTypeRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] UpdateCustomEntityType: Modify an existing Custom Entity Type. More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CustomEntityType > > UpdateCustomEntityTypeWithHttpInfoAsync (string entityType, UpdateCustomEntityTypeRequest updateCustomEntityTypeRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] UpdateCustomEntityType: Modify an existing Custom Entity Type. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ CreateCustomEntityTypeAsync()

System.Threading.Tasks.Task<CustomEntityType> Lusid.Sdk.Api.ICustomEntityTypesApiAsync.CreateCustomEntityTypeAsync ( CreateCustomEntityTypeRequest  createCustomEntityTypeRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] CreateCustomEntityType: Define a new Custom Entity Type.

The API will return a Bad Request if the Custom Entity Type already exists.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
createCustomEntityTypeRequestThe payload containing the description of the Custom Entity Type.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of CustomEntityType

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ CreateCustomEntityTypeWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustomEntityType> > Lusid.Sdk.Api.ICustomEntityTypesApiAsync.CreateCustomEntityTypeWithHttpInfoAsync ( CreateCustomEntityTypeRequest  createCustomEntityTypeRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] CreateCustomEntityType: Define a new Custom Entity Type.

The API will return a Bad Request if the Custom Entity Type already exists.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
createCustomEntityTypeRequestThe payload containing the description of the Custom Entity Type.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (CustomEntityType)

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ GetCustomEntityTypeAsync()

System.Threading.Tasks.Task<CustomEntityType> Lusid.Sdk.Api.ICustomEntityTypesApiAsync.GetCustomEntityTypeAsync ( string  entityType,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] GetCustomEntityType: Get a Custom Entity Type.

Retrieve a specific Custom Entity Type at a point in AsAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityTypeThe identifier for the Custom Entity Type, derived from the &quot;entityTypeName&quot; provided on creation.
asAtThe AsAt datetime at which to retrieve the definition. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of CustomEntityType

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ GetCustomEntityTypeWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustomEntityType> > Lusid.Sdk.Api.ICustomEntityTypesApiAsync.GetCustomEntityTypeWithHttpInfoAsync ( string  entityType,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] GetCustomEntityType: Get a Custom Entity Type.

Retrieve a specific Custom Entity Type at a point in AsAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityTypeThe identifier for the Custom Entity Type, derived from the &quot;entityTypeName&quot; provided on creation.
asAtThe AsAt datetime at which to retrieve the definition. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (CustomEntityType)

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ ListCustomEntityTypesAsync()

System.Threading.Tasks.Task<PagedResourceListOfCustomEntityType> Lusid.Sdk.Api.ICustomEntityTypesApiAsync.ListCustomEntityTypesAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  sortBy = default(List< string >?),
string?  page = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] ListCustomEntityTypes: List Custom Entity Types.

List all Custom Entity Types matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to list the entities. Defaults to returning the latest version of each Custom Entity Type if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
sortByA list of field names to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot; (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, limit, sortBy, and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of PagedResourceListOfCustomEntityType

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ ListCustomEntityTypesWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PagedResourceListOfCustomEntityType> > Lusid.Sdk.Api.ICustomEntityTypesApiAsync.ListCustomEntityTypesWithHttpInfoAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  sortBy = default(List< string >?),
string?  page = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] ListCustomEntityTypes: List Custom Entity Types.

List all Custom Entity Types matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to list the entities. Defaults to returning the latest version of each Custom Entity Type if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
sortByA list of field names to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot; (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, limit, sortBy, and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (PagedResourceListOfCustomEntityType)

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ UpdateCustomEntityTypeAsync()

System.Threading.Tasks.Task<CustomEntityType> Lusid.Sdk.Api.ICustomEntityTypesApiAsync.UpdateCustomEntityTypeAsync ( string  entityType,
UpdateCustomEntityTypeRequest  updateCustomEntityTypeRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] UpdateCustomEntityType: Modify an existing Custom Entity Type.

The API will return a Bad Request if the Custom Entity Type does not exist.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityTypeThe identifier for the Custom Entity Type, derived from the &quot;entityTypeName&quot; provided on creation.
updateCustomEntityTypeRequestThe payload containing the description of the Custom Entity Type.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of CustomEntityType

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.

◆ UpdateCustomEntityTypeWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CustomEntityType> > Lusid.Sdk.Api.ICustomEntityTypesApiAsync.UpdateCustomEntityTypeWithHttpInfoAsync ( string  entityType,
UpdateCustomEntityTypeRequest  updateCustomEntityTypeRequest,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

[EARLY ACCESS] UpdateCustomEntityType: Modify an existing Custom Entity Type.

The API will return a Bad Request if the Custom Entity Type does not exist.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityTypeThe identifier for the Custom Entity Type, derived from the &quot;entityTypeName&quot; provided on creation.
updateCustomEntityTypeRequestThe payload containing the description of the Custom Entity Type.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (CustomEntityType)

Implemented in Lusid.Sdk.Api.CustomEntityTypesApi.


The documentation for this interface was generated from the following file: