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

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

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

Public Member Functions

System.Threading.Tasks.Task< DeletedEntityResponseDeletePlacementAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeletePlacement: Delete placement More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > DeletePlacementWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeletePlacement: Delete placement More...
 
System.Threading.Tasks.Task< PlacementGetPlacementAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] GetPlacement: Get Placement More...
 
System.Threading.Tasks.Task< ApiResponse< Placement > > GetPlacementWithHttpInfoAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] GetPlacement: Get Placement More...
 
System.Threading.Tasks.Task< PagedResourceListOfPlacementListPlacementsAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] ListPlacements: List Placements More...
 
System.Threading.Tasks.Task< ApiResponse< PagedResourceListOfPlacement > > ListPlacementsWithHttpInfoAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] ListPlacements: List Placements More...
 
System.Threading.Tasks.Task< ResourceListOfPlacementUpsertPlacementsAsync (PlacementSetRequest? placementSetRequest=default(PlacementSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertPlacements: Upsert Placement More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfPlacement > > UpsertPlacementsWithHttpInfoAsync (PlacementSetRequest? placementSetRequest=default(PlacementSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertPlacements: Upsert Placement 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

◆ DeletePlacementAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.IPlacementsApiAsync.DeletePlacementAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] DeletePlacement: Delete placement

Delete an placement. Deletion will be valid from the placement&#39;s creation datetime. This means that the placement 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
scopeThe placement scope.
codeThe placement&#39;s code. This, together with the scope uniquely identifies the placement to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ DeletePlacementWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.IPlacementsApiAsync.DeletePlacementWithHttpInfoAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] DeletePlacement: Delete placement

Delete an placement. Deletion will be valid from the placement&#39;s creation datetime. This means that the placement 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
scopeThe placement scope.
codeThe placement&#39;s code. This, together with the scope uniquely identifies the placement to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ GetPlacementAsync()

System.Threading.Tasks.Task<Placement> Lusid.Sdk.Api.IPlacementsApiAsync.GetPlacementAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] GetPlacement: Get Placement

Fetch a Placement that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the placement belongs.
codeThe placement&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the placement. Defaults to return the latest version of the placement if not specified. (optional)
propertyKeysA list of property keys from the &quot;Placement&quot; domain to decorate onto the placement. If none are given, all applied properties are returned. These take the format {domain}/{scope}/{code} e.g. &quot;Placement/system/Name&quot;. Property keys from the instrument domain can also be decorated onto the placement, e.g. &quot;Instrument/default/Isin&quot;. These are only decorated if requested. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of Placement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ GetPlacementWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<Placement> > Lusid.Sdk.Api.IPlacementsApiAsync.GetPlacementWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] GetPlacement: Get Placement

Fetch a Placement that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the placement belongs.
codeThe placement&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the placement. Defaults to return the latest version of the placement if not specified. (optional)
propertyKeysA list of property keys from the &quot;Placement&quot; domain to decorate onto the placement. If none are given, all applied properties are returned. These take the format {domain}/{scope}/{code} e.g. &quot;Placement/system/Name&quot;. Property keys from the instrument domain can also be decorated onto the placement, e.g. &quot;Instrument/default/Isin&quot;. These are only decorated if requested. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (Placement)

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ ListPlacementsAsync()

System.Threading.Tasks.Task<PagedResourceListOfPlacement> Lusid.Sdk.Api.IPlacementsApiAsync.ListPlacementsAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] ListPlacements: List Placements

Fetch the last pre-AsAt date version of each placement in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the placement. Defaults to return the latest version of the placement if not specified. (optional)
pageThe pagination token to use to continue listing placements from a previous call to list placements. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (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 from the &quot;Placement&quot; domain to decorate onto each placement. These take the format {domain}/{scope}/{code} e.g. &quot;Placement/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PagedResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ ListPlacementsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PagedResourceListOfPlacement> > Lusid.Sdk.Api.IPlacementsApiAsync.ListPlacementsWithHttpInfoAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] ListPlacements: List Placements

Fetch the last pre-AsAt date version of each placement in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the placement. Defaults to return the latest version of the placement if not specified. (optional)
pageThe pagination token to use to continue listing placements from a previous call to list placements. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (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 from the &quot;Placement&quot; domain to decorate onto each placement. These take the format {domain}/{scope}/{code} e.g. &quot;Placement/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PagedResourceListOfPlacement)

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ UpsertPlacementsAsync()

System.Threading.Tasks.Task<ResourceListOfPlacement> Lusid.Sdk.Api.IPlacementsApiAsync.UpsertPlacementsAsync ( PlacementSetRequest placementSetRequest = default(PlacementSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] UpsertPlacements: Upsert Placement

Upsert; update existing placements with given ids, or create new placements otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
placementSetRequestThe collection of placement requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ UpsertPlacementsWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfPlacement> > Lusid.Sdk.Api.IPlacementsApiAsync.UpsertPlacementsWithHttpInfoAsync ( PlacementSetRequest placementSetRequest = default(PlacementSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] UpsertPlacements: Upsert Placement

Upsert; update existing placements with given ids, or create new placements otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
placementSetRequestThe collection of placement requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPlacement)

Implemented in Lusid.Sdk.Api.PlacementsApi.


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