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 |
AccountManagementClient
Primavera.Lithium.AccountManagement.Client.Rest
AccountManagementClientBase
(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);
}));
AccountsClientController
Provides operations on accounts.
Primavera.Lithium.AccountManagement.Client.Rest
AccountsClientControllerBase
(IAccountsClientController
)GetAccountInfoAsync()
Retrieves an account information.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
UpdateSubscriptionAccountAsync()
Updates a subscription account.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
ValidateCompanyInfoAsync()
Validates if the company info does not violates any business rule.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
ItemsClientController
Provides operations on items.
Primavera.Lithium.AccountManagement.Client.Rest
ItemsClientControllerBase
(IItemsClientController
)GetItemAsync()
Gets additional item by key.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
SettingsClientController
Provides operations on settings.
Primavera.Lithium.AccountManagement.Client.Rest
SettingsClientControllerBase
(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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
SaveSettingsAsync()
Save settings for a product.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
SolutionsClientController
Provides operations on solutions.
Primavera.Lithium.AccountManagement.Client.Rest
SolutionsClientControllerBase
(ISolutionsClientController
)GetProductSolutionsAsync()
Retrieves the solutions available for the specified product.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetSolutionAsync()
Retrieves a solution.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetTermsAndConditionsAsync()
Retrieves the terms and conditions for the specified solution.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
ValidateVoucherAsync()
Validates a voucher.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
StaticDataClientController
Provides operations on static data.
Primavera.Lithium.AccountManagement.Client.Rest
StaticDataClientControllerBase
(IStaticDataClientController
)GetBusinessPartnersAsync()
Retrieves a list of business partners.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetCountriesAsync()
Retrieves a list of countries.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetCurrencyAsync()
Retrieves the currency for a country.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetDistrictsAsync()
Retrieves a list of districts.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
GetVatRatesAsync()
Retrieves a list of VAT rates.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
ValidationsClientController
Provides operations on validations.
Primavera.Lithium.AccountManagement.Client.Rest
ValidationsClientControllerBase
(IValidationsClientController
)ValidatePostalCodeAsync()
Validates a postal code.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
ValidateVatNumberAsync()
Validates a tax number.
DefaultScope
public 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
RestRequestException
for any failure status code. The exception may include a body with an instance ofRestProblemDetails
depending on the status code.
AccountData
Describes an account.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AccountDataBase
The model has no properties.
AddItem
Describes an add item.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AddItemBase
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. |
AdditionalItemData
Describes an additional item.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AdditionalItemDataBase
The model has no properties.
AMSPaymentData
Describes an AMS payment.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AMSPaymentDataBase
The model has no properties.
AMSUnitPriceData
Describes an AMS unit price.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AMSUnitPriceDataBase
The model has no properties.
AvailableSolutionData
Describes an available solution.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AvailableSolutionDataBase
The model has no properties.
AvailableSolutionPeriod
Describes an available solution period.
Primavera.Lithium.AccountManagement.Client.Rest.Models
AvailableSolutionPeriodBase
The model has no properties.
BusinessPartnerContactData
Describes a business partner contact.
Primavera.Lithium.AccountManagement.Client.Rest.Models
BusinessPartnerContactDataBase
The model has no properties.
BusinessPartnerData
Describes a business partner.
Primavera.Lithium.AccountManagement.Client.Rest.Models
BusinessPartnerDataBase
The model has no properties.
BusinessPartnersData
Describes a business partners.
Primavera.Lithium.AccountManagement.Client.Rest.Models
BusinessPartnersDataBase
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. |
BusinessPartnerTypeData
Describes a business partner type.
Primavera.Lithium.AccountManagement.Client.Rest.Models
BusinessPartnerTypeDataBase
The model has no properties.
ChangeSubscriptionSolutionRequest
Describes a change subscription solution request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ChangeSubscriptionSolutionRequestBase
The model has no properties.
CountriesConfiguration
Describes a countries configuration.
Primavera.Lithium.AccountManagement.Client.Rest.Models
CountriesConfigurationBase
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. |
CountryData
Describes a country.
Primavera.Lithium.AccountManagement.Client.Rest.Models
CountryDataBase
The model has no properties.
CreateSubscriptionRequest
Describes a create subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
CreateSubscriptionRequestBase
The model has no properties.
CultureData
Describes a culture.
Primavera.Lithium.AccountManagement.Client.Rest.Models
CultureDataBase
The model has no properties.
DistrictData
Describes a district.
Primavera.Lithium.AccountManagement.Client.Rest.Models
DistrictDataBase
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. |
DistrictsData
Describes a districts.
Primavera.Lithium.AccountManagement.Client.Rest.Models
DistrictsDataBase
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. |
GetItemPriceRequest
Describes a get item price request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetItemPriceRequestBase
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. |
GetItemsPriceRequest
Describes a get items price request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetItemsPriceRequestBase
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. |
GetSubscriptionByKeyResponse
Describes a get subscription by key response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetSubscriptionByKeyResponseBase
The model has no properties.
GetSubscriptionItemsRequest
Describes a get subscription items request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetSubscriptionItemsRequestBase
The model has no properties.
GetSubscriptionItemsResponse
Describes a get subscription items response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetSubscriptionItemsResponseBase
The model has no properties.
GetSubscriptionPendingPaymentsRequest
Describes a get subscription pending payments request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetSubscriptionPendingPaymentsRequestBase
The model has no properties.
GetSubscriptionRequest
Describes a get subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
GetSubscriptionRequestBase
The model has no properties.
IncludedItemData
Describes an included item.
Primavera.Lithium.AccountManagement.Client.Rest.Models
IncludedItemDataBase
The model has no properties.
ItemPrice
Describes an item price.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ItemPriceBase
Property | Type | Description | Rules |
---|---|---|---|
ItemKey |
string |
Gets or sets the item key. | Required. |
Price |
double |
Gets or sets the price. | Required. |
ItemsPriceResponse
Describes an items price response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ItemsPriceResponseBase
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. |
MessageComponentConfiguration
Describes a message component configuration.
Primavera.Lithium.AccountManagement.Client.Rest.Models
MessageComponentConfigurationBase
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. |
NewSubscriptionFromTicketRequest
Describes a new subscription from ticket request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
NewSubscriptionFromTicketRequestBase
The model has no properties.
OperationData
Describes an operation.
Primavera.Lithium.AccountManagement.Client.Rest.Models
OperationDataBase
The model has no properties.
PreviewSubscriptionRenewalResponse
Describes a preview subscription renewal response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
PreviewSubscriptionRenewalResponseBase
The model has no properties.
PreviewSubscriptionSolutionChangePeriod
Describes a preview subscription solution change period.
Primavera.Lithium.AccountManagement.Client.Rest.Models
PreviewSubscriptionSolutionChangePeriodBase
The model has no properties.
PreviewSubscriptionSolutionChangeRequest
Describes a preview subscription solution change request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
PreviewSubscriptionSolutionChangeRequestBase
The model has no properties.
PreviewSubscriptionSolutionChangeResponse
Describes a preview subscription solution change response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
PreviewSubscriptionSolutionChangeResponseBase
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. |
ProductSettings
Describes a product settings.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ProductSettingsBase
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. |
RemoveItemsRequest
Describes a remove items request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
RemoveItemsRequestBase
The model has no properties.
RenewSubscriptionRequest
Describes a renew subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
RenewSubscriptionRequestBase
The model has no properties.
RenewSubscriptionResponse
Describes a renew subscription response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
RenewSubscriptionResponseBase
The model has no properties.
SettingsData
Describes a settings.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SettingsDataBase
The model has no properties.
SolutionData
Describes a solution.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SolutionDataBase
The model has no properties.
SolutionParameterData
Describes a solution parameter.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SolutionParameterDataBase
The model has no properties.
SubscriptionBasicData
Describes a subscription basic.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SubscriptionBasicDataBase
The model has no properties.
SubscriptionData
Describes a subscription.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SubscriptionDataBase
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. |
SubscriptionManagerData
Describes a subscription manager.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SubscriptionManagerDataBase
The model has no properties.
SubscriptionStateData
Describes a subscription state.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SubscriptionStateDataBase
The model has no properties.
SubscriptionTicketData
Describes a subscription ticket.
Primavera.Lithium.AccountManagement.Client.Rest.Models
SubscriptionTicketDataBase
The model has no properties.
UpdateSubscriptionAccountRequest
Describes an update subscription account request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
UpdateSubscriptionAccountRequestBase
The model has no properties.
UpdateSubscriptionTicketUserEmailRequest
Describes an update subscription ticket user email request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
UpdateSubscriptionTicketUserEmailRequestBase
The model has no properties.
UpdateSubscriptionTicketUserIdRequest
Describes an update subscription ticket user identifier request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
UpdateSubscriptionTicketUserIdRequestBase
The model has no properties.
UpdateSubscriptionTicketUserNameRequest
Describes an update subscription ticket user name request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
UpdateSubscriptionTicketUserNameRequestBase
The model has no properties.
UpdateSubscriptionTicketUserRequest
Describes an update subscription ticket user request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
UpdateSubscriptionTicketUserRequestBase
The model has no properties.
ValidateVoucherRequest
Describes a validate voucher request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ValidateVoucherRequestBase
The model has no properties.
ValidationResponse
Describes a validation response.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ValidationResponseBase
Property | Type | Description | Rules |
---|---|---|---|
Result |
bool |
Gets or sets the result value. | Required. |
Message |
string? |
Gets or sets the message. |
ValidationSubscriptionRequest
Describes a validation subscription request.
Primavera.Lithium.AccountManagement.Client.Rest.Models
ValidationSubscriptionRequestBase
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. |
VatNumberLookupInfo
Describes a vat number lookup.
Primavera.Lithium.AccountManagement.Client.Rest.Models
VatNumberLookupInfoBase
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. |
VatRateData
Describes a vat rate.
Primavera.Lithium.AccountManagement.Client.Rest.Models
VatRateDataBase
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. |