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

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

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

Public Member Functions

DeletedEntityResponse DeletePlacement (string scope, string code, int operationIndex=0)
 [EARLY ACCESS] DeletePlacement: Delete placement More...
 
ApiResponse< DeletedEntityResponseDeletePlacementWithHttpInfo (string scope, string code, int operationIndex=0)
 [EARLY ACCESS] DeletePlacement: Delete placement More...
 
Placement GetPlacement (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] GetPlacement: Get Placement More...
 
ApiResponse< PlacementGetPlacementWithHttpInfo (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] GetPlacement: Get Placement More...
 
PagedResourceListOfPlacement ListPlacements (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)
 [EARLY ACCESS] ListPlacements: List Placements More...
 
ApiResponse< PagedResourceListOfPlacementListPlacementsWithHttpInfo (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)
 [EARLY ACCESS] ListPlacements: List Placements More...
 
ResourceListOfPlacement UpsertPlacements (PlacementSetRequest? placementSetRequest=default(PlacementSetRequest?), int operationIndex=0)
 [EARLY ACCESS] UpsertPlacements: Upsert Placement More...
 
ApiResponse< ResourceListOfPlacementUpsertPlacementsWithHttpInfo (PlacementSetRequest? placementSetRequest=default(PlacementSetRequest?), int operationIndex=0)
 [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

◆ DeletePlacement()

DeletedEntityResponse Lusid.Sdk.Api.IPlacementsApiSync.DeletePlacement ( string  scope,
string  code,
int  operationIndex = 0 
)

[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.
Returns
DeletedEntityResponse

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ DeletePlacementWithHttpInfo()

ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.IPlacementsApiSync.DeletePlacementWithHttpInfo ( string  scope,
string  code,
int  operationIndex = 0 
)

[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.
Returns
ApiResponse of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ GetPlacement()

Placement Lusid.Sdk.Api.IPlacementsApiSync.GetPlacement ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0 
)

[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.
Returns
Placement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ GetPlacementWithHttpInfo()

ApiResponse<Placement> Lusid.Sdk.Api.IPlacementsApiSync.GetPlacementWithHttpInfo ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0 
)

[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.
Returns
ApiResponse of Placement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ ListPlacements()

PagedResourceListOfPlacement Lusid.Sdk.Api.IPlacementsApiSync.ListPlacements ( 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 
)

[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.
Returns
PagedResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ ListPlacementsWithHttpInfo()

ApiResponse<PagedResourceListOfPlacement> Lusid.Sdk.Api.IPlacementsApiSync.ListPlacementsWithHttpInfo ( 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 
)

[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.
Returns
ApiResponse of PagedResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ UpsertPlacements()

ResourceListOfPlacement Lusid.Sdk.Api.IPlacementsApiSync.UpsertPlacements ( PlacementSetRequest placementSetRequest = default(PlacementSetRequest?),
int  operationIndex = 0 
)

[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.
Returns
ResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.

◆ UpsertPlacementsWithHttpInfo()

ApiResponse<ResourceListOfPlacement> Lusid.Sdk.Api.IPlacementsApiSync.UpsertPlacementsWithHttpInfo ( PlacementSetRequest placementSetRequest = default(PlacementSetRequest?),
int  operationIndex = 0 
)

[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.
Returns
ApiResponse of ResourceListOfPlacement

Implemented in Lusid.Sdk.Api.PlacementsApi.


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