Get-VPASApplicationDetails


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET SPECIFIC APPLICATION DETAILS


Description:

USE THIS FUNCTION TO GET SPECIFIED APPLICATION ID DETAILS


Syntax:

Get-VPASApplicationDetails -AppID <String> [-token <Hashtable>] [<CommonParameters>]

Get-VPASApplicationDetails -InputParameters <Hashtable> [-token <Hashtable>] [<CommonParameters>]


Parameters:

-AppID <String>
Unique ApplicationID (or Application Name) that will be used by the credential provider(s) to retrieve credentials

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-InputParameters <Hashtable>
HashTable of values containing the parameters required to make the API call

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug
ErrorAction, ErrorVariable, WarningAction, WarningVariable
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$ApplicationDetailsJSON = Get-VPASApplicationDetails -AppID {APPID VALUE}

$InputParameters = @{
        AppID = "TargetApplicationID"
}
$ApplicationDetailsJSON = Get-VPASApplicationDetails -InputParameters $InputParameters


Outputs:

If successful:
{
         "application": {
                 "AccessPermittedFrom": 0,
                 "AccessPermittedTo": 24,
                 "AllowExtendedAuthenticationRestrictions": false,
                 "AppID": "VpasModuleAppIDTest",
                 "BusinessOwnerEmail": "vadim.melamed@vman.com",
                 "BusinessOwnerFName": "vadim",
                 "BusinessOwnerLName": "melamed",
                 "BusinessOwnerPhone": "",
                 "Description": "Testing appID with text auditing",
                 "Disabled": false,
                 "ExpirationDate": null,
                 "Location": "\\"
         }
}

$false if failed