Allows managing accounts.
| Class | Description |
|---|---|
AccountManagementClient |
The entry point of the Account Management Service client library. |
| Class | Description |
|---|---|
Accounts |
Provides operations on accounts. |
Items |
Provides operations on items. |
Settings |
Provides operations on settings. |
Solutions |
Provides operations on solutions. |
StaticData |
Provides operations on static data. |
Validations |
Provides operations on validations. |
| Class | Description |
|---|---|
AccountData |
Describes an account. |
AdditionalItemData |
Describes an additional item. |
BusinessPartnerData |
Describes a business partner. |
BusinessPartnersData |
Describes a business partners. |
CountriesConfiguration |
Describes a countries configuration. |
CountryData |
Describes a country. |
DistrictData |
Describes a district. |
DistrictsData |
Describes a districts. |
MessageComponentConfiguration |
Describes a message component configuration. |
ProductSettings |
Describes a product settings. |
SettingsData |
Describes a settings. |
SolutionData |
Describes a solution. |
UpdateSubscriptionAccountRequest |
Describes an update subscription account request. |
ValidateVoucherRequest |
Describes a validate voucher request. |
ValidationResponse |
Describes a validation response. |
VatNumberLookupInfo |
Describes a vat number lookup. |
VatRateData |
Describes a vat rate. |
The client library has no enumerations.
| Policy | Description | Scope |
|---|---|---|
DefaultScope |
Defines an authorization policy that requires the default scope. | lithium-accountmanagement |
AccountManagementClientPrimavera.Lithium.AccountManagement.Client.RestAccountManagementClientBase (RestServiceClient)AccountManagementClient(Uri, BearerTokenCredential)| Parameter | Type | Description |
|---|---|---|
serviceUri |
Uri |
The service URI. |
credential |
BearerTokenCredential |
The credential that should be used to access the service. |
AccountManagementClient(Uri, BearerTokenCredential, AccountManagementClientOptions)| Parameter | Type | Description |
|---|---|---|
serviceUri |
Uri |
The service URI. |
credential |
BearerTokenCredential |
The credential that should be used to access the service. |
clientOptions |
AccountManagementClientOptions |
The client options. |
Uri address = new Uri("[service-address]");
string clientId = "[client-id]"
string clientSecret = "[client-secret]"
AccountManagementClient client = new AccountManagementClient(
new Uri(address),
new ChallengeCredential(
async (args, cancellationToken) =>
{
ClientSecretCredential innerCredential = new ClientSecretCredential(
args.AuthorizationUri,
clientId,
clientSecret);
return await innerCredential.GetTokenAsync(cancellationToken).ConfigureAwait(false);
}));
AccountsClientControllerProvides operations on accounts.
Primavera.Lithium.AccountManagement.Client.RestAccountsClientControllerBase (IAccountsClientController)GetAccountInfoAsync()Retrieves an account information.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.AccountData>> GetAccountInfoAsync(string accountKey, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.AccountData> GetAccountInfo(string accountKey);
| Parameter | Type | Description | Rules |
|---|---|---|---|
accountKey |
string |
The account key. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.AccountData |
The account information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
UpdateSubscriptionAccountAsync()Updates a subscription account.
DefaultScopepublic async Task<RestServiceResult> UpdateSubscriptionAccountAsync(Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest request, System.Guid userId, System.Guid accountId, System.Guid subscriptionId, CancellationToken cancellationToken = default);
public RestServiceResult UpdateSubscriptionAccount(Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest request, System.Guid userId, System.Guid accountId, System.Guid subscriptionId);
| Parameter | Type | Description | Rules |
|---|---|---|---|
request |
Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest |
The request. | Required. |
userId |
System.Guid |
The user identifier. | Required. Not empty. |
accountId |
System.Guid |
The account identifier. | Required. Not empty. |
subscriptionId |
System.Guid |
The subscription identifier. | Required. Not empty. |
| Return Type | Description |
|---|---|
| None | The operation has no return value. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
ValidateCompanyInfoAsync()Validates if the company info does not violates any business rule.
DefaultScopepublic async Task<RestServiceResult> ValidateCompanyInfoAsync(Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest request, System.Guid userId, System.Guid accountId, System.Guid subscriptionId, CancellationToken cancellationToken = default);
public RestServiceResult ValidateCompanyInfo(Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest request, System.Guid userId, System.Guid accountId, System.Guid subscriptionId);
| Parameter | Type | Description | Rules |
|---|---|---|---|
request |
Primavera.Lithium.AccountManagement.Client.Rest.Models.UpdateSubscriptionAccountRequest |
The request. | Required. |
userId |
System.Guid |
The user identifier. | Required. Not empty. |
accountId |
System.Guid |
The account identifier. | Required. Not empty. |
subscriptionId |
System.Guid |
The subscription identifier. | Required. Not empty. |
| Return Type | Description |
|---|---|
| None | The operation has no return value. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
ItemsClientControllerProvides operations on items.
Primavera.Lithium.AccountManagement.Client.RestItemsClientControllerBase (IItemsClientController)GetItemAsync()Gets additional item by key.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.AdditionalItemData>> GetItemAsync(string itemKey, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.AdditionalItemData> GetItem(string itemKey);
| Parameter | Type | Description | Rules |
|---|---|---|---|
itemKey |
string |
The item key. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.AdditionalItemData |
The additional item. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
SettingsClientControllerProvides operations on settings.
Primavera.Lithium.AccountManagement.Client.RestSettingsClientControllerBase (ISettingsClientController)GetSettingsAsync()Retrieves settings.
public async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SettingsData>> GetSettingsAsync(string product, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SettingsData> GetSettings(string product);
| Parameter | Type | Description | Rules |
|---|---|---|---|
product |
string |
The product. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.SettingsData |
The service settings. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
SaveSettingsAsync()Save settings for a product.
DefaultScopepublic async Task<RestServiceResult<string>> SaveSettingsAsync(string product, Primavera.Lithium.AccountManagement.Client.Rest.Models.ProductSettings productSettings, CancellationToken cancellationToken = default);
public RestServiceResult<string> SaveSettings(string product, Primavera.Lithium.AccountManagement.Client.Rest.Models.ProductSettings productSettings);
| Parameter | Type | Description | Rules |
|---|---|---|---|
product |
string |
The product. | Required. |
productSettings |
Primavera.Lithium.AccountManagement.Client.Rest.Models.ProductSettings |
The product settings. | Required. |
| Return Type | Description |
|---|---|
string |
The product name of the created settings. |
| Status Code | Description |
|---|---|
HttpStatusCode.Created |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
SolutionsClientControllerProvides operations on solutions.
Primavera.Lithium.AccountManagement.Client.RestSolutionsClientControllerBase (ISolutionsClientController)GetProductSolutionsAsync()Retrieves the solutions available for the specified product.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData>> GetProductSolutionsAsync(string productKey, string? countryKey, string? segment, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData> GetProductSolutions(string productKey, string? countryKey, string? segment);
| Parameter | Type | Description | Rules |
|---|---|---|---|
productKey |
string |
The product key. | Required. |
countryKey |
string? |
The country key. | Required. |
segment |
string? |
The segment. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData |
The product available solutions. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetSolutionAsync()Retrieves a solution.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData>> GetSolutionAsync(string solutionKey, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData> GetSolution(string solutionKey);
| Parameter | Type | Description | Rules |
|---|---|---|---|
solutionKey |
string |
The solution key. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.SolutionData |
The solution information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetTermsAndConditionsAsync()Retrieves the terms and conditions for the specified solution.
DefaultScopepublic async Task<RestServiceResult<System.Collections.Generic.IEnumerable<string>>> GetTermsAndConditionsAsync(string solutionKey, CancellationToken cancellationToken = default);
public RestServiceResult<System.Collections.Generic.IEnumerable<string>> GetTermsAndConditions(string solutionKey);
| Parameter | Type | Description | Rules |
|---|---|---|---|
solutionKey |
string |
The solution key. | Required. |
| Return Type | Description |
|---|---|
System.Collections.Generic.IEnumerable<string> |
The solution terms and conditions. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
ValidateVoucherAsync()Validates a voucher.
DefaultScopepublic async Task<RestServiceResult> ValidateVoucherAsync(Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidateVoucherRequest request, CancellationToken cancellationToken = default);
public RestServiceResult ValidateVoucher(Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidateVoucherRequest request);
| Parameter | Type | Description | Rules |
|---|---|---|---|
request |
Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidateVoucherRequest |
The request. | Required. |
| Return Type | Description |
|---|---|
| None | The operation has no return value. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
StaticDataClientControllerProvides operations on static data.
Primavera.Lithium.AccountManagement.Client.RestStaticDataClientControllerBase (IStaticDataClientController)GetBusinessPartnersAsync()Retrieves a list of business partners.
DefaultScopepublic async Task<RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.BusinessPartnerData>>> GetBusinessPartnersAsync(string? country, string? district, int pageIndex, int pageSize, CancellationToken cancellationToken = default);
public RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.BusinessPartnerData>> GetBusinessPartners(string? country, string? district, int pageIndex, int pageSize);
| Parameter | Type | Description | Rules |
|---|---|---|---|
country |
string? |
The country. | Required. |
district |
string? |
The district. | Required. |
pageIndex |
int |
The page index. | Required. |
pageSize |
int |
The page size. | Required. |
| Return Type | Description |
|---|---|
System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.BusinessPartnerData> |
The business partners information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetCountriesAsync()Retrieves a list of countries.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.CountryData>> GetCountriesAsync(string culture, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.CountryData> GetCountries(string culture);
| Parameter | Type | Description | Rules |
|---|---|---|---|
culture |
string |
The culture. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.CountryData |
The countries information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetCurrencyAsync()Retrieves the currency for a country.
DefaultScopepublic async Task<RestServiceResult<string>> GetCurrencyAsync(string country, CancellationToken cancellationToken = default);
public RestServiceResult<string> GetCurrency(string country);
| Parameter | Type | Description | Rules |
|---|---|---|---|
country |
string |
The country. | Required. |
| Return Type | Description |
|---|---|
string |
The currency information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetDistrictsAsync()Retrieves a list of districts.
DefaultScopepublic async Task<RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.DistrictData>>> GetDistrictsAsync(string country, CancellationToken cancellationToken = default);
public RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.DistrictData>> GetDistricts(string country);
| Parameter | Type | Description | Rules |
|---|---|---|---|
country |
string |
The country. | Required. |
| Return Type | Description |
|---|---|
System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.DistrictData> |
The discricts information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
GetVatRatesAsync()Retrieves a list of VAT rates.
DefaultScopepublic async Task<RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.VatRateData>>> GetVatRatesAsync(string countryKey, string paymentCountry, CancellationToken cancellationToken = default);
public RestServiceResult<System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.VatRateData>> GetVatRates(string countryKey, string paymentCountry);
| Parameter | Type | Description | Rules |
|---|---|---|---|
countryKey |
string |
The country key. | Required. |
paymentCountry |
string |
The payment country. | Required. |
| Return Type | Description |
|---|---|
System.Collections.Generic.IEnumerable<Primavera.Lithium.AccountManagement.Client.Rest.Models.VatRateData> |
The VAT rates information. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
ValidationsClientControllerProvides operations on validations.
Primavera.Lithium.AccountManagement.Client.RestValidationsClientControllerBase (IValidationsClientController)ValidatePostalCodeAsync()Validates a postal code.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse>> ValidatePostalCodeAsync(string countryKey, string postalCode, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse> ValidatePostalCode(string countryKey, string postalCode);
| Parameter | Type | Description | Rules |
|---|---|---|---|
countryKey |
string |
The country key. | Required. |
postalCode |
string |
The postal code. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse |
Whether the postal code is valid. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
ValidateVatNumberAsync()Validates a tax number.
DefaultScopepublic async Task<RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse>> ValidateVatNumberAsync(string countryKey, string vatNumber, bool includeContextInfo = false, CancellationToken cancellationToken = default);
public RestServiceResult<Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse> ValidateVatNumber(string countryKey, string vatNumber, bool includeContextInfo = false);
| Parameter | Type | Description | Rules |
|---|---|---|---|
countryKey |
string |
The country key. | Required. MinLen(2). MaxLen(2). |
vatNumber |
string |
The vat number. | Required. |
includeContextInfo |
bool |
The include context info. | Required. |
| Return Type | Description |
|---|---|
Primavera.Lithium.AccountManagement.Client.Rest.Models.ValidationResponse |
Whether the tax number is valid. |
| Status Code | Description |
|---|---|
HttpStatusCode.Ok |
Success. |
HttpStatusCode.BadRequest |
Failure: the request is invalid. |
HttpStatusCode.NotFound |
Failure: not found. |
HttpStatusCode.Conflict |
Failure: conflict. |
The operation will raise
RestRequestExceptionfor any failure status code. The exception may include a body with an instance ofRestProblemDetailsdepending on the status code.
AccountDataDescribes an account.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAccountDataBaseThe model has no properties.
AddItemDescribes an add item.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAddItemBase| Property | Type | Description | Rules |
|---|---|---|---|
ItemKey |
string |
Gets or sets the item key. | Required. |
Quantity |
int |
Gets or sets the quantity. | Required. |
VoucherCode |
string? |
Gets or sets the voucher code. |
AdditionalItemDataDescribes an additional item.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAdditionalItemDataBaseThe model has no properties.
AMSPaymentDataDescribes an AMS payment.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAMSPaymentDataBaseThe model has no properties.
AMSUnitPriceDataDescribes an AMS unit price.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAMSUnitPriceDataBaseThe model has no properties.
AvailableSolutionDataDescribes an available solution.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAvailableSolutionDataBaseThe model has no properties.
AvailableSolutionPeriodDescribes an available solution period.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsAvailableSolutionPeriodBaseThe model has no properties.
BusinessPartnerContactDataDescribes a business partner contact.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsBusinessPartnerContactDataBaseThe model has no properties.
BusinessPartnerDataDescribes a business partner.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsBusinessPartnerDataBaseThe model has no properties.
BusinessPartnersDataDescribes a business partners.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsBusinessPartnersDataBase| Property | Type | Description | Rules |
|---|---|---|---|
IsBlocked |
bool |
Gets or sets the is blocked value. | Required. |
IsVisible |
bool |
Gets or sets the is visible value. | Required. |
Partners |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.BusinessPartnerData> |
Gets or sets the partners. | Required. |
BusinessPartnerTypeDataDescribes a business partner type.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsBusinessPartnerTypeDataBaseThe model has no properties.
ChangeSubscriptionSolutionRequestDescribes a change subscription solution request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsChangeSubscriptionSolutionRequestBaseThe model has no properties.
CountriesConfigurationDescribes a countries configuration.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsCountriesConfigurationBase| Property | Type | Description | Rules |
|---|---|---|---|
CountryKey |
string |
Gets or sets the country key. | Required. |
TermsAndConditions |
System.Collections.Generic.IDictionary<string, string> |
Gets or sets the terms and conditions. | Required. Not empty. |
CountryDataDescribes a country.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsCountryDataBaseThe model has no properties.
CreateSubscriptionRequestDescribes a create subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsCreateSubscriptionRequestBaseThe model has no properties.
CultureDataDescribes a culture.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsCultureDataBaseThe model has no properties.
DistrictDataDescribes a district.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsDistrictDataBase| Property | Type | Description | Rules |
|---|---|---|---|
Name |
string? |
Gets or sets the name. | |
Country |
string? |
Gets or sets the country. | |
IsDefault |
bool |
Gets or sets the is default value. | Required. |
DistrictsDataDescribes a districts.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsDistrictsDataBase| Property | Type | Description | Rules |
|---|---|---|---|
IsBlocked |
bool |
Gets or sets the is blocked value. | Required. |
IsVisible |
bool |
Gets or sets the is visible value. | Required. |
Districts |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.DistrictData> |
Gets or sets the districts. | Required. |
GetItemPriceRequestDescribes a get item price request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetItemPriceRequestBase| Property | Type | Description | Rules |
|---|---|---|---|
ItemKey |
string |
Gets or sets the item key. | Required. |
VoucherCode |
string? |
Gets or sets the voucher code. | |
Quantity |
int |
Gets or sets the quantity. | Required. |
GetItemsPriceRequestDescribes a get items price request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetItemsPriceRequestBase| Property | Type | Description | Rules |
|---|---|---|---|
Items |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.GetItemPriceRequest>? |
Gets or sets the items. | |
Voucher |
string? |
Gets or sets the voucher. |
GetSubscriptionByKeyResponseDescribes a get subscription by key response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetSubscriptionByKeyResponseBaseThe model has no properties.
GetSubscriptionItemsRequestDescribes a get subscription items request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetSubscriptionItemsRequestBaseThe model has no properties.
GetSubscriptionItemsResponseDescribes a get subscription items response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetSubscriptionItemsResponseBaseThe model has no properties.
GetSubscriptionPendingPaymentsRequestDescribes a get subscription pending payments request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetSubscriptionPendingPaymentsRequestBaseThe model has no properties.
GetSubscriptionRequestDescribes a get subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsGetSubscriptionRequestBaseThe model has no properties.
IncludedItemDataDescribes an included item.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsIncludedItemDataBaseThe model has no properties.
ItemPriceDescribes an item price.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsItemPriceBase| Property | Type | Description | Rules |
|---|---|---|---|
ItemKey |
string |
Gets or sets the item key. | Required. |
Price |
double |
Gets or sets the price. | Required. |
ItemsPriceResponseDescribes an items price response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsItemsPriceResponseBase| Property | Type | Description | Rules |
|---|---|---|---|
Total |
double |
Gets or sets the total. | Required. |
Items |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.ItemPrice> |
Gets or sets the items. | Required. |
MessageComponentConfigurationDescribes a message component configuration.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsMessageComponentConfigurationBase| Property | Type | Description | Rules |
|---|---|---|---|
Locale |
string |
Gets or sets the locale. | Required. |
Title |
string |
Gets or sets the title. | Required. |
Description |
string |
Gets or sets the description. | Required. |
IconUrl |
string |
Gets or sets the icon URL. | Required. |
IconMessage |
string |
Gets or sets the icon message. | Required. |
LinkUrl |
string |
Gets or sets the link URL. | Required. |
LinkText |
string |
Gets or sets the link text. | Required. |
NewSubscriptionFromTicketRequestDescribes a new subscription from ticket request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsNewSubscriptionFromTicketRequestBaseThe model has no properties.
OperationDataDescribes an operation.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsOperationDataBaseThe model has no properties.
PreviewSubscriptionRenewalResponseDescribes a preview subscription renewal response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsPreviewSubscriptionRenewalResponseBaseThe model has no properties.
PreviewSubscriptionSolutionChangePeriodDescribes a preview subscription solution change period.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsPreviewSubscriptionSolutionChangePeriodBaseThe model has no properties.
PreviewSubscriptionSolutionChangeRequestDescribes a preview subscription solution change request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsPreviewSubscriptionSolutionChangeRequestBaseThe model has no properties.
PreviewSubscriptionSolutionChangeResponseDescribes a preview subscription solution change response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsPreviewSubscriptionSolutionChangeResponseBase| Property | Type | Description | Rules |
|---|---|---|---|
Title |
string |
Gets or sets the title. | Required. |
CurrencySymbol |
string |
Gets or sets the currency symbol. | Required. |
Periods |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.PreviewSubscriptionSolutionChangePeriod> |
Gets or sets the periods. | Required. |
ProductSettingsDescribes a product settings.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsProductSettingsBase| Property | Type | Description | Rules |
|---|---|---|---|
UseApps |
bool |
A value indicating whether the product uses APPS. | Required. |
ProductName |
string |
Gets or sets the product name. | Required. RegEx (^(\d|[a-z]|[A-Z]|\.|-|_)*$). |
ProductCaption |
string |
Gets or sets the product caption. | Required. |
ProductBaseUri |
System.Uri |
Gets or sets the product base URI. | Required. Absolute URI. |
RedirectUri |
string |
Gets or sets the redirect URI. | Required. |
ModuleValidationBaseUri |
string |
Gets or sets the module validation base URI. | Required. |
ValidateSubscriptionItemAdditionUri |
string |
Gets or sets the validate subscription item addition URI. | Required. |
ValidateSubscriptionItemRemovalUri |
string |
Gets or sets the validate subscription item removal URI. | Required. |
Logo |
System.Uri |
Gets or sets the logo. | Required. Absolute URI. |
Background |
System.Uri |
Gets or sets the background. | Required. Absolute URI. |
NoSubscriptionRedirectUri |
System.Uri |
Gets or sets the no subscription redirect URI. | Required. Absolute URI. |
PartnerInfoIsVisible |
bool |
A value indicating whether the partner information should be visible. | Required. |
AllowSolutionUpgrade |
bool |
A value indicating whether the product allows solution upgrade. | Required. |
AllowSolutionDowngrade |
bool |
A value indicating whether the product allows solution downgrade. | Required. |
AllowItemsPurchases |
bool |
A value indicating whether the product allows items purchase. | Required. |
AllowItemsRemoval |
bool |
A value indicating whether the product allows items removal. | Required. |
AllowProductValidation |
bool |
A value indicating whether the product should handle validation. | Required. |
CountriesConfiguration |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.CountriesConfiguration> |
Gets or sets the countries configuration. | Required. |
MessageComponentConfiguration |
System.Collections.Generic.IList<Primavera.Lithium.AccountManagement.Client.Rest.Models.MessageComponentConfiguration> |
Gets or sets the message component configuration. | Required. |
RemoveItemsRequestDescribes a remove items request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsRemoveItemsRequestBaseThe model has no properties.
RenewSubscriptionRequestDescribes a renew subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsRenewSubscriptionRequestBaseThe model has no properties.
RenewSubscriptionResponseDescribes a renew subscription response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsRenewSubscriptionResponseBaseThe model has no properties.
SettingsDataDescribes a settings.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSettingsDataBaseThe model has no properties.
SolutionDataDescribes a solution.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSolutionDataBaseThe model has no properties.
SolutionParameterDataDescribes a solution parameter.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSolutionParameterDataBaseThe model has no properties.
SubscriptionBasicDataDescribes a subscription basic.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSubscriptionBasicDataBaseThe model has no properties.
SubscriptionDataDescribes a subscription.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSubscriptionDataBase| Property | Type | Description | Rules |
|---|---|---|---|
SubscriptionKey |
string |
Gets or sets the subscription key. | Required. |
SubscriptionAlias |
string |
Gets or sets the subscription alias. | Required. |
SubscriptionDescription |
string |
Gets or sets the subscription description. | Required. |
SubscriptionStateId |
System.Guid |
Gets or sets the subscription state identifier. | Required. Not empty. |
SubscriptionStateKey |
string |
Gets or sets the subscription state key. | Required. |
SubscriptionStateDescription |
string |
Gets or sets the subscription state description. | Required. |
IsAvailable |
bool |
Gets or sets a value indicating whether is available. | Required. |
CountryKey |
string |
Gets or sets the country key. | Required. |
CountryDescription |
string |
Gets or sets the country description. | Required. |
StartDate |
System.DateTime |
Gets or sets the start date. | Required. |
EndDate |
System.DateTime |
Gets or sets the end date. | Required. |
SolutionKey |
string |
Gets or sets the solution key. | Required. |
SolutionDescription |
string |
Gets or sets the solution description. | Required. |
SolutionDetailedDescription |
string |
Gets or sets the solution detailed description. | Required. |
SolutionLogo |
string |
Gets or sets the solution logo. | Required. |
SolutionLogoThumbnail |
string |
Gets or sets the solution logo thumbnail. | Required. |
SubscriptionPeriodKey |
string |
Gets or sets the subscription period key. | Required. |
Total |
decimal |
Gets or sets the total. | Required. |
CurrencyKey |
string |
Gets or sets the currency key. | Required. |
CurrencyDescription |
string |
Gets or sets the currency description. | Required. |
CurrencySymbol |
string |
Gets or sets the currency symbol. | Required. |
HasUpgrades |
bool |
Gets or sets a value indicating whether has upgrades. | Required. |
LegacySubscriptionDate |
System.DateTime |
Gets or sets the legacy subscription date. | Required. |
OwnerSubscriptionId |
System.Guid |
Gets or sets the owner subscription identifier. | Required. Not empty. |
OwnerSubscriptionKey |
string |
Gets or sets the owner subscription key. | Required. |
CanRenewToSolution |
string |
Gets or sets the can renew to solution. | Required. |
Description |
string |
Gets or sets the description. | Required. |
Alias |
string |
Gets or sets the alias. | Required. |
StateDescription |
string |
Gets or sets the state description. | Required. |
AccountId |
string |
Gets or sets the account identifier. | Required. |
AccountKey |
string |
Gets or sets the account key. | Required. |
State |
int |
Gets or sets the state. | Required. |
SolutionId |
System.Guid |
Gets or sets the solution identifier. | Required. Not empty. |
Solution |
string |
Gets or sets the solution. | Required. |
Country |
string |
Gets or sets the country. | Required. |
Id |
System.Guid |
Gets or sets the identifier. | Required. Not empty. |
IsActive |
bool |
Gets or sets a value indicating whether subscription is active. | Required. |
InRenewalPeriod |
bool |
Gets or sets a value indicating whether is the subscription in the renew period. | Required. |
GrossValue |
decimal |
Gets or sets the gross value. | Required. |
Discount |
decimal |
Gets or sets the discount. | Required. |
ReversalValue |
decimal |
Gets or sets the reversal value. | Required. |
PartnerId |
string |
Gets or sets the partner identifier. | Required. |
PartnerName |
string |
Gets or sets the partner name. | Required. |
ExchangeRate |
decimal |
Gets or sets the exchange rate. | Required. |
ExchangeRateDate |
System.DateTime |
Gets or sets the exchange rate date. | Required. |
Amount |
decimal |
Gets or sets the amount. | Required. |
Status |
string |
Gets or sets the status. | Required. |
CompanyName |
string |
Gets or sets the company name. | Required. |
Currency |
string |
Gets or sets the currency. | Required. |
CanRenew |
bool |
Gets or sets a value indicating whether is possible to renew this subscription. | Required. |
RequestUserIsManager |
bool |
Gets or sets a value indicating whether [request user is manager]. | Required. |
SubscriptionManagerDataDescribes a subscription manager.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSubscriptionManagerDataBaseThe model has no properties.
SubscriptionStateDataDescribes a subscription state.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSubscriptionStateDataBaseThe model has no properties.
SubscriptionTicketDataDescribes a subscription ticket.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsSubscriptionTicketDataBaseThe model has no properties.
UpdateSubscriptionAccountRequestDescribes an update subscription account request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsUpdateSubscriptionAccountRequestBaseThe model has no properties.
UpdateSubscriptionTicketUserEmailRequestDescribes an update subscription ticket user email request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsUpdateSubscriptionTicketUserEmailRequestBaseThe model has no properties.
UpdateSubscriptionTicketUserIdRequestDescribes an update subscription ticket user identifier request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsUpdateSubscriptionTicketUserIdRequestBaseThe model has no properties.
UpdateSubscriptionTicketUserNameRequestDescribes an update subscription ticket user name request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsUpdateSubscriptionTicketUserNameRequestBaseThe model has no properties.
UpdateSubscriptionTicketUserRequestDescribes an update subscription ticket user request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsUpdateSubscriptionTicketUserRequestBaseThe model has no properties.
ValidateVoucherRequestDescribes a validate voucher request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsValidateVoucherRequestBaseThe model has no properties.
ValidationResponseDescribes a validation response.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsValidationResponseBase| Property | Type | Description | Rules |
|---|---|---|---|
Result |
bool |
Gets or sets the result value. | Required. |
Message |
string? |
Gets or sets the message. |
ValidationSubscriptionRequestDescribes a validation subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsValidationSubscriptionRequestBase| Property | Type | Description | Rules |
|---|---|---|---|
AccountKey |
string |
Gets or sets the account key. | Required. |
SubscriptionKey |
string |
Gets or sets the subscription key. | Required. |
ItemKey |
string |
Gets or sets the item key. | Required. |
OldQuantity |
int |
Gets or sets the old quantity. | Required. |
NewQuantity |
int |
Gets or sets the new quantity. | Required. |
VatNumberLookupInfoDescribes a vat number lookup.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsVatNumberLookupInfoBase| Property | Type | Description | Rules |
|---|---|---|---|
CountryCode |
string |
Gets or sets the country code. | Required. |
VatNumber |
string |
Gets or sets the vat number. | Required. |
IsValid |
bool |
Gets or sets the is valid value. | Required. |
Name |
string? |
Gets or sets the name. | |
Address |
string? |
Gets or sets the address. | |
StreetName |
string? |
Gets or sets the street name. | |
StreetNumber |
string? |
Gets or sets the street number. | |
PostalCode |
string? |
Gets or sets the postal code. | |
PostalTown |
string? |
Gets or sets the postal town. | |
City |
string? |
Gets or sets the city. | |
Country |
string? |
Gets or sets the country. | |
Email |
string? |
Gets or sets the email. | |
Phone |
string? |
Gets or sets the phone. |
VatRateDataDescribes a vat rate.
Primavera.Lithium.AccountManagement.Client.Rest.ModelsVatRateDataBase| Property | Type | Description | Rules |
|---|---|---|---|
Country |
string |
Gets or sets the country. | Required. |
TaxCode |
string |
Gets or sets the tax code. | Required. |
Description |
string |
Gets or sets the description. | Required. |
DetailedDescription |
string |
Gets or sets the detailed description. | Required. |
Type |
int |
Gets or sets the type. | Required. |
PartitionKey |
string |
Gets or sets the partition key. | Required. |
RowKey |
string |
Gets or sets the row key. | Required. |
IsDefault |
bool |
Gets or sets the is default value. | Required. |