Represents the Current or Historical WalletAsset for a WalletGroup
Overview of WalletAssetInfo goes here.
Item -> WalletAssetInfo
Field | Type | Inherited from | Description |
---|---|---|---|
Href | String | Item | Gets or sets the href. |
AlertIcon | String | WalletAssetInfo | Gets or sets the AlertIcon. |
AssetId | Nullable<Int32> | WalletAssetInfo | Gets or sets the Asset Id. |
BackgroundColor | String | WalletAssetInfo | Gets or sets the BackgroundColor. |
CardBackground | String | WalletAssetInfo | Gets or sets the CardBackground. |
CardLogo | String | WalletAssetInfo | Gets or sets the CardLogo. |
Key | String | WalletAssetInfo | Gets or sets the key. |
TextColor | String | WalletAssetInfo | Gets or sets the TextColor. |
WalletType | WalletAssetType | WalletAssetInfo | Gets or sets the WalletType. |
{
"Href" : "String",
"AlertIcon" : "String",
"AssetId" : "Nullable\<Int32\>",
"BackgroundColor" : "String",
"CardBackground" : "String",
"CardLogo" : "String",
"Key" : "String",
"TextColor" : "String",
"WalletType" : "[WalletAssetType](/object-model/walletassettype)"
}
Example in C#
// Returns: WalletAssetInfo
var walletAssetInfo = await client.AddWalletAssetAsync(WalletGroupInfo walletGroup, WalletAssetInfo walletAsset);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroup/WALLETGROUP.KEY/assets \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.DeleteWalletAssetAsync(WalletAssetInfo walletAsset);
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroup/WALLETGROUP.KEY/assets \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: IEnumerable<WalletAssetInfo>
var walletAssetInfo = await client.GetWalletAssetsForWalletGroupAsync(WalletGroupInfo walletGroup);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroup/WALLETGROUP.KEY/assets \
-H 'Authorization: Bearer TOKEN_GOES_HERE'