WalletGroupRequest

Represents a request to create or update a wallet group with associated assets

Overview of WalletGroupRequest goes here.

WalletGroupRequest Properties

WalletGroupRequest

Field Type Inherited from Description
AndroidPackageId String WalletGroupRequest Gets or sets the Android package identifier for the mobile app (default: com.feenics.keepcards)
GroupName String WalletGroupRequest Gets or sets the name for the new wallet group
ReaderId String WalletGroupRequest Gets or sets the reader identifier for credential validation
WalletAssets List<WalletGroupAssetsRequest> WalletGroupRequest Gets or sets the list of wallet assets to associate with this group

JSON Structure of WalletGroupRequest

{
   "AndroidPackageId"	:	"String",
   "GroupName"	:	"String",
   "ReaderId"	:	"String",
   "WalletAssets"	:	"List\<[WalletGroupAssetsRequest](/object-model/walletgroupassetsrequest)\>"
}

Add Wallet Group Async

Example in C#

// Returns: WalletGroupInfo
var walletGroupInfo = await client.AddWalletGroupAsync(FolderInfo folder, WalletGroupInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroups \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.WalletGroupInfo, Feenics.Keep.WebApi.Model",
                       "GroupId":null,
                       "DeviceCAKey":null,
                       "ExternalReaderId":"",
                       "AndroidPackageId":null,
                       "WalletAssets":[],
                       "Key":null,
                       "CommonName":"WalletGroupFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'
            

Delete Wallet Group Async

Example in C#

// Returns: nothing
await client.DeleteWalletGroupAsync(WalletGroupInfo item);

Example in CURL



           curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroup/WALLETGROUP.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Get Wallet Group Async

Example in C#

// Returns: WalletGroupInfo
var walletGroupInfo = await client.GetWalletGroupAsync(FolderInfo folder, String walletGroupKey);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroups/WALLETGROUP.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Get Wallet Groups Async

Example in C#

// Returns: IEnumerable<WalletGroupInfo>
var walletGroupInfo = await client.GetWalletGroupsAsync(FolderInfo folder);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroups \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Update Wallet Group Async

Example in C#

// Returns: nothing
await client.UpdateWalletGroupAsync(WalletGroupInfo item);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/walletgroups/WALLETGROUP.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.WalletGroupInfo, Feenics.Keep.WebApi.Model",
                       "GroupId":null,
                       "DeviceCAKey":null,
                       "ExternalReaderId":"",
                       "AndroidPackageId":null,
                       "WalletAssets":[],
                       "Key":null,
                       "CommonName":"WalletGroupFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":
                       [
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"Meta",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"meta",
                                   "Text":"Metadata"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"Monikers",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"monikers",
                                   "Text":"Monikers"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"CommonName",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"commonname",
                                   "Text":"Common Name"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"Images",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"images","Text":"Images"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model","Relation":"TakeOwnership",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"takeownership",
                                   "Text":"Take Ownership"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"Connections",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"connections",
                                   "Text":"Connected Objects"
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",    
                               "Relation":"References",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"references",
                                   "Text":"Referencing Objects"
                               }
                           },
                           {   
                               "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                               "Relation":"Notes",
                               "Anchor":
                               {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"notes",
                                   "Text":"Notes"
                               }
                           }
                       ],
                       "ObjectLinks":
                       [
                           {
                               "$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebApi.Model",
                               "Href":null,
                               "LinkedObjectKey":"INSTANCE.KEY",
                               "CommonName":"INSTANCE_NAME",
                               "Relation":"InInstance",
                               "MetaDataBson":
                               {
                                   "$type":"System.Byte[], mscorlib",
                                   "$value":""
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebApi.Model",
                               "Href":null,
                               "LinkedObjectKey":"INSTANCE.KEY",
                               "CommonName":"INSTANCE_NAME",
                               "Relation":"InstanceScope",
                               "MetaDataBson":
                               {
                                   "$type":"System.Byte[], mscorlib",
                                   "$value":""
                               }
                           }
                       ],
                       "Metadata":[],
                       "Notes":[],
                       "Tags":[],
                       "Monikers":[],
                       "Href":"/api/f/INSTANCE.KEY/walletgroups/WALLETGROUP.KEY"
                   }'