Reference Guide
...
Managing Application-to-Applic...
Requesting Passwords from AAPM
1 min
the single connect aapm restful api should be used to request passwords each aapm account must authenticate itself using its token, revealed after the account creation aapm account tokens can also be displayed on the aapm management page restful api parameters used for aapm password checkout token the aapm account token passwordexpirationinminute password expiration time possible values are taken from the β aapm show\ password expiration time values β property in the system config man screen if it is not defined, the possible values are taken from the β sapm show\ password expiration time value sβ property the default value is β 5m,30m,2h,24h β options are separated with commas (β,β), βmβ stands for minutes, and βhβ stands for hours comment the password request comment passwordchangerequired optional parameter with the default value set as false if true , the password is changed before retrieval, otherwise the password is changed after retrieval sapmaccountpath the sapm account path of the linked sapm account sapmaccountname the sapm account name of the linked sapm account responsetype by default, it is the default response type (plain text for dynamic accounts) this value can also be set as βjsonβ to receive the responses in json pin the pin code sent to the application for pin authentication aapm restful api request example the first request http //single connect url 8080 /sc aapm ui/rest/aapm/password?passwordexpirationinminute=30\&comment=comment\&token=c5838228 61ec 4b47 b72d af0321db24b7\&sapmaccountpath=/test\&sapmaccountname=test\&responsetype=json the second request (which is applicable for all security levels that require pin authentication) http //single connect url 8080/sc aapm ui/rest/aapm/password?passwordexpirationinminute=30\&comment=comment\&token=c5838228 61ec 4b47 b72d af0321db24b7\&sapmaccountpath=/test\&sapmaccountname=test\&responsetype=json\&pin=123456 aapm restful api response example x5#okle5 (the password)