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

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

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

Public Member Functions

System.Threading.Tasks.Task< DeletedEntityResponseDeleteLegalEntityAsync (string idTypeScope, string idTypeCode, string code, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Delete Legal Entity More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > DeleteLegalEntityWithHttpInfoAsync (string idTypeScope, string idTypeCode, string code, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Delete Legal Entity More...
 
System.Threading.Tasks.Task< LegalEntityGetLegalEntityAsync (string idTypeScope, string idTypeCode, string code, List< string > propertyKeys=default(List< string >), DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get Legal Entity More...
 
System.Threading.Tasks.Task< ApiResponse< LegalEntity > > GetLegalEntityWithHttpInfoAsync (string idTypeScope, string idTypeCode, string code, List< string > propertyKeys=default(List< string >), DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get Legal Entity More...
 
System.Threading.Tasks.Task< PagedResourceListOfLegalEntityListLegalEntitiesAsync (string idTypeScope, string idTypeCode, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] List Legal Entities More...
 
System.Threading.Tasks.Task< ApiResponse< PagedResourceListOfLegalEntity > > ListLegalEntitiesWithHttpInfoAsync (string idTypeScope, string idTypeCode, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] List Legal Entities More...
 
System.Threading.Tasks.Task< LegalEntityUpsertLegalEntityAsync (UpsertLegalEntityRequest upsertLegalEntityRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Upsert Legal Entity More...
 
System.Threading.Tasks.Task< ApiResponse< LegalEntity > > UpsertLegalEntityWithHttpInfoAsync (UpsertLegalEntityRequest upsertLegalEntityRequest, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Upsert Legal Entity More...
 
- Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor
String GetBasePath ()
 Gets the base path of the API client. More...
 

Additional Inherited Members

- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ DeleteLegalEntityAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.ILegalEntitiesApiAsync.DeleteLegalEntityAsync ( string  idTypeScope,
string  idTypeCode,
string  code,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Delete Legal Entity

Delete a legal entity. Deletion will be valid from the legal entity&#39;s creation datetime. This means that the legal entity will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeThe scope of the legal entity identifier type.
idTypeCodeThe code of the legal entity identifier type.
codeCode of the legal entity under specified identifier type&#39;s scope and code. This together with defined identifier type uniquely identifies the legal entity to delete.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ DeleteLegalEntityWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.ILegalEntitiesApiAsync.DeleteLegalEntityWithHttpInfoAsync ( string  idTypeScope,
string  idTypeCode,
string  code,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Delete Legal Entity

Delete a legal entity. Deletion will be valid from the legal entity&#39;s creation datetime. This means that the legal entity will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeThe scope of the legal entity identifier type.
idTypeCodeThe code of the legal entity identifier type.
codeCode of the legal entity under specified identifier type&#39;s scope and code. This together with defined identifier type uniquely identifies the legal entity to delete.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ GetLegalEntityAsync()

System.Threading.Tasks.Task<LegalEntity> Lusid.Sdk.Api.ILegalEntitiesApiAsync.GetLegalEntityAsync ( string  idTypeScope,
string  idTypeCode,
string  code,
List< string >  propertyKeys = default(List< string >),
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Get Legal Entity

Retrieve the definition of a legal entity.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeScope of the legal entity identifier type.
idTypeCodeCode of the legal entity identifier type.
codeCode of the legal entity under specified identifier type&#39;s scope and code. This together with stated identifier type uniquely identifies the legal entity.
propertyKeysA list of property keys or identifier types (as property keys) from the &quot;LegalEntity&quot; domain to include for found legal entity. These take the format {domain}/{scope}/{code} e.g. &quot;LegalEntity/ContactDetails/Address&quot;. (optional)
effectiveAtThe effective datetime or cut label at which to retrieve the legal entity. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the legal entity. Defaults to return the latest version of the legal entity if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of LegalEntity

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ GetLegalEntityWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<LegalEntity> > Lusid.Sdk.Api.ILegalEntitiesApiAsync.GetLegalEntityWithHttpInfoAsync ( string  idTypeScope,
string  idTypeCode,
string  code,
List< string >  propertyKeys = default(List< string >),
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Get Legal Entity

Retrieve the definition of a legal entity.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeScope of the legal entity identifier type.
idTypeCodeCode of the legal entity identifier type.
codeCode of the legal entity under specified identifier type&#39;s scope and code. This together with stated identifier type uniquely identifies the legal entity.
propertyKeysA list of property keys or identifier types (as property keys) from the &quot;LegalEntity&quot; domain to include for found legal entity. These take the format {domain}/{scope}/{code} e.g. &quot;LegalEntity/ContactDetails/Address&quot;. (optional)
effectiveAtThe effective datetime or cut label at which to retrieve the legal entity. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the legal entity. Defaults to return the latest version of the legal entity if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (LegalEntity)

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ ListLegalEntitiesAsync()

System.Threading.Tasks.Task<PagedResourceListOfLegalEntity> Lusid.Sdk.Api.ILegalEntitiesApiAsync.ListLegalEntitiesAsync ( string  idTypeScope,
string  idTypeCode,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] List Legal Entities

List legal entities which has identifier of specific identifier type&#39;s scope and code, and satisfies filter criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeScope of the legal entity identifier type.
idTypeCodeCode of the legal entity identifier type.
effectiveAtThe effective datetime or cut label at which to list the people. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the people. Defaults to return the latest version of each people if not specified. (optional)
pageThe pagination token to use to continue listing legal entities from a previous call to list legal entities. This value is returned from the previous call. If a pagination token is provided the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys or identifier types (as property keys) from the &quot;LegalEntity&quot; domain to include for each legal entity. These take the format {domain}/{scope}/{code} e.g. &quot;LegalEntity/ContactDetails/Address&quot;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PagedResourceListOfLegalEntity

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ ListLegalEntitiesWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PagedResourceListOfLegalEntity> > Lusid.Sdk.Api.ILegalEntitiesApiAsync.ListLegalEntitiesWithHttpInfoAsync ( string  idTypeScope,
string  idTypeCode,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List< string >),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] List Legal Entities

List legal entities which has identifier of specific identifier type&#39;s scope and code, and satisfies filter criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
idTypeScopeScope of the legal entity identifier type.
idTypeCodeCode of the legal entity identifier type.
effectiveAtThe effective datetime or cut label at which to list the people. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the people. Defaults to return the latest version of each people if not specified. (optional)
pageThe pagination token to use to continue listing legal entities from a previous call to list legal entities. This value is returned from the previous call. If a pagination token is provided the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
limitWhen paginating, limit the number of returned results to this many. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys or identifier types (as property keys) from the &quot;LegalEntity&quot; domain to include for each legal entity. These take the format {domain}/{scope}/{code} e.g. &quot;LegalEntity/ContactDetails/Address&quot;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PagedResourceListOfLegalEntity)

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ UpsertLegalEntityAsync()

System.Threading.Tasks.Task<LegalEntity> Lusid.Sdk.Api.ILegalEntitiesApiAsync.UpsertLegalEntityAsync ( UpsertLegalEntityRequest  upsertLegalEntityRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Upsert Legal Entity

Create or update a legal entity

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertLegalEntityRequestRequest to create or update a legal entity.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of LegalEntity

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.

◆ UpsertLegalEntityWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<LegalEntity> > Lusid.Sdk.Api.ILegalEntitiesApiAsync.UpsertLegalEntityWithHttpInfoAsync ( UpsertLegalEntityRequest  upsertLegalEntityRequest,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] Upsert Legal Entity

Create or update a legal entity

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertLegalEntityRequestRequest to create or update a legal entity.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (LegalEntity)

Implemented in Lusid.Sdk.Api.LegalEntitiesApi.


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