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

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

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

Public Member Functions

Dialect GetTranslationDialect (string scope, string vendor, string sourceSystem, string entityType, string serialisationFormat, string version, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EARLY ACCESS] GetTranslationDialect: Get a dialect. More...
 
ApiResponse< DialectGetTranslationDialectWithHttpInfo (string scope, string vendor, string sourceSystem, string entityType, string serialisationFormat, string version, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EARLY ACCESS] GetTranslationDialect: Get a dialect. More...
 
TranslationScript GetTranslationScript (string scope, string code, string version, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EARLY ACCESS] GetTranslationScript: Retrieve a translation script by its identifier. More...
 
ApiResponse< TranslationScriptGetTranslationScriptWithHttpInfo (string scope, string code, string version, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EARLY ACCESS] GetTranslationScript: Retrieve a translation script by its identifier. More...
 
PagedResourceListOfDialectId ListDialectIds (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListDialectIds: List dialect identifiers matching an optional filter. More...
 
ApiResponse< PagedResourceListOfDialectIdListDialectIdsWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListDialectIds: List dialect identifiers matching an optional filter. More...
 
PagedResourceListOfTranslationScriptId ListTranslationScriptIds (DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListTranslationScriptIds: List translation script identifiers. More...
 
ApiResponse< PagedResourceListOfTranslationScriptIdListTranslationScriptIdsWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListTranslationScriptIds: List translation script identifiers. More...
 
TranslateEntitiesResponse TranslateEntities (TranslateEntitiesRequest translateEntitiesRequest, int operationIndex=0)
 [EARLY ACCESS] TranslateEntities: Translate a collection of entities with a specified translation script. More...
 
ApiResponse< TranslateEntitiesResponseTranslateEntitiesWithHttpInfo (TranslateEntitiesRequest translateEntitiesRequest, int operationIndex=0)
 [EARLY ACCESS] TranslateEntities: Translate a collection of entities with a specified translation script. More...
 
TranslateEntitiesResponse TranslateEntitiesInlined (TranslateEntitiesInlinedRequest translateEntitiesInlinedRequest, int operationIndex=0)
 [EARLY ACCESS] TranslateEntitiesInlined: Translate a collection of entities, inlining the body of the translation script. More...
 
ApiResponse< TranslateEntitiesResponseTranslateEntitiesInlinedWithHttpInfo (TranslateEntitiesInlinedRequest translateEntitiesInlinedRequest, int operationIndex=0)
 [EARLY ACCESS] TranslateEntitiesInlined: Translate a collection of entities, inlining the body of the translation script. More...
 
Dialect UpsertTranslationDialect (UpsertDialectRequest upsertDialectRequest, int operationIndex=0)
 [EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect. More...
 
ApiResponse< DialectUpsertTranslationDialectWithHttpInfo (UpsertDialectRequest upsertDialectRequest, int operationIndex=0)
 [EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect. More...
 
TranslationScript UpsertTranslationScript (UpsertTranslationScriptRequest upsertTranslationScriptRequest, int operationIndex=0)
 [EARLY ACCESS] UpsertTranslationScript: Upsert a translation script. More...
 
ApiResponse< TranslationScriptUpsertTranslationScriptWithHttpInfo (UpsertTranslationScriptRequest upsertTranslationScriptRequest, int operationIndex=0)
 [EARLY ACCESS] UpsertTranslationScript: Upsert a translation script. 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

◆ GetTranslationDialect()

Dialect Lusid.Sdk.Api.IScriptedTranslationApiSync.GetTranslationDialect ( string  scope,
string  vendor,
string  sourceSystem,
string  entityType,
string  serialisationFormat,
string  version,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetTranslationDialect: Get a dialect.

Get the dialect with the given identifier at the specific asAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the dialect.
vendorThe vendor of the dialect, the entity that created it. e.g. ISDA, FINBOURNE.
sourceSystemThe source system of the dialect, the system that understands it. e.g. LUSID, QuantLib.
entityTypeThe type of entity this dialect describes e.g. Instrument.
serialisationFormatThe serialisation format of a document in this dialect. e.g. JSON, XML.
versionThe semantic version of the dialect: MAJOR.MINOR.PATCH.
asAtThe asAt datetime at which to retrieve the dialect. Defaults to return the latest version of the dialect if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
Dialect

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ GetTranslationDialectWithHttpInfo()

ApiResponse<Dialect> Lusid.Sdk.Api.IScriptedTranslationApiSync.GetTranslationDialectWithHttpInfo ( string  scope,
string  vendor,
string  sourceSystem,
string  entityType,
string  serialisationFormat,
string  version,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetTranslationDialect: Get a dialect.

Get the dialect with the given identifier at the specific asAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the dialect.
vendorThe vendor of the dialect, the entity that created it. e.g. ISDA, FINBOURNE.
sourceSystemThe source system of the dialect, the system that understands it. e.g. LUSID, QuantLib.
entityTypeThe type of entity this dialect describes e.g. Instrument.
serialisationFormatThe serialisation format of a document in this dialect. e.g. JSON, XML.
versionThe semantic version of the dialect: MAJOR.MINOR.PATCH.
asAtThe asAt datetime at which to retrieve the dialect. Defaults to return the latest version of the dialect if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of Dialect

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ GetTranslationScript()

TranslationScript Lusid.Sdk.Api.IScriptedTranslationApiSync.GetTranslationScript ( string  scope,
string  code,
string  version,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetTranslationScript: Retrieve a translation script by its identifier.

Retrieves a translation script to be used for translating financial entities.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeScope of the translation script.
codeCode of the translation script.
versionSemantic version of the translation script.
asAtThe asAt datetime at which to retrieve the translation script. Defaults to latest. (optional)
operationIndexIndex associated with the operation.
Returns
TranslationScript

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ GetTranslationScriptWithHttpInfo()

ApiResponse<TranslationScript> Lusid.Sdk.Api.IScriptedTranslationApiSync.GetTranslationScriptWithHttpInfo ( string  scope,
string  code,
string  version,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetTranslationScript: Retrieve a translation script by its identifier.

Retrieves a translation script to be used for translating financial entities.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeScope of the translation script.
codeCode of the translation script.
versionSemantic version of the translation script.
asAtThe asAt datetime at which to retrieve the translation script. Defaults to latest. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of TranslationScript

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ ListDialectIds()

PagedResourceListOfDialectId Lusid.Sdk.Api.IScriptedTranslationApiSync.ListDialectIds ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
int?  limit = default(int?),
string?  filter = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListDialectIds: List dialect identifiers matching an optional filter.

List the stored dialects&#39; identifiers with pagination and filtering at the specified asAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the dialects. Defaults to return the latest version of the dialect if not specified. (optional)
pageThe pagination token to use to continue listing dialect IDs from a previous call to list dialect IDs. This value is returned from the previous call. If a pagination token is provided the filter and asAt fields must not have changed since the original request. (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)
operationIndexIndex associated with the operation.
Returns
PagedResourceListOfDialectId

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ ListDialectIdsWithHttpInfo()

ApiResponse<PagedResourceListOfDialectId> Lusid.Sdk.Api.IScriptedTranslationApiSync.ListDialectIdsWithHttpInfo ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
int?  limit = default(int?),
string?  filter = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListDialectIds: List dialect identifiers matching an optional filter.

List the stored dialects&#39; identifiers with pagination and filtering at the specified asAt time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the dialects. Defaults to return the latest version of the dialect if not specified. (optional)
pageThe pagination token to use to continue listing dialect IDs from a previous call to list dialect IDs. This value is returned from the previous call. If a pagination token is provided the filter and asAt fields must not have changed since the original request. (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)
operationIndexIndex associated with the operation.
Returns
ApiResponse of PagedResourceListOfDialectId

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ ListTranslationScriptIds()

PagedResourceListOfTranslationScriptId Lusid.Sdk.Api.IScriptedTranslationApiSync.ListTranslationScriptIds ( DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListTranslationScriptIds: List translation script identifiers.

List translation script ids.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the script identifiers. Defaults to latest. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. For example, Id.Version.Major eq 1 to list IDs with major version 1 or Id.Scope eq &#39;my-scripts&#39; to list result only for a particular scope. (optional)
pageThe pagination token to use to continue listing translation script IDs; this value is returned from the previous call. If a pagination token is provided, the filter field must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
Returns
PagedResourceListOfTranslationScriptId

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ ListTranslationScriptIdsWithHttpInfo()

ApiResponse<PagedResourceListOfTranslationScriptId> Lusid.Sdk.Api.IScriptedTranslationApiSync.ListTranslationScriptIdsWithHttpInfo ( DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListTranslationScriptIds: List translation script identifiers.

List translation script ids.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the script identifiers. Defaults to latest. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. For example, Id.Version.Major eq 1 to list IDs with major version 1 or Id.Scope eq &#39;my-scripts&#39; to list result only for a particular scope. (optional)
pageThe pagination token to use to continue listing translation script IDs; this value is returned from the previous call. If a pagination token is provided, the filter field must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of PagedResourceListOfTranslationScriptId

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ TranslateEntities()

TranslateEntitiesResponse Lusid.Sdk.Api.IScriptedTranslationApiSync.TranslateEntities ( TranslateEntitiesRequest  translateEntitiesRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] TranslateEntities: Translate a collection of entities with a specified translation script.

Run the provided translation request. The entities to translate are specified in the request body as a dictionary with (ephemeral) unique correlation IDs. The script to use and optional dialect to validate results against are sourced from the database.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
translateEntitiesRequestThe entities to translate, along with identifiers for the script and (optional) dialect to use.
operationIndexIndex associated with the operation.
Returns
TranslateEntitiesResponse

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ TranslateEntitiesInlined()

TranslateEntitiesResponse Lusid.Sdk.Api.IScriptedTranslationApiSync.TranslateEntitiesInlined ( TranslateEntitiesInlinedRequest  translateEntitiesInlinedRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] TranslateEntitiesInlined: Translate a collection of entities, inlining the body of the translation script.

Run the provided translation request. The entities to translate, script to use and dialect to validate results against are all specified in the request body. The entities are given as a dictionary with (ephemeral) unique correlation IDs.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
translateEntitiesInlinedRequestThe entities to translate, along with the script to use and an optional schema for validation.
operationIndexIndex associated with the operation.
Returns
TranslateEntitiesResponse

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ TranslateEntitiesInlinedWithHttpInfo()

ApiResponse<TranslateEntitiesResponse> Lusid.Sdk.Api.IScriptedTranslationApiSync.TranslateEntitiesInlinedWithHttpInfo ( TranslateEntitiesInlinedRequest  translateEntitiesInlinedRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] TranslateEntitiesInlined: Translate a collection of entities, inlining the body of the translation script.

Run the provided translation request. The entities to translate, script to use and dialect to validate results against are all specified in the request body. The entities are given as a dictionary with (ephemeral) unique correlation IDs.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
translateEntitiesInlinedRequestThe entities to translate, along with the script to use and an optional schema for validation.
operationIndexIndex associated with the operation.
Returns
ApiResponse of TranslateEntitiesResponse

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ TranslateEntitiesWithHttpInfo()

ApiResponse<TranslateEntitiesResponse> Lusid.Sdk.Api.IScriptedTranslationApiSync.TranslateEntitiesWithHttpInfo ( TranslateEntitiesRequest  translateEntitiesRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] TranslateEntities: Translate a collection of entities with a specified translation script.

Run the provided translation request. The entities to translate are specified in the request body as a dictionary with (ephemeral) unique correlation IDs. The script to use and optional dialect to validate results against are sourced from the database.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
translateEntitiesRequestThe entities to translate, along with identifiers for the script and (optional) dialect to use.
operationIndexIndex associated with the operation.
Returns
ApiResponse of TranslateEntitiesResponse

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ UpsertTranslationDialect()

Dialect Lusid.Sdk.Api.IScriptedTranslationApiSync.UpsertTranslationDialect ( UpsertDialectRequest  upsertDialectRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect.

Upsert the given dialect.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertDialectRequestThe dialect to upsert.
operationIndexIndex associated with the operation.
Returns
Dialect

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ UpsertTranslationDialectWithHttpInfo()

ApiResponse<Dialect> Lusid.Sdk.Api.IScriptedTranslationApiSync.UpsertTranslationDialectWithHttpInfo ( UpsertDialectRequest  upsertDialectRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] UpsertTranslationDialect: Upsert a Dialect.

Upsert the given dialect.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertDialectRequestThe dialect to upsert.
operationIndexIndex associated with the operation.
Returns
ApiResponse of Dialect

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ UpsertTranslationScript()

TranslationScript Lusid.Sdk.Api.IScriptedTranslationApiSync.UpsertTranslationScript ( UpsertTranslationScriptRequest  upsertTranslationScriptRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] UpsertTranslationScript: Upsert a translation script.

Upserts a translation script to be used for translating financial entities.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertTranslationScriptRequestThe translation script to be upserted.
operationIndexIndex associated with the operation.
Returns
TranslationScript

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.

◆ UpsertTranslationScriptWithHttpInfo()

ApiResponse<TranslationScript> Lusid.Sdk.Api.IScriptedTranslationApiSync.UpsertTranslationScriptWithHttpInfo ( UpsertTranslationScriptRequest  upsertTranslationScriptRequest,
int  operationIndex = 0 
)

[EARLY ACCESS] UpsertTranslationScript: Upsert a translation script.

Upserts a translation script to be used for translating financial entities.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertTranslationScriptRequestThe translation script to be upserted.
operationIndexIndex associated with the operation.
Returns
ApiResponse of TranslationScript

Implemented in Lusid.Sdk.Api.ScriptedTranslationApi.


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