Asset¶
An Asset resource represents an asset.
Resource definition¶
{
"InvoiceProfile": null,
"Id": 999,
"Status": 3,
"ExternalOrderId": "ExternalOrderId",
"Quantity": 5,
"ExternalProductId": "ExternalProductId",
"ExternalSkuId": "1111",
"Name": "NameOfAsset",
"StartDate": "2023-06-10T08:20:30.123",
"ExpirationDate": "2025-06-10T08:20:30.123",
"ResellerCustomerId": 111,
"Scope": 3,
"AssetType": 1,
"BillingCycle": 4,
"PublisherId": 2,
"ProgramId": 1,
"ReservationId": null,
"ReservationUsedInSubscriptionId": null,
"ReservationUsedInSubscription": null,
"PurchaseCurrency": null,
"PurchasePrice": 1200.00,
"SalesCurrency": "USD",
"SalesPrice": 1500.00,
"CreatedDate": "2018-11-28T15:30:24.357",
"ModifiedDate": "2018-11-28T15:30:24.357",
"ChangedBy": "Username",
"ReservedInstanceArtifactResourceId": null,
"PurchaseDate": null,
"Tags": null,
"AutoRenewEnabled": null,
"ProductVariantId": null
}
Name |
Type |
Description |
---|---|---|
InvoiceProfile |
ObjectReference |
Invoice profile associated with the asset (if any). |
Id |
int |
Unique identifier for the asset. |
Status |
int |
None = 0,Fulfilling = 1, Succeeded = 2, Cancelled = 4, Expired = 8, All = Fulfilling|Succeeded|Cancelled|Expired |
ExternalOrderId |
string |
External order identifier related to the asset. |
Quantity |
int |
Number of units in the asset. |
ExternalProductId |
string |
External product unique identifier. |
ExternalSkuId |
string |
SKU identifier of the external product. |
Name |
string |
Name of the asset (e.g., software license). |
StartDate |
DateTime |
Start date of the asset’s validity. |
ExpirationDate |
DateTime? |
Expiration date of the asset. |
ResellerCustomerId |
int |
Identifier of the reseller’s customer. |
Scope |
int |
Shared = 1, Single = 2, ManagementGroups = 3 |
AssetType |
int |
Reservation = 1, Software = 2, Subscription = 3 |
BillingCycle |
int |
Unknown = 0, Monthly = 1, Annual = 2, None = 3, OneTime = 4, Triennial = 5, Biennial = 6 |
PublisherId |
int |
Identifier of the publisher. |
ProgramId |
int |
Identifier of the program associated with the asset. |
ReservationId |
string |
Reservation ID if applicable. |
ReservationUsedInSubscriptionId |
int? |
Subscription ID where the reservation is used. |
ReservationUsedInSubscription |
SubscriptionLite |
Details of the subscription where the reservation is used. |
PurchaseCurrency |
string |
Currency used for the purchase. |
PurchasePrice |
decimal |
Purchase price of the asset. |
SalesCurrency |
string |
Currency used for sales. |
SalesPrice |
decimal |
Selling price of the asset. |
CreatedDate |
DateTime |
Date when the asset was created. |
ModifiedDate |
DateTime |
Last modification date of the asset. |
ChangedBy |
string |
Information about who modified the asset. |
ReservedInstanceArtifactResourceId |
string |
Reserved instance resource ID. |
PurchaseDate |
DateTime? |
Date of purchase. |
Tags |
AssetTags |
Additional tags associated with the asset. |
AutoRenewEnabled |
bool? |
Indicates if auto-renewal is enabled. |
ProductVariantId |
int? |
Variant ID of the product. |