PAM API Part 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1079

ARCON

PAM API Part 1


PAM API Part 1

Table of Contents
1 Introduction ................................................................................................................................................................................ 16
1.1 Authentication JWT Token Flow...................................................................................................................................... 16
1.1.1 Reference Documents.........................................................................................................................................................16
1.1.2 arconToken - Token Generation By using Refresh Token....................................................................................16
1.1.2.1 Data Types of Request and Response........................................................................................................................ 17
1.1.2.2 Code Blocks for '/arconToken' ..................................................................................................................................... 18
1.2 SIEM ............................................................................................................................................................................................. 20
1.2.1 GetUserLoginAttempt ........................................................................................................................................................20
1.2.1.1 Data Types of Request and Response........................................................................................................................ 22
1.2.1.2 Code Blocks for '/GetUserLoginAttempt'................................................................................................................ 24
1.2.2 GetFailedLoginAttempt......................................................................................................................................................25
1.2.2.1 Data Types of Request and Response........................................................................................................................ 28
1.2.2.2 Code Blocks for '/GetFailedLoginAttempt' ............................................................................................................. 30
1.2.3 GetServiceCommand ..........................................................................................................................................................31
1.2.3.1 Data Types of Request and Response........................................................................................................................ 34
1.2.3.2 Code Blocks for '/GetServiceCommand' .................................................................................................................. 36
1.2.3.3 GetServiceAccess .............................................................................................................................................................. 37
1.2.4 GetPasswordView ................................................................................................................................................................42
1.2.4.1 Data Types of Request and Response........................................................................................................................ 45
1.2.4.2 Code Blocks for '/GetPasswordView'........................................................................................................................ 46
1.2.5 GetServicePasswordChange............................................................................................................................................48
1.2.5.1 Data Types of Request and Response........................................................................................................................ 50
1.2.5.2 Code Blocks for '/GetServicePasswordChange' ................................................................................................... 51
1.2.6 GetServicePasswordEnvelopePrint ..............................................................................................................................52
1.2.6.1 Data Types of Request and Response........................................................................................................................ 55
1.2.6.2 Code Blocks for '/GetServicePasswordEnvelopePrint'...................................................................................... 56
1.2.7 GetARCOSLog........................................................................................................................................................................58
1.2.7.1 Data Types of Request and Response........................................................................................................................ 60
1.2.7.2 Code Blocks for '/GetARCOSLog' ............................................................................................................................... 61
1.3 Service Details.......................................................................................................................................................................... 62
1.3.1 GetLAConfigSetting.............................................................................................................................................................63
1.3.1.1 Data Types of Request and Response........................................................................................................................ 64
1.3.1.2 Code Blocks for '/GetLAConfigSetting' .................................................................................................................... 65

2
PAM API Part 1

1.3.2 SetVideoFileName................................................................................................................................................................66
1.3.2.1 Data Types of Request and Response........................................................................................................................ 67
1.3.2.2 Code Blocks for ‘/SetVideoFileName’........................................................................................................................ 68
1.3.3 SetServiceOffboarding .......................................................................................................................................................69
1.3.3.1 Data Types of Request and Response........................................................................................................................ 70
1.3.3.2 Code Blocks for ‘/SetServiceOffboarding’ ............................................................................................................... 71
1.3.4 GetLobwiseVideopath ........................................................................................................................................................72
1.3.4.1 Data Types of Request and Response........................................................................................................................ 74
1.3.4.2 Code Blocks for ‘/GetLobwiseVideopath’ ................................................................................................................ 75
1.3.5 GetActiveServicesByLOBId..............................................................................................................................................76
1.3.5.1 Data Types of Request and Response........................................................................................................................ 78
1.3.5.2 Code Blocks for ‘/GetActiveServicesByLOBId’ ..................................................................................................... 79
1.3.6 GetActiveServicesByGroupId..........................................................................................................................................80
1.3.6.1 Data Types of Request and Response........................................................................................................................ 82
1.3.6.2 Code Blocks for ‘/GetActiveServicesByGroupId’ ................................................................................................. 83
1.3.7 GetActiveServicesByLOBIdAndGroupId....................................................................................................................84
1.3.7.1 Data Types of Request and Response........................................................................................................................ 86
1.3.7.2 Code Blocks for ‘/GetActiveServicesByLOBIdAndGroupId’............................................................................ 87
1.3.8 GetLogManagerSetting ......................................................................................................................................................88
1.3.8.1 Data Types of Request and Response........................................................................................................................ 89
1.3.8.2 Code Blocks for ‘/GetLogManagerSetting’.............................................................................................................. 90
1.3.9 GetFolderTime.......................................................................................................................................................................91
1.3.9.1 Data Types of Request and Response........................................................................................................................ 92
1.3.9.2 Code Blocks for ‘/GetFolderTime’............................................................................................................................... 94
1.3.10 GetVideoFileName...............................................................................................................................................................95
1.3.10.1 Data Types of Request and Response........................................................................................................................ 97
1.3.10.2 Code Blocks for ‘/GetVideoFileName’....................................................................................................................... 99
1.3.11 SetServiceOnboarding..................................................................................................................................................... 100
1.3.11.1 Data Types of Request and Response......................................................................................................................102
1.3.11.2 Code Blocks for ‘/SetServiceOnboarding’..............................................................................................................103
1.3.12 CloseARCOSGateway...................................................................................................................................................... 106
1.3.12.1 Data Types of Request and Response......................................................................................................................107
1.3.12.2 Code Blocks for '/CloseARCOSGateway' ..............................................................................................................108
1.3.13 GetAlertMessage ............................................................................................................................................................... 109
1.3.13.1 Data Types of Request and Response......................................................................................................................110
1.3.13.2 Code Blocks for '/GetAlertMessage'........................................................................................................................111

3
PAM API Part 1

1.3.14 GetAllServiceType............................................................................................................................................................. 112


1.3.14.1 Data Types of Request and Response......................................................................................................................114
1.3.14.2 Code Blocks for '/GetAllServiceType' .....................................................................................................................114
1.3.15 GetAssignedServiceList................................................................................................................................................... 116
1.3.15.1 Data Types of Request and Response......................................................................................................................118
1.3.15.2 Code Blocks for '/GetAssignedServiceList' ...........................................................................................................119
1.3.16 GetConfigCommand......................................................................................................................................................... 121
1.3.16.1 Data Types of Request and Response......................................................................................................................123
1.3.16.2 Code Blocks for '/GetConfigCommand'..................................................................................................................123
1.3.17 GetConfigDetails ............................................................................................................................................................... 124
1.3.17.1 Data Types of Request and Response......................................................................................................................127
1.3.17.2 Code Blocks for '/GetConfigDetails' ........................................................................................................................128
1.3.18 GetLDAPDomainDetails................................................................................................................................................. 129
1.3.18.1 Data Types of Request and Response......................................................................................................................130
1.3.18.2 Code Blocks for '/GetLDAPDomainDetails' .........................................................................................................131
1.3.19 GetRecentServices ............................................................................................................................................................ 132
1.3.19.1 Data Types of Request and Response......................................................................................................................133
1.3.19.2 Code Blocks for '/GetRecentServices'.....................................................................................................................134
1.3.20 GetServerDetailsFromOSName.................................................................................................................................. 135
1.3.20.1 Data Types of Request and Response......................................................................................................................137
1.3.20.2 Code Blocks for '/GetServerDetailsFromOSName'...........................................................................................137
1.3.21 GetServiceDetailsBySessionId..................................................................................................................................... 139
1.3.21.1 Data Types of Request and Response......................................................................................................................141
1.3.21.2 Code Blocks for '/GetServiceDetailsBySessionId'..............................................................................................143
1.3.22 GetServiceDetailsFromSession ................................................................................................................................... 144
1.3.22.1 Data Types of Request and Response......................................................................................................................147
1.3.22.2 Code Blocks for '/GetServiceDetailsFromSession' ............................................................................................150
1.3.23 GetTemplateScreenDetails ........................................................................................................................................... 151
1.3.23.1 Data Types of Request and Response......................................................................................................................154
1.3.23.2 Code Blocks for '/GetTemplateScreenDetails' ....................................................................................................154
1.3.24 OpenARCOSGateway...................................................................................................................................................... 156
1.3.24.1 Data Types of Request and Response......................................................................................................................157
1.3.24.2 Code Blocks for '/OpenARCOSGateway' ..............................................................................................................159
1.3.25 ResendOTP........................................................................................................................................................................... 160
1.3.25.1 Data Types of Request and Response......................................................................................................................161
1.3.25.2 Code Blocks for '/ResendOTP' ...................................................................................................................................162

4
PAM API Part 1

1.3.26 SetRDPSessionProcessLog ............................................................................................................................................ 163


1.3.26.1 Data Types of Request and Response......................................................................................................................164
1.3.26.2 Code Blocks for '/SetRDPSessionProcessLog'.....................................................................................................165
1.3.27 SetRelativePath .................................................................................................................................................................. 167
1.3.27.1 Data Types of Request and Response......................................................................................................................168
1.3.27.2 Code Blocks for '/SetRelativePath'...........................................................................................................................169
1.3.28 SetServiceSessionLogout................................................................................................................................................ 170
1.3.28.1 Data Types of Request and Response......................................................................................................................171
1.3.28.2 Code Blocks for '/SetServiceSessionLogout' ........................................................................................................172
1.3.29 SetServiceSessionLogoutV2.......................................................................................................................................... 173
1.3.29.1 Data Types of Request and Response......................................................................................................................174
1.3.29.2 Code Blocks for '/SetServiceSessionLogoutV2' ..................................................................................................175
1.3.30 SetUserSessionLogout..................................................................................................................................................... 176
1.3.30.1 Data Types of Request and Response......................................................................................................................177
1.3.30.2 Code Blocks for '/SetUserSessionLogout'..............................................................................................................178
1.3.31 SetUserSessionLogoutV2 ............................................................................................................................................... 179
1.3.31.1 Data Types of Request and Response......................................................................................................................180
1.3.31.2 Code Blocks for '/SetUserSessionLogoutV2'........................................................................................................181
1.3.32 UpdateUserPassword ...................................................................................................................................................... 182
1.3.32.1 Data Types of Request and Response......................................................................................................................183
1.3.32.2 Code Blocks for '/UpdateUserPassword'...............................................................................................................184
1.3.33 SetSessionCommandLog................................................................................................................................................. 185
1.3.33.1 Data Types of Request and Response......................................................................................................................186
1.3.33.2 Code Blocks for '/SetSessionCommandLog' .........................................................................................................187
1.3.34 SetSessionVideoLog.......................................................................................................................................................... 188
1.3.34.1 Data Types of Request and Response......................................................................................................................189
1.3.34.2 Code Blocks for '/SetSessionVideoLog' ..................................................................................................................190
1.3.35 ValidateOTP......................................................................................................................................................................... 191
1.3.35.1 Data Types of Request and Response......................................................................................................................192
1.3.35.2 Code Blocks for '/ValidateOTP' .................................................................................................................................193
1.3.36 ActiveSessionCount.......................................................................................................................................................... 194
1.3.36.1 Data Types of Request and Response......................................................................................................................195
1.3.36.2 Code Blocks for '/ActiveSessionCount'...................................................................................................................196
1.3.37 AuthenticateUser............................................................................................................................................................... 197
1.3.37.1 Data Types of Request and Response......................................................................................................................198
1.3.37.2 Code Blocks for '/AuthenticateUser' .......................................................................................................................199

5
PAM API Part 1

1.3.38 AuthenticateUserAfterLockout................................................................................................................................... 200


1.3.38.1 Data Types of Request and Response......................................................................................................................201
1.3.38.2 Code Blocks for '/AuthenticateUserAfterLockout'............................................................................................202
1.3.39 GetAllService ....................................................................................................................................................................... 204
1.3.39.1 Data Types of Request and Response......................................................................................................................207
1.3.39.2 Code Blocks for '/GetAllService'................................................................................................................................208
1.3.40 GetServiceDetails .............................................................................................................................................................. 209
1.3.40.1 Data Types of Request and Response......................................................................................................................212
1.3.40.2 Code Blocks for '/GetServiceDetails'.......................................................................................................................215
1.3.41 RaisePasswordViewRequest......................................................................................................................................... 216
1.3.41.1 Data Types of Request and Response......................................................................................................................218
1.3.41.2 Code Blocks for '/RaisePasswordViewRequest' .................................................................................................219
1.3.42 RaiseServiceAccessRequest.......................................................................................................................................... 220
1.3.42.1 Data Types of Request and Response......................................................................................................................222
1.3.42.2 Code Blocks for '/RaiseServiceAccessRequest'...................................................................................................223
1.3.43 SetErrorLog .......................................................................................................................................................................... 224
1.3.43.1 Data Types of Request and Response......................................................................................................................226
1.3.43.2 Code Blocks for '/SetErrorLog'...................................................................................................................................227
1.3.44 RaisingServiceAccessRequest ...................................................................................................................................... 228
1.3.44.1 Data Types of Request and Response......................................................................................................................230
1.3.44.2 Code Blocks for '/RaiseServiceAccessRequest'...................................................................................................234
1.3.45 GetCreateModifiedServices.......................................................................................................................................... 237
1.3.45.1 Data Types of Request and Response......................................................................................................................240
1.3.45.2 Code Blocks for ‘/GetCreateModifiedServices’ ..................................................................................................242
1.3.46 GetCreateModifiedServicesByLobId ........................................................................................................................ 243
1.3.46.1 Data Types of Request and Response......................................................................................................................246
1.3.46.2 Code Blocks for ‘/GetCreateModifiedServicesByLobId’ .................................................................................248
1.3.47 GetCreateModifiedServicesByGroupId................................................................................................................... 249
1.3.47.1 Data Types of Request and Response......................................................................................................................252
1.3.47.2 Code Blocks for ‘/GetCreateModifiedServicesByGroupId’............................................................................254
1.3.48 GetDomainss ....................................................................................................................................................................... 255
1.3.48.1 Data Types of Request and Response......................................................................................................................257
1.3.48.2 Code Blocks for '/GetDomains' ..................................................................................................................................257
1.3.49 GetUserGroupHistory ..................................................................................................................................................... 258
1.3.49.1 Data Types of Request and Response......................................................................................................................333
1.3.49.2 Code Blocks for ‘/GetUserGroupHistory’ ..............................................................................................................334

6
PAM API Part 1

1.3.50 GetServiceReferenceTemplate.................................................................................................................................... 336


1.3.50.1 Data Types of Request and Response......................................................................................................................338
1.3.50.2 Code Blocks for '/GetServiceReferenceTemplate' ............................................................................................339
1.3.51 GetServiceLastPwdChanged ........................................................................................................................................ 340
1.3.51.1 Data Types of Request and Response......................................................................................................................341
1.3.51.2 Code Blocks for '/GetServiceLastPwdChanged' .................................................................................................342
1.3.52 GetActiveServicesByLOBIdAndGroupIdV2........................................................................................................... 343
1.3.52.1 Data Types of Request and Response......................................................................................................................346
1.3.52.2 Code Blocks for ‘/GetActiveServicesByLOBIdAndGroupId’..........................................................................348
1.3.53 GetActiveServicesByLOBIdV2..................................................................................................................................... 349
1.3.53.1 Data Types of Request and Response......................................................................................................................354
1.3.53.2 Code Blocks for ‘/GetActiveServicesByLOBId’ ...................................................................................................356
1.3.54 GetActiveServicesByGroupIdV2................................................................................................................................. 357
1.3.54.1 Data Types of Request and Response......................................................................................................................388
1.3.54.2 Code Blocks for ‘/GetActiveServicesByGroupId’ ...............................................................................................389
1.3.55 GetServiceDetailsV2 ........................................................................................................................................................ 390
1.3.55.1 Data Types of Request and Response......................................................................................................................393
1.3.55.2 Code Blocks for '/GetServiceDetails'.......................................................................................................................396
1.3.56 GetAssignedServiceListV2............................................................................................................................................. 397
1.3.56.1 Data Types of Request and Response......................................................................................................................427
1.3.56.2 Code Blocks for '/GetAssignedServiceList' ...........................................................................................................429
1.3.57 GetServiceParamConfig.................................................................................................................................................. 430
1.3.57.1 Data Types of Request and Response......................................................................................................................431
1.3.57.2 Code Blocks for '/GetServiceParamConfig' ..........................................................................................................432
1.3.58 AuthenticateUserV2......................................................................................................................................................... 433
1.3.58.1 Data Types of Request and Response......................................................................................................................434
1.3.58.2 Code Blocks for '/AuthenticateUser' .......................................................................................................................435
1.3.59 AuthenticateUserAfterLockoutV2............................................................................................................................. 437
1.3.59.1 Data Types of Request and Response......................................................................................................................438
1.3.59.2 Code Blocks for '/AuthenticateUserAfterLockout'............................................................................................439
1.3.60 UpdateApplicationSessionIdByArconSessionId ................................................................................................... 441
1.3.60.1 Data Types of Request and Response......................................................................................................................442
1.3.60.2 Code Blocks for '/UpdateApplicationSessionIdByArconSessionId' ............................................................443
1.3.61 AuthenticateUserPasswordLess ................................................................................................................................. 444
1.3.61.1 Data Types of Request and Response......................................................................................................................446
1.3.61.2 Code Blocks for '/AuthenticateUserPasswordLess' ..........................................................................................447

7
PAM API Part 1

1.3.62 RequestServicePassword ............................................................................................................................................... 449


1.3.62.1 Data Types of Request and Response......................................................................................................................450
1.3.62.2 Code Blocks for '/RequestServicePassword'........................................................................................................451
1.3.63 GetUserGroupHistoryVideoLog.................................................................................................................................. 453
1.3.63.1 Data Types of Request and Response......................................................................................................................454
1.3.63.2 Code Blocks for '/GetUserGroupHistoryVideoLog' ..........................................................................................455
1.3.64 GetUserPasswordLessLogin.......................................................................................................................................... 456
1.3.64.1 Data Types of Request and Response......................................................................................................................459
1.3.64.2 Code Blocks for ‘/GetUserPasswordLessLogin’ ..................................................................................................461
1.3.65 RaiseSAR................................................................................................................................................................................ 462
1.3.65.1 Data Types of Request and Response......................................................................................................................463
1.3.65.2 Code Blocks for '/RaiseSAR' ........................................................................................................................................465
1.3.66 GetOrSet2FAInRA ............................................................................................................................................................ 466
1.3.66.1 Data Types of Request and Response......................................................................................................................468
1.3.66.2 Code Blocks for ‘/GetOrSet2FAInRA’ .....................................................................................................................468
1.3.67 ValidateServiceReference.............................................................................................................................................. 470
1.3.67.1 Data Types of Request and Response......................................................................................................................471
1.3.67.2 Code Blocks for '/ValidateServiceReference' ......................................................................................................472
1.3.68 GetServiceDetailsByServiceIdForBot....................................................................................................................... 474
1.3.68.1 Data Types of Request and Response......................................................................................................................477
1.3.68.2 Code Blocks for '/GetServiceDetails'.......................................................................................................................480
1.3.69 GetFilteredAssignedServiceListWithPaging.......................................................................................................... 482
1.3.69.1 Data Types of Request and Response......................................................................................................................489
1.3.69.2 Code Blocks for '/GetFilteredAssignedServiceListWithPaging'...................................................................491
1.3.70 GetServiceParameters..................................................................................................................................................... 492
1.3.70.1 Data Types of Request and Response......................................................................................................................494
1.3.70.2 Code Blocks for '/GetServiceParameters' .............................................................................................................496
1.3.71 GetServiceAWSRolesDetails ........................................................................................................................................ 497
1.3.71.1 Code Blocks for '/GetServiceAWSRolesDetails'.................................................................................................499
1.3.72 GetServiceAWSRoles....................................................................................................................................................... 500
1.3.72.1 Code Blocks for '/GetServiceAWSRoles' ...............................................................................................................502
1.3.73 GetServiceDetailsByServiceId ..................................................................................................................................... 503
1.3.73.1 Data Types of Request and Response......................................................................................................................506
1.3.73.2 Code Blocks for ‘/GetServiceDetailsByServiceId’ ..............................................................................................508
1.3.74 GetActiveServicesByFilter............................................................................................................................................. 510
1.3.74.1 Data Types of Request and Response......................................................................................................................512

8
PAM API Part 1

1.3.74.2 Code Blocks for ‘/GetSingleTargetDevicePassKey’...........................................................................................513


1.3.75 LogOutSessionById........................................................................................................................................................... 514
1.3.75.1 Data Types of Request and Response......................................................................................................................515
1.3.75.2 Code Blocks for 'ServiceDetails/LogOutSessionById'......................................................................................516
1.4 User Details ............................................................................................................................................................................ 520
1.4.1 UserDetailsV2 ..................................................................................................................................................................... 521
1.4.1.1 Get User List.......................................................................................................................................................................522
1.4.1.2 GetUserListByNameV2.................................................................................................................................................525
1.4.1.3 SetUserDetailsV2 ............................................................................................................................................................529
1.4.1.4 GetAssignedServiceListToUsrV2..............................................................................................................................533
1.4.1.5 GetNotAssignedServiceListToUsrV2......................................................................................................................579
1.4.1.6 GetLOBListV2 ...................................................................................................................................................................590
1.4.1.7 GetUserGroupListV2 .....................................................................................................................................................594
1.4.1.8 GetUserListV2...................................................................................................................................................................599
1.4.2 UserDetailsV3 ..................................................................................................................................................................... 602
1.4.2.1 GetAssignedServiceListToUsrV3..............................................................................................................................603
1.4.2.2 GetUserListV3...................................................................................................................................................................643
1.4.2.3 GetDomainsV3..................................................................................................................................................................646
1.4.2.4 SetUserDetailsV3 ............................................................................................................................................................649
1.4.3 UserDetailsV1 ..................................................................................................................................................................... 655
1.4.3.1 GetUserList.........................................................................................................................................................................655
1.4.3.2 DisableUser ........................................................................................................................................................................658
1.4.3.3 SetServiceUserUnMapping .........................................................................................................................................661
1.4.3.4 SetUsertoUserGroupUNMapping ............................................................................................................................664
1.4.3.5 SetUserDetails ..................................................................................................................................................................667
1.4.3.6 DeleteUser..........................................................................................................................................................................671
1.4.3.7 SetUserGroupServiceGroupMapping .....................................................................................................................674
1.4.3.8 EnableUser..........................................................................................................................................................................677
1.4.3.9 SetServiceUserMapping................................................................................................................................................680
1.4.3.10 GetUserDetailsBySession ............................................................................................................................................683
1.4.3.11 UpdateUserPreferences ...............................................................................................................................................686
1.4.3.12 GetUserPreferences.......................................................................................................................................................690
1.4.3.13 UpdateUserInfo ................................................................................................................................................................694
1.4.3.14 UpdateUserDetails..........................................................................................................................................................698
1.4.3.15 SetUserAndMultipleLOBMapping............................................................................................................................702
1.4.3.16 SetUserAndSingleLOBMapping.................................................................................................................................705

9
PAM API Part 1

1.4.3.17 SetDualFactorAuthorization.......................................................................................................................................707
1.4.3.18 GetUserType......................................................................................................................................................................710
1.4.3.19 GetUserServiceDetails ..................................................................................................................................................713
1.4.3.20 GetUserPreference.........................................................................................................................................................716
1.4.3.21 GetUserListByName.......................................................................................................................................................719
1.4.3.22 GetUserGroupList ...........................................................................................................................................................722
1.4.3.23 GetServiceTypeList.........................................................................................................................................................726
1.4.3.24 GetPasswordPolicyList..................................................................................................................................................730
1.4.3.25 GetNotAssignedServiceListToUsr............................................................................................................................734
1.4.3.26 GetDualFactorType ........................................................................................................................................................738
1.4.3.27 GetDomains .......................................................................................................................................................................741
1.4.3.28 GetAllServerGroups .......................................................................................................................................................744
1.4.3.29 GetAllActiveUserList......................................................................................................................................................747
1.4.3.30 GetAllActiveUserDetails ..............................................................................................................................................753
1.4.3.31 SetUsertoUserGroupMapping ...................................................................................................................................759
1.4.3.32 GetLOBList v1 ...................................................................................................................................................................762
1.4.3.33 GetServerGroupListV1..................................................................................................................................................765
1.4.3.34 GetUserPreferenceByServiceTypeId ......................................................................................................................768
1.4.3.35 SetServerServerGroupUnMapping ..........................................................................................................................771
1.4.3.36 GetUserGroupListWithoutMandateValue ...........................................................................................................775
1.4.3.37 SetServerServerGroupMapping ................................................................................................................................779
1.4.3.38 SetUserPrivilegesUnMapping ....................................................................................................................................783
1.4.3.39 SetUserPrivilegesMapping...........................................................................................................................................787
1.4.3.40 GetAllActiveUserDetailsMapping ............................................................................................................................790
1.4.3.41 LockOutById ......................................................................................................................................................................797
1.4.3.42 GetDisabledUsers............................................................................................................................................................802
1.4.3.43 GetDormantUsers ...........................................................................................................................................................807
1.4.3.44 GetLockoutUsers .............................................................................................................................................................811
1.4.3.45 GetPreferencesMaster..................................................................................................................................................816
1.4.3.46 GetPreferencesMasterDetails ...................................................................................................................................819
1.4.4 UserDetailsV4 ..................................................................................................................................................................... 823
1.4.4.1 GetAssignedServiceListToUsrv4...............................................................................................................................823
1.5 UserLabels .............................................................................................................................................................................. 944
1.5.1 GetUserLabels..................................................................................................................................................................... 944
1.5.1.1 Data Types of Request and Response......................................................................................................................947
1.5.1.2 Code Blocks for ‘/GetUserLabels’..............................................................................................................................948

10
PAM API Part 1

1.5.2 UpdateUserLabels ............................................................................................................................................................. 949


1.5.2.1 Data Types of Request and Response......................................................................................................................951
1.5.2.2 Code Blocks for ‘/UpdateUserLabels’ ......................................................................................................................952
1.5.3 GetUserLabelsTest............................................................................................................................................................ 954
1.5.3.1 Data Types of Request and Response......................................................................................................................955
1.5.3.2 Code Blocks for ‘/GetUserLabelsTest’.....................................................................................................................956
1.6 UserFavourites...................................................................................................................................................................... 957
1.6.1 GetUserFavourites............................................................................................................................................................ 957
1.6.1.1 Data Types of Request and Response......................................................................................................................959
1.6.1.2 Code Blocks for ‘/GetUserFavourites’.....................................................................................................................959
1.6.2 UpdateUserFavourites .................................................................................................................................................... 961
1.6.2.1 Data Types of Request and Response......................................................................................................................962
1.6.2.2 Code Blocks for ‘/UpdateUserFavourites’ .............................................................................................................963
1.7 Configuration......................................................................................................................................................................... 964
1.7.1 GetArcosConfiguration ................................................................................................................................................... 964
1.7.1.1 Data Types of Request and Response......................................................................................................................966
1.7.1.2 Code Blocks for ‘/GetArcosConfiguration’............................................................................................................966
1.7.2 GetArcosConfigurations ................................................................................................................................................. 968
1.7.2.1 Data Types of Request and Response......................................................................................................................970
1.7.2.2 Code Blocks for ‘/GetArcosConfigurations’..........................................................................................................970
1.7.3 GetUserTypeV1.................................................................................................................................................................. 972
1.7.3.1 Data Types of Request and Response......................................................................................................................973
1.7.3.2 Code Blocks for '/GetUserType' ................................................................................................................................974
1.7.4 GetLOBList_Configuration ............................................................................................................................................ 975
1.7.4.1 Data Types of Request and Response......................................................................................................................977
1.7.4.2 Code Blocks for ‘/GetLOBList’ ....................................................................................................................................978
1.8 ServicePassword .................................................................................................................................................................. 979
1.8.1 GetTargetDevicePassKey .............................................................................................................................................. 979
1.8.1.1 Data Types of Request and Response......................................................................................................................981
1.8.1.2 Code Blocks for ‘/GetTargetDevicePassKey’ .......................................................................................................982
1.8.2 GetAllTargetTypes ............................................................................................................................................................ 984
1.8.2.1 Data Types of Request and Response......................................................................................................................985
1.8.2.2 Code Blocks for ‘/GetAllTargetTypes’ .....................................................................................................................986
1.8.3 ServicePasswordVaulting............................................................................................................................................... 987
1.8.3.1 Data Types of Request and Response......................................................................................................................988
1.8.3.2 Code Blocks for ‘/ServicePasswordVaulting’........................................................................................................989

11
PAM API Part 1

1.8.4 GetSingleTargetDevicePassKey.................................................................................................................................. 990


1.8.4.1 Data Types of Request and Response......................................................................................................................991
1.8.4.2 Code Blocks for ‘/GetSingleTargetDevicePassKey’...........................................................................................992
1.8.5 GetServiceType .................................................................................................................................................................. 994
1.8.5.1 Data Types of Request and Response......................................................................................................................995
1.8.5.2 Code Blocks for ‘/GetServiceType’ ...........................................................................................................................996
1.8.6 GetRootCredentials.......................................................................................................................................................... 997
1.8.6.1 Data Types of Request and Response......................................................................................................................998
1.8.6.2 Code Blocks for ‘/GetRootCredentials’...................................................................................................................998
1.8.7 GetRootCredentialsV2................................................................................................................................................. 1000
1.8.7.1 Data Types of Request and Response...................................................................................................................1000
1.8.7.2 Code Blocks for ‘/GetRootCredentials’................................................................................................................1001
1.8.8 GetTargetDevicePassKeyV2 ..................................................................................................................................... 1002
1.8.8.1 Data Types of Request and Response...................................................................................................................1004
1.8.8.2 Code Blocks for ‘/GetTargetDevicePassKey’ ....................................................................................................1005
1.8.9 GetSecretServicePassword ........................................................................................................................................ 1007
1.8.9.1 Data Types of Request and Response...................................................................................................................1008
1.8.9.2 Code Blocks for ‘/GetSecretServicePassword’ .................................................................................................1009
1.8.10 GetSecretServiceList..................................................................................................................................................... 1010
1.8.10.1 Data Types of Request and Response...................................................................................................................1011
1.8.10.2 Code Blocks for '/GetSecretServiceList'..............................................................................................................1012
1.8.11 GetSecretServiceDetails.............................................................................................................................................. 1013
1.8.11.1 Data Types of Request and Response...................................................................................................................1014
1.8.11.2 Code Blocks for '/GetSecretServiceDetails' ......................................................................................................1015
1.8.12 RequestForServicePassword..................................................................................................................................... 1016
1.8.12.1 Data Types of Request and Response...................................................................................................................1017
1.8.12.2 Code Blocks for ‘/RequestForServicePassword’..............................................................................................1018
1.8.13 GetPasswordWithoutIP............................................................................................................................................... 1020
1.8.13.1 Data Types of Request and Response...................................................................................................................1021
1.8.13.2 Code Blocks for '/GetPasswordWithoutIP'........................................................................................................1023
1.8.14 SyncServicePassword ................................................................................................................................................... 1024
1.8.14.1 Data Types of Request and Response...................................................................................................................1028
1.8.14.2 Code Blocks for '/SyncServicePassword' ............................................................................................................1029
1.8.15 GetSyncFailedServices ................................................................................................................................................. 1030
1.8.15.1 Data Types of Request and Response...................................................................................................................1033
1.8.15.2 Code Blocks for '/GetSyncFailedServices'..........................................................................................................1034

12
PAM API Part 1

1.8.16 UpdateSyncFailedServicesFlag ................................................................................................................................. 1035


1.8.16.1 Data Types of Request and Response...................................................................................................................1036
1.8.16.2 Code Blocks for ‘/UpdateSyncFailedServicesFlag’..........................................................................................1037
1.8.17 PostSecretServicePassword....................................................................................................................................... 1038
1.8.17.1 Data Types of Request and Response...................................................................................................................1039
1.8.17.2 Code Blocks for ‘/PostSecretServicePassword’ ...............................................................................................1040
1.8.18 GetTargetDevicePassKeyByID................................................................................................................................. 1042
1.8.18.1 Data Types of Request and Response...................................................................................................................1043
1.8.18.2 Code Blocks for ‘/GetTargetDevicePassKeyByID’..........................................................................................1044
1.8.19 GetAwsSTS ........................................................................................................................................................................ 1045
1.8.19.1 Data Types of Request and Response...................................................................................................................1047
1.8.19.2 Code Blocks for '/GetAwsSTS'.................................................................................................................................1048
2 ServicePasswordDependancy ........................................................................................................................................ 1052
2.1 SetServicepwdDependancy...........................................................................................................................................1052
2.1.1 Data Types of Request and Response..................................................................................................................... 1053
2.1.2 Code Blocks for ‘/SetServicepwdDependancy’................................................................................................... 1054
2.2 RemoveServicepwdDependancy.................................................................................................................................1055
2.2.1 Data Types of Request and Response..................................................................................................................... 1056
2.2.2 Code Blocks for ‘/RemoveServicepwdDependancy’ ........................................................................................ 1057
2.3 GetActiveServiceList........................................................................................................................................................1058
2.3.1 Data Types of Request and Response..................................................................................................................... 1060
2.3.2 Code Blocks for ‘/GetActiveServiceList’................................................................................................................ 1060
2.4 GetPasswordDependancyTypeList ............................................................................................................................1062
2.4.1 Data Types of Request and Response..................................................................................................................... 1063
2.4.2 Code Blocks for ‘/GetPasswordDependancytypeList’..................................................................................... 1064
2.5 UpdateDependentServicePassword..........................................................................................................................1065
2.5.1 Data Types of Request and Response..................................................................................................................... 1066
2.5.2 Code Blocks for ‘/UpdateDependentServicePassword’.................................................................................. 1067
2.6 GetDependantServiceList ..............................................................................................................................................1068
2.6.1 Data Types of Request and Response..................................................................................................................... 1069
2.6.2 Code Blocks for ‘/GetDependantServiceList’...................................................................................................... 1070
2.7 GetActiveServiceList_QuickSearch............................................................................................................................1071
2.7.1 Data Types of Request and Response..................................................................................................................... 1073
2.7.2 Code Blocks for ‘/GetActiveServiceList_QuickSearch’.................................................................................... 1074
2.8 GetActiveServiceListWithoutMandateValue ........................................................................................................1075
2.8.1 Data Types of Request and Response..................................................................................................................... 1077

13
PAM API Part 1

Disclaimer
The handbook of ARCON PAM solution is being published to guide stakeholders and users. If any of the
statements in this document are at variance or inconsistent it shall be brought to the notice of ARCON through
the support team. Wherever appropriate, references have been made to facilitate better understanding of the
PAM solution. ARCON team has made every effort to ensure that the information contained in it was correct at
the time of publishing.
Nothing in this document constitutes a guarantee, warranty, or license, expressed or implied. ARCON disclaims
all liability for all such guarantees, warranties, and licenses, including but not limited to: Fitness for a particular
purpose; merchantability; non-infringement of intellectual property or other rights of any third party or of
ARCON; indemnity; and all others. The reader is advised that third parties can have intellectual property rights
that can be relevant to this document and the technologies discussed herein, and is advised to seek the advice
of competent legal counsel, without obligation of ARCON.

Copyright Notice
Copyright © 2022 ARCON All rights reserved.
ARCON retains the right to make changes to this document at any time without notice. ARCON makes no
warranty for the use of this document and assumes no responsibility for any errors that can appear in the
document nor does it make a commitment to update the information contained herein.
Trademarks
Other product and corporate names may be trademarks of other companies and are used only for explanation
and to the owners' benefit, without intent to infringe.
Sales Contact
You can directly contact us with sales related topics at the email address <[email protected]>, or leave us
your contact information and we will call you back.
Conventions
Following are the conventions used in the table headers of this document:
• Type of Request: Defines the type of request i.e. GET, PUT, POST, DELETE etc.
• Endpoint: Endpoint mentioned as '/arconToken' must be used after the hosted URL, Hosted URL will be
like, i.e 'http://www.pamapi.arconnet.com/arconToken' or 'https://www.pamapi.arconnet.com/
arconToken' or 'http://10.10.0.1:1234/arconToken'.
• Available in API Version: This refers to the API Version in which this particular Endpoint is available. i.e.
'1.0', '2.0' etc
• Release Version: This refers to which PAM release version this API was available in. i.e 'U3', 'U4', etc
• Pre Endpoint Call: Endpoints mentioned here are, pre-requisites for consuming the mentioned
endpoint.
• Request: 'Params', 'Headers' & 'Body' qualifies as the 'Request', mentioned parameters in 'Request'
need to be present in while calling the API Endpoint.
Params: These parameters, generally are a part of URL or appended to the URL.
Headers: There can be multiple headers involved while requesting the API Endpoint. i.e 'Content-
Type', 'Accept-Header', 'x-PAM-Version' etc. In case a parameter is mentioned as 'Mandatory'
then it means that particular parameter is required for the API endpoint to respond correctly.
Body: Body can vary, and depending on the type of request might not be a part of 'Request'.
• Response: Usually in a JSON Format. Response varies but the 'Result' part of the response varies rest is
almost always the same.
• Response Time: This is an approximate estimated response time, usually in an internal network.
• Post Endpoint Call: Endpoints mentioned here require a pre-requisite of mentioned endpoint.
• Supported Features: All internal or external applications are to be mentioned here, which are currently
consuming this endpoint.

14
PAM API Part 1

Users can access only those APIs assigned to them.

15
PAM API Part 1

1 Introduction
ARCON PAM functions to secure privileged accounts in an organization. ARCON PAM APIs automates the
task and provides systematic control over operations including managing users and service accounts. API
Integration provides the necessary framework which links customers ticketing systems like ITESM, BMC
Remedy, Service Now, Manage Engine, Symphony, Arksight, etc to ARCON PAM sessions. The APIs for login
authentication and vault integration will provide holistic security and reduce risk in a company. API is already a
part of the ARCON PAM Installation and therefore can be used without setting any different configurations. All
topics covered in this guide adhere to RESTful standards making it REST APIs.

1.1 Authentication JWT Token Flow


This API call is an authentication mechanism, implemented using OAuth 2.0 JSON Web Tokens bearer flow,
this flow requires prior user registration in ARCON PAM Client Manager (ACMO). The registered user can be
used to generate tokens using the following mentioned API call.
This endpoint is mandatory for consuming any other endpoints. This bearer flow JWT Token generation
requires prior user registration for consuming User-Role based Endpoints.
1.1.1 Reference Documents
1. JSON Web Tokens detailed documentation: https://jwt.io/
2. OAuth 2.0 detailed documentation: https://oauth.net/2/

 Code samples given, use third-party libraries, as given by 'Postman Rest Client' which are as follows:
1. For C# using Rest-Sharp, https://www.nuget.org/packages/RestSharp/105.2.3
2. For Java using OK HTTP: https://square.github.io/okhttp/
3. For Python
a. Using HTTP client: https://docs.python.org/3/library/http.client.html
b. Using requests: https://pypi.org/project/requests/

ARCON does not take any responsibility for any bugs/vulnerabilities in the third-party libraries
neither does ARCON recommend usage for these third-party libraries. Similar code can be done in
native languages respectively for achieving the same results.

1.1.2 arconToken - Token Generation By using Refresh Token


This API is used for generating Json Web Token (JWT) Token-based authentication mechanism. It accepts
‘grant_type', ‘refreshToken’, and authenticates the user consuming the API, and in return gives out a JWT
Token along with its refresh token. Each access token is valid for the time value given in 'expires_in’, which is in
milliseconds.

Type of Request POST

Endpoint /arconToken

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

16
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

x-PAM-Version - Not Applicable -

Body
grant_type:refresh_token
refresh_token:o8dby[... Removed for brevity ....]fwTX

Response
{
"access_token": "eyJ0[... Removed for brevity ....]SHasQ",
"token_type": "bearer",
"expires_in": 86399,
"refresh_token": "o8dby[... Removed for brevity ....]XfwTX"
}

Response Time 265 milliseconds

Post Endpoint Call All API's

Supported Features All endpoints

1.1.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request grant_type string This is usually a string value, currently supported


values are ‘password’ & ' refresh_token', as described
in detail below:

There are multiple grant_types which are


supported in OAuth 2.0, but currently, we
only support the following 2 grant_types
• password : This is grant_type, which is
supported, and it requires username and
password as mandatory inputs along
with grant_type as Password.
• refresh_token: This requires
refresh_token from the previous request
to generate another token and
refresh_token. This does not require a
username and password.

17
PAM API Part 1

Type Parameters Data Type Description

refresh_token string refresh_token value from the previous call for


generating a token, based on which there will be a new
pair or access_token and refresh_token will be
generated.

Response access_token string Token value, which is a long, encrypted string value.
This value can be divided into 3 parts, header, payload,
and signature. This Token is to pass into the header of
every PAM API to be consumed henceforth, till the
time it expires.

token_type string ‘Bearer’

expires_in int Value is in milliseconds

refresh_token string Token value, which is a long, encrypted string value.


This value can be divided into 3 parts, header, payload,
and signature. After the ‘access_token’ is expired, this
Token used to generate new ‘access_token’ and
‘refresh_token’ without using ‘username’ and
‘password’. This is preferable for the robotic process,
to consume API’s.

1.1.2.2 Code Blocks for '/arconToken'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/arconToken",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data": {
"grant_type": "refresh_token",
"refresh_token": "o8dby[... Removed for brevity ....]fwTX"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});

18
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/arconToken");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("grant_type", "refresh_token");
request.AddParameter("refresh_token", "o8dby[... Removed for brevity ....]fwTX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType,
"grant_type=refresh_token&refresh_token=o8dby[... Removed for brevity ....]fwTX");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/arconToken")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/arconToken"

payload = 'grant_type=refresh_token&refresh_token=o8dby%5B...
%20Removed%20for%20brevity%20....%5DfwTX'
headers = {
'Content-Type': 'application/x-www-form-urlencoded'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

19
PAM API Part 1

The refresh_token authentication bearer token flow involves the following:


1. First time /arconToken has to be consumed using ‘username' and ‘password' are always in
base64 encoded format, then onwards, the ‘refresh_token’ can be used in /arconToken to
generate new 'access_token' and 'refresh_token’, henceforth.
2. The 'grant_type' is always 'password' for generating the JWT Token.
3. Code samples given are generated by Postman Rest Client, they need packages for various
namespaces or objects of classes to be usable, please import the same before using it.

1.2 SIEM
Security Information and Event Management (SIEM) provides real-time analysis of security alerts generated by
network hardware and applications. SIEM solutions are used to log security data and generate reports for
compliance purposes.
1.2.1 GetUserLoginAttempt
This API provides information related to login attempts made by the User, in the specified period of the
timeline given as input in fields of ‘FromDate’ and ‘ToDate’.

Type of Request POST

Endpoint /api/SIEM/GetUserLoginAttempt

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate": "2019-06-22T02:37:00",
"ToDate": "2019-06-26T12:37:00",
"NumberOfRecords": 2
}

20
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "18/May/2020 09:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9100,
"EventTimeStamp": "18/May/2020 09:26:29",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserDomain": "ARCOSAUTH",
"UserMAC": "10.10.1.58[DSK034][FCAA146863FB]
[BFEBFBFF000306A9][TobefilledbyO.E.M.][ACM4.8.5.0]",
"UserSessionLoginTimeStamp": "06/24/2019 14:42:03",
"UserSessionLogoutTimeStamp": "06/24/2019 14:42:15",
"Status": "Success"
},
{
"EventID": 9100,
"EventTimeStamp": "18/May/2020 09:26:29",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserDomain": "ARCOSAUTH",
"UserMAC": "10.10.1.58[DSK034][FCAA146863FB]
[BFEBFBFF000306A9][TobefilledbyO.E.M.][ACM4.8.5.0]",
"UserSessionLoginTimeStamp": "06/24/2019 14:42:30",
"UserSessionLogoutTimeStamp": "06/24/2019 14:42:54",
"Status": "Success"
}
]
}

Response Time 471 milliseconds

Post Endpoint Call All API's

Supported Features All endpoints

21
PAM API Part 1

1.2.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-22
T02:37:00“

ToDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-22
T02:37:00“

NumberOfRecords int Positive Integer value,


which will be the count
or number of records
returned in the output.
If the total number of
records present in the
table is lesser than the
count passed here as
input then all records
will be displayed.

Response EventID int Auto-generated Id of


an event logged by

EventTimeStamp DateTime It is the DateTime value


on which this event was
logged.

UserID int This value is for UserId


of the ARCON PAM
User

UserName string This value is for the


username of ARCON
PAM User

UserDomain string This value is for


Domain Name

22
PAM API Part 1

Type Parameters Data Type Description

UserMAC string It is a combination of


multiple values

Sample
Value:
10.10.1.58[D
SK034]
[FCAA14686
3FB]
[BFEBFBFF0
00306A9]
[Tobefilledby
O.E.M.]
[ACM4.8.5.0]

UserSessionLoginTimeStamp string Time of session login


date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

UserSessionLogoutTimeStamp string Time of session logout


in date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

Status string Success or Failure will


be recorded by SIEM
utility, sample value
will be like:

• “Success”
• “Failure“

23
PAM API Part 1

1.2.1.2 Code Blocks for '/GetUserLoginAttempt'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetUserLoginAttempt",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "bearer eyJ0[... Removed for brevity ....]q0gs",
"Content-Type": "application/json"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2019-06-26T12:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/


GetUserLoginAttempt");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"FromDate\":
\"2019-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}"
, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

24
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"FromDate\": \"2019-06-22T
02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\"
,\n \"NumberOfRecords\": 2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetUserLoginAttempt")
.method("POST", body)
.addHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetUserLoginAttempt"

payload = "{\n \"FromDate\": \"2019-06-22T02:37:00\",\n \"ToDate\":


\"2019-06-26T12:37:00\",\n \"NumberOfRecords\": 2\n}"
headers = {
'Authorization': 'bearer eyJ0[... Removed for brevity ....]q0gs',
'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.2 GetFailedLoginAttempt
This API provides information related to failed login attempts made by the User, in the specified period of the
timeline given as input in fields of ‘FromDate’ and ‘ToDate’.

Type of Request POST

Endpoint /api/SIEM/GetFailedLoginAttempt

Available in API All versions


Version

Release Version U13

25
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate": "2019-06-22T02:37:00",
"ToDate": "2019-06-26T12:37:00",
"NumberOfRecords": 2
}

26
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "19/May/2020 11:12:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9101,
"EventTimeStamp": "19/May/2020 11:12:33",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserDomain": "ARCOSAUTH",
"UserMAC": "192.168.68.132[LAP101][7440BB80DFC1]
[BFEBFBFF000406E3][49SKXQ2]",
"UserSessionLoginTimeStamp": "06/22/2019 15:58:40",
"UserSessionLogoutTimeStamp": "06/22/2019 15:58:40",
"Status": "Authentication Failed"
},
{
"EventID": 9101,
"EventTimeStamp": "19/May/2020 11:12:33",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserDomain": "ARCOSAUTH",
"UserMAC": "192.168.68.132[LAP101][7440BB80DFC1]
[BFEBFBFF000406E3][49SKXQ2]",
"UserSessionLoginTimeStamp": "06/22/2019 15:58:47",
"UserSessionLogoutTimeStamp": "06/22/2019 15:58:47",
"Status": "Authentication Failed"
}
]
}

Response Time 889 milliseconds

Post Endpoint Call All API's

Supported Features All endpoints

27
PAM API Part 1

1.2.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-2
2T02:37:00“

ToDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-2
2T02:37:00“

NumberOfRecords int Positive Integer value,


which will be the
count or number of
records returned in
the output.
If the total number of
records present in the
table is lesser than the
count passed here as
input then all records
will be displayed.

Response EventID int Auto-generated Id of


an event logged by

EventTimeStamp DateTime It is the DateTime


value on which this
event was logged.

UserID int This value is for


UserId of the ARCON
PAM User

UserName string This value is for the


username of ARCON
PAM User

UserDomain string This value is for


Domain Name

28
PAM API Part 1

Type Parameters Data Type Description

UserMAC string It is a combination of


multiple values

Sample
Value:
10.10.1.58[
DSK034]
[FCAA1468
63FB]
[BFEBFBFF
000306A9]
[Tobefilledb
yO.E.M.]
[ACM4.8.5.0
]

UserSessionLoginTimeStamp string Time of session login


date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

UserSessionLogoutTimeStamp string Time of session logout


in date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

Status string Success or Failure will


be recorded by SIEM
utility, sample value
will be like:

• “Success

• “Authen
tication
Failed“

29
PAM API Part 1

1.2.2.2 Code Blocks for '/GetFailedLoginAttempt'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetFailedLoginAttempt",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "bearer eyJ0[... Removed for brevity ....]LA0RI",
"Content-Type": "application/json"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2019-06-26T12:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/


GetFailedLoginAttempt");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "bearer eyJ0[... Removed for
brevity ....]LA0RI");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"FromDate\":
\"2019-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}"
, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

30
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"FromDate\":
\"2019-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetFailedLoginAttempt")
.method("POST", body)
.addHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]LA0RI")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetFailedLoginAttempt"

payload = "{\n \"FromDate\": \"2019-06-22T02:37:00\",\n \"ToDate\":


\"2019-06-26T12:37:00\",\n \"NumberOfRecords\": 2\n}"
headers = {
'Authorization': 'bearer eyJ0[... Removed for brevity ....]LA0RI',
'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.3 GetServiceCommand
This API provides information related to access of service made by User, in the specified period of the timeline
given as input in fields of ‘FromDate’ and ‘ToDate’.

Type of Request POST

Endpoint /api/SIEM/GetServiceCommand

Available in API All versions


Version

Release Version U13

31
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate": "2008-06-22T02:37:00",
"ToDate": "2019-06-26T12:37:00",
"NumberOfRecords": 2
}

32
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "19/May/2020 05:44:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9300,
"EventTimeStamp": "19/May/2020 05:44:02",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserMAC": "10.10.2.84[DSK016][E0D55E09B283]
[BFEBFBFF000906E9][Defaultstring][ACM4.8.5.0]",
"UserSessionID": 6854,
"ServerID": 114150,
"ServerIPAddress": "10.10.0.204",
"ServerUserID": "shabbir_sshk",
"ServerConnectionTypeID": 140,
"ServerConnectionType": "App WinSCP",
"ServerSessionID": 2594,
"Command": "~$ date",
"CommandResponse": "Critical Command with Approval :
Workflow Not Set",
"CommandTimeStamp": "05/07/2019 11:45:01",
"LOBProfile": "DEFAULT LOB 1"
},
{
"EventID": 9300,
"EventTimeStamp": "19/May/2020 05:44:02",
"UserID": 35,
"UserName": "ARCOSADMIN",
"UserMAC": "10.10.2.84[DSK016][E0D55E09B283]
[BFEBFBFF000906E9][Defaultstring][ACM4.8.5.0]",
"UserSessionID": 6854,
"ServerID": 114150,
"ServerIPAddress": "10.10.0.204",
"ServerUserID": "shabbir_sshk",
"ServerConnectionTypeID": 140,
"ServerConnectionType": "App WinSCP",
"ServerSessionID": 2594,
"Command": "~$ date",
"CommandResponse": "Critical Command with Approval :
Workflow Not Set",
"CommandTimeStamp": "05/07/2019 11:45:06",
"LOBProfile": "DEFAULT LOB 1"
}
]

33
PAM API Part 1

Response Time 889 milliseconds

Post Endpoint Call All API's

Supported Features All endpoints

1.2.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

ToDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

NumberOfRecords int Positive Integer value, which will be the count


or number of records returned in the output.
If the total number of records present in the
table is lesser than the count passed here as
input then all records will be displayed.

Response EventID int Auto-generated Id of an event logged by

EventTimeStamp DateTime It is the DateTime value on which this event


was logged.

UserID int This value is for UserId of the ARCON PAM


User

UserName string This value is for the username of ARCON


PAM User

UserMAC string It is a combination of multiple values

Sample Value: 10.10.1.58[DSK034]


[FCAA146863FB]
[BFEBFBFF000306A9]
[TobefilledbyO.E.M.][ACM4.8.5.0]

UserSessionID int This value is for session Id for the user auto-
generated in ARCON PAM

34
PAM API Part 1

Type Parameters Data Type Description

ServerID int This value refers to the ServiceId of for the


service in ARCON PAM.

ServerIPAddress string This value refers to the Ip address of the


service present in ARCON PAM.

ServerUserID string This value refers to the Username of the


service, by which the service is accessed from
ARCON PAM

ServerConnectionTyp int This value refers to the service type id of the


eID service type present in ARCON PAM

ServerConnectionTyp string This value refers to the name of the service


e type.

ServerSessionID int This value refers to the session Id of the


service.

Command string This value refers to the command which was


fired on the server after login by User

CommandResponse string This value refers to the response on the


command fired in the above given ‘Command’
part of the response.

CommandTimeStamp string This value refers to the datetime value in


format ‘MM/DD/YYYY HH:mm:ss’

LOBProfile string This value refers to the name of the LOB


under which the server belongs in ARCON
PAM.

35
PAM API Part 1

1.2.3.2 Code Blocks for '/GetServiceCommand'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://10.10.0.91:9522/api/SIEM/GetServiceAccess",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "bearer eyJ0[... Removed for brevity ....]q0gs",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=2tnfincvojtadstmue25v1sa"
},
"data": JSON.stringify({"FromDate":"2008-06-22T02:37:00","ToDate":"2019-06-26T12:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://10.10.0.91:9522/api/SIEM/GetServiceAccess");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=2tnfincvojtadstmue25v1sa");
request.AddParameter("application/json", "{\n \"FromDate\":
\"2008-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}"
, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

36
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"FromDate\":
\"2008-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}");
Request request = new Request.Builder()
.url("http://10.10.0.91:9522/api/SIEM/GetServiceAccess")
.method("POST", body)
.addHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=2tnfincvojtadstmue25v1sa")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://10.10.0.91:9522/api/SIEM/GetServiceAccess"

payload = "{\n \"FromDate\": \"2008-06-22T02:37:00\",\n \"ToDate\":


\"2019-06-26T12:37:00\",\n \"NumberOfRecords\": 2\n}"
headers = {
'Authorization': 'bearer eyJ0[... Removed for brevity ....]q0gs',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=2tnfincvojtadstmue25v1sa'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.3.3 GetServiceAccess
This API provides information related to access of service made by User, in the specified period of the timeline
given as input in fields of ‘FromDate’ and ‘ToDate’.

Type of Request POST

Endpoint /api/SIEM/GetServiceAccess

Available in API All versions


Version

37
PAM API Part 1

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate": "2008-06-22T02:37:00",
"ToDate": "2019-06-26T12:37:00",
"NumberOfRecords": 2
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "19/May/2020 11:12:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "No Record Found",
"Result": []
}

Response Time 889 milliseconds

Post Endpoint Call All API's

Supported Features All endpoints


1.2.3.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-2
2T02:37:00“

38
PAM API Part 1

Type Parameters Data Type Description

ToDate string DateTime is below


specified format as
string data type

Sample
Value :
“2019-06-2
2T02:37:00“

NumberOfRecords int Positive Integer value,


which will be the
count or number of
records returned in
the output.
If the total number of
records present in the
table is lesser than the
count passed here as
input then all records
will be displayed.

Response EventID int Auto-generated Id of


an event logged by

EventTimeStamp DateTime It is the DateTime


value on which this
event was logged.

UserID int This value is for


UserId of the ARCON
PAM User

UserName string This value is for the


username of ARCON
PAM User

UserDomain string This value is for


Domain Name

39
PAM API Part 1

Type Parameters Data Type Description

UserMAC string It is a combination of


multiple values

Sample
Value:
10.10.1.58[
DSK034]
[FCAA1468
63FB]
[BFEBFBFF
000306A9]
[Tobefilledb
yO.E.M.]
[ACM4.8.5.0
]

UserSessionLoginTimeStamp string Time of session login


date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

UserSessionLogoutTimeStamp string Time of session logout


in date time format as
MM/DD/YYYY
HH:mm:ss in a string
data type

Status string Success or Failure will


be recorded by SIEM
utility, sample value
will be like:

• “Success

• “Authen
tication
Failed“

40
PAM API Part 1

1.2.3.3.2 Code Blocks for '/GetServiceAccess'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetServiceAccess",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "bearer eyJ0[... Removed for brevity ....]q0gs",
"Content-Type": "application/json"
},
"data": JSON.stringify({"FromDate":"2008-06-22T02:37:00","ToDate":"2019-06-26T12:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/GetServiceAccess");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n \"FromDate\":
\"2008-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}"
, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

41
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"FromDate\":
\"2008-06-22T02:37:00\",\n \"ToDate\": \"2019-06-26T12:37:00\",\n
\"NumberOfRecords\": 2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetServiceAccess")
.method("POST", body)
.addHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetServiceAccess"

payload = "{\n \"FromDate\": \"2008-06-22T02:37:00\",\n \"ToDate\":


\"2019-06-26T12:37:00\",\n \"NumberOfRecords\": 2\n}"
headers = {
'Authorization': 'bearer eyJ0[... Removed for brevity ....]q0gs',
'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.4 GetPasswordView
Get Service Password View details by From Date and To Date API.

Type of Request POST

Endpoint /api/SIEM/GetPasswordView

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

42
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2019-06-22T02:37:00",
"ToDate":"2020-07-22T02:37:00",
"NumberOfRecords":2
}

43
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "20/Jul/2020 11:56:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9400,
"EventTimeStamp": "20/Jul/2020 11:56:31",
"UserName": "VASANT",
"UserDomain": "ARCOSAUTH",
"ServerID": 113442,
"ServerIPAddress": "10.10.0.204",
"ServerUserID": "shabbir_sshk",
"ServerConnectionTypeID": 7,
"ServerConnectionType": "SSH LINUX",
"ViewOnTimeStamp": "02/20/2020 12:59:28",
"ViewForHours": 1,
"ViewDescription": "testing ssh key kjskldjskldjsakld",
"AuthbyUserName1": "VASANT",
"AuthbyUserDomain1": "ARCOSAUTH",
"AuthbyUserName2": "",
"AuthbyUserDomain2": "ARCOSAUTH",
"LOBProfile": "DEFAULT LOB 1"
},
{
"EventID": 9400,
"EventTimeStamp": "20/Jul/2020 11:56:31",
"UserName": "ARCOSADMIN",
"UserDomain": "ARCOSAUTH",
"ServerID": 114112,
"ServerIPAddress": "10.10.5.40",
"ServerUserID": "ldapuser",
"ServerConnectionTypeID": 7,
"ServerConnectionType": "SSH LINUX",
"ViewOnTimeStamp": "02/20/2020 12:59:28",
"ViewForHours": 1,
"ViewDescription": "test",
"AuthbyUserName1": "",
"AuthbyUserDomain1": "+",
"AuthbyUserName2": "",
"AuthbyUserDomain2": "",
"LOBProfile": "DEFAULT LOB 1"
}
]
}

44
PAM API Part 1

Response Time 151 milliseconds

Post Endpoint Call None

Supported Features NA

1.2.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

ToDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

NumberOfRecords int Positive Integer value, which will be the count


or number of records returned in the output.
If the total number of records present in the
table is lesser than the count passed here as
input then all records will be displayed.

Response EventID int Auto-generated Id of an event logged by

EventTimeStamp DateTime It is the DateTime value on which this event


was logged.

UserName string This value is for the username of ARCON


PAM User

UserDomain string This value is for Domain Name

ServerID int This value refers to the ServiceId of for the


service in ARCON PAM.

ServerIPAddress string This value refers to the Ip address of the


service present in ARCON PAM.

ServerUserID string This value refers to the Username of the


service, by which the service is accessed from
ARCON PAM

ServerConnectionTyp int This value refers to the id of the service type


eID present in ARCON PAM

45
PAM API Part 1

Type Parameters Data Type Description

ServerConnectionTyp string This value refers to the name of the service


e type.

ViewOnTimeStamp DateTime This value refers to the datetime value in


format ‘MM/DD/YYYY HH:mm:ss’

ViewForHours int

ViewDescription string This value refers to the description of the


password view

AuthByUserName1 string This value is for the username of ARCON


PAM User

AuthByUserDomain1 string This value is for Domain Name

AuthByUserName2 string This value is for the username of ARCON


PAM User

AuthByUserDomain2 string This value is for Domain Name

LOBProfile string This value refers to the name of the LOB


under which the server belongs in ARCON
PAM.

1.2.4.2 Code Blocks for '/GetPasswordView'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetPasswordView",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4pYk",
"Cookie": "ASP.NET_SessionId=ffn125ytdqeygsfoiwosd4rt"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2020-07-22T02:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

46
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/GetPasswordView");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk");
request.AddHeader("Cookie", "ASP.NET_SessionId=ffn125ytdqeygsfoiwosd4rt");
request.AddParameter("application/json", "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",
\n\t\"ToDate\":\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"FromDate\":
\"2019-06-22T02:37:00\",\n\t\"ToDate\":\"2020-07-22T02:37:00\",
\n\t\"NumberOfRecords\":2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetPasswordView")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk")
.addHeader("Cookie", "ASP.NET_SessionId=ffn125ytdqeygsfoiwosd4rt")
.build();
Response response = client.newCall(request).execute();

47
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetPasswordView"

payload = "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",\n\t\"ToDate\":
\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4pYk',
'Cookie': 'ASP.NET_SessionId=ffn125ytdqeygsfoiwosd4rt'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.5 GetServicePasswordChange
Get Service Password Change details by From Date and To Date API.

Type of Request POST

Endpoint /api/SIEM/GetServicePasswordChange

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2019-06-22T02:37:00",
"ToDate":"2020-07-22T02:37:00",
"NumberOfRecords":2
}

48
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "20/Jul/2020 03:41:43",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9500,
"EventTimeStamp": "20/Jul/2020 03:41:43",
"LOBProfile": "DEFAULT LOB 1",
"Status": "Success",
"ServerID": 114130,
"ServerIPAddress": "10.10.0.30",
"ServerUserID": "Abhi",
"ServerConnectionTypeID": 1,
"ServerConnectionType": "Windows RDP",
"PasswordChangedByUserName": "ARCOSADMIN",
"IsPasswordChangedManually": "No",
"PasswordChangedOnTimeStamp": "08/14/2019 14:53:17"
},
{
"EventID": 9500,
"EventTimeStamp": "20/Jul/2020 03:41:43",
"LOBProfile": "DEFAULT LOB 1",
"Status": "Success",
"ServerID": 114130,
"ServerIPAddress": "10.10.0.30",
"ServerUserID": "Abhi",
"ServerConnectionTypeID": 1,
"ServerConnectionType": "Windows RDP",
"PasswordChangedByUserName": "ARCOSADMIN",
"IsPasswordChangedManually": "No",
"PasswordChangedOnTimeStamp": "08/14/2019 14:55:01"
}
]
}

Response Time 500 milliseconds

Post Endpoint Call None

Supported Features NA

49
PAM API Part 1

1.2.5.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

ToDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

NumberOfRecords int Positive Integer value, which will be the count


or number of records returned in the output.
If the total number of records present in the
table is lesser than the count passed here as
input then all records will be displayed.

Response EventID int Auto-generated Id of an event logged by

EventTimeStamp DateTime It is the DateTime value on which this event


was logged.

LOBProfile string This value refers to the name of the LOB


under which the server belongs in ARCON
PAM.

Status string The status value will be like 'success' or


'failure'

ServerID int This value refers to the ServiceId of for the


service in ARCON PAM.

ServerIPAddress string This value refers to the Ip address of the


service present in ARCON PAM.

ServerUserID string This value refers to the Username of the


service, by which the service is accessed from
ARCON PAM

ServerConnectionTyp int This value refers to the id of the service


eID connection type present in ARCON PAM

ServerConnectionTyp string This value refers to the name of the service


e connection type.

PasswordChangedBy string This value is for the username of ARCON


UserName PAM User, by which password was changed

50
PAM API Part 1

Type Parameters Data Type Description

IsPasswordChanged string This value will be like 'Yes' or 'No'


Manually

PasswordChangedOn DateTime This value refers to the datetime value on


TimeStamp which the password was changed

1.2.5.2 Code Blocks for '/GetServicePasswordChange'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetServicePasswordChange",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4pYk"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2020-07-22T02:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/


GetServicePasswordChange");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk");
request.AddParameter("application/json", "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",
\n\t\"ToDate\":\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

51
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"FromDate\":
\"2019-06-22T02:37:00\",\n\t\"ToDate\":\"2020-07-22T02:37:00\",
\n\t\"NumberOfRecords\":2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetServicePasswordChange")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetServicePasswordChange"

payload = "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",\n\t\"ToDate\":
\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4pYk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.6 GetServicePasswordEnvelopePrint
Get Service Password Envelope print details by From Date and To Date API.

Type of Request POST

Endpoint /api/SIEM/GetServicePasswordEnvelopePrint

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

52
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2019-06-22T02:37:00",
"ToDate":"2020-07-22T02:37:00",
"NumberOfRecords":2
}

53
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "20/Jul/2020 05:03:50",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9600,
"EventTimeStamp": "20/Jul/2020 05:03:50",
"LOBProfile": "DEFAULT LOB 1",
"ServerID": 74437,
"ServerIPAddress": "10.10.0.64",
"ServerUserID": "ABHI",
"ServerConnectionTypeID": 1,
"ServerConnectionType": "Windows RDP",
"PrintedByUserName": "ARCOSADMIN",
"PrintedOn": "12/03/2019 18:42:43",
"VerifiedByUserName1": "ABHISHEK",
"VerifiedByUserName2": "ABHISHEK",
"PrintingStatus": "Print To Encrypted File"
},
{
"EventID": 9600,
"EventTimeStamp": "20/Jul/2020 05:03:50",
"LOBProfile": "DEFAULT LOB 1",
"ServerID": 74437,
"ServerIPAddress": "10.10.0.64",
"ServerUserID": "ABHI",
"ServerConnectionTypeID": 1,
"ServerConnectionType": "Windows RDP",
"PrintedByUserName": "ARCOSADMIN",
"PrintedOn": "12/10/2019 17:53:39",
"VerifiedByUserName1": "ABHISHEK",
"VerifiedByUserName2": "ABHISHEK",
"PrintingStatus": "Print To Encrypted File"
}
]
}

Response Time 500 milliseconds

Post Endpoint Call None

Supported Features NA

54
PAM API Part 1

1.2.6.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

ToDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

NumberOfRecords int Positive Integer value, which will be the count


or number of records returned in the output.
If the total number of records present in the
table is lesser than the count passed here as
input then all records will be displayed.

Response EventID int Auto-generated Id of an event logged by

EventTimeStamp DateTime It is the DateTime value on which this event


was logged.

LOBProfile string This value refers to the name of the LOB


under which the server belongs in ARCON
PAM.

ServerID int This value refers to the ServiceId of for the


service in ARCON PAM.

ServerIPAddress string This value refers to the Ip address of the


service present in ARCON PAM.

ServerUserID string This value refers to the Username of the


service, by which the service is accessed from
ARCON PAM

ServerConnectionTyp int This value refers to the id of the service


eID connection type present in ARCON PAM

ServerConnectionTyp string This value refers to the name of the service


e connection type.

PrintedByUserName string This value is for the username of ARCON


PAM User, by which password envelope was
printed

55
PAM API Part 1

Type Parameters Data Type Description

PrintedOn DateTime This value refers to the datetime value on


which the password envelope was printed

VerifiedByUserName string This value is for a username of ARCON PAM


1 User, by which password envelope print was
verified

VerifiedByUserName string This value is for a username of ARCON PAM


2 User, by which password envelope print was
verified

PrintingStatus string This value refers to the status of password


envelope print

1.2.6.2 Code Blocks for '/GetServicePasswordEnvelopePrint'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetServicePasswordEnvelopePrint",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4pYk"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2020-07-22T02:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

56
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/


GetServicePasswordEnvelopePrint");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk");
request.AddParameter("application/json", "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",
\n\t\"ToDate\":\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"FromDate\":
\"2019-06-22T02:37:00\",\n\t\"ToDate\":\"2020-07-22T02:37:00\",
\n\t\"NumberOfRecords\":2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetServicePasswordEnvelopePrint")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk")
.build();
Response response = client.newCall(request).execute();

57
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetServicePasswordEnvelopePrint"

payload = "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",\n\t\"ToDate\":
\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4pYk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.2.7 GetARCOSLog
Get Service Arcos Log details by From Date and To Date API.

Type of Request POST

Endpoint /api/SIEM/GetARCOSLog

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2019-06-22T02:37:00",
"ToDate":"2020-07-22T02:37:00",
"NumberOfRecords":2
}

58
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "20/Jul/2020 05:31:35",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"EventID": 9700,
"EventTimeStamp": "20/Jul/2020 05:31:36",
"UserName": "ARCOSADMIN",
"ObjectType": "Global Configuration",
"OperationType": "Global Configuration",
"TrasactionFor": "Real Time Session Monitoring - Is
Enabled",
"OldValue": "",
"NewValue": "",
"LogTimeStamp": "06/24/2019 13:31:12"
},
{
"EventID": 9700,
"EventTimeStamp": "20/Jul/2020 05:31:36",
"UserName": "ARCOSADMIN",
"ObjectType": "Global Configuration",
"OperationType": "Global Configuration",
"TrasactionFor": "Real Time Session Monitoring - Is
Enabled",
"OldValue": "",
"NewValue": "",
"LogTimeStamp": "06/24/2019 14:52:47"
}
]
}

Response Time 500 milliseconds

Post Endpoint Call None

Supported Features NA

59
PAM API Part 1

1.2.7.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

ToDate string DateTime is below specified format as string


data type

Sample Value :
“2019-06-22T02:37:00“

NumberOfRecords int Positive Integer value, which will be the count


or number of records returned in the output.
If the total number of records present in the
table is lesser than the count passed here as
input then all records will be displayed.

Response EventID int Auto-generated Id of an event logged by

EventTimeStamp DateTime It is the DateTime value on which this event


was logged.

UserName string This value refers to the username of the


ARCON PAM user

ObjectType string

OperationType string

TransactionFor string

OldValue string

NewValue string

LogTimeStamp DateTime This value refers to the datetime value on


which log was generated

60
PAM API Part 1

1.2.7.2 Code Blocks for '/GetARCOSLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/SIEM/GetArcosLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4pYk"
},
"data": JSON.stringify({"FromDate":"2019-06-22T02:37:00","ToDate":"2020-07-22T02:3
7:00","NumberOfRecords":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/SIEM/GetArcosLog");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk");
request.AddParameter("application/json", "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",
\n\t\"ToDate\":\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

61
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"FromDate\":
\"2019-06-22T02:37:00\",\n\t\"ToDate\":\"2020-07-22T02:37:00\",
\n\t\"NumberOfRecords\":2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/SIEM/GetArcosLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4pYk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/SIEM/GetArcosLog"

payload = "{\n\t\"FromDate\":\"2019-06-22T02:37:00\",\n\t\"ToDate\":
\"2020-07-22T02:37:00\",\n\t\"NumberOfRecords\":2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4pYk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3 Service Details


A service is an instance of a server. In ARCON PAM, the routers, firewalls, switches, and databases are some of
the services created to connect to the target server. These services need to be mapped to users. The users
mapped to the services will have the privilege to connect to the target server using these services.
For example, Suppose there are four users Admin, Client, TEST, and UAT on a windows server. Each user may
have a unique requirement of service to perform on the server. Hence, the Administrator will create services
for each of the users. These services are then grouped and mapped to each of the users which helps the
Administrator to manage the services which are mapped to the user. Thereby, also helping the Administrator in
user wise audit trail performed in ARCON PAM.

62
PAM API Part 1

 Before consuming API’s in ServiceDetails section, a JWT Token must be generated and passed in the
header for all API’s given below.
Code samples given use third-party libraries, as given by 'Postman Rest Client' which are as follows:
1. For C# using Rest-Sharp, https://www.nuget.org/packages/RestSharp/105.2.3
2. For Java using OK HTTP: https://square.github.io/okhttp/
3. For Python
a. Using HTTP client: https://docs.python.org/3/library/http.client.html
b. Using requests: https://pypi.org/project/requests/

ARCON does not take any responsibility for any bugs/vulnerabilities in the third-party libraries
neither does ARCON recommend usage for these third-party libraries. Similar code can be done in
native languages respectively for achieving the same results.

1.3.1 GetLAConfigSetting
This API is used to fetch data of Log Archival Setting.

Type of Request POST

Endpoint /api/ServiceDetails/GetLAConfigSetting

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"APS_Id": 80
}

63
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "22/May/2020 09:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"aps_defaultvalue": 1
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of log archival setting
present in ARCON PAM

Response aps_defaultvalue int This value refers to the default value of the log
archival setting present in ARCON PAM

64
PAM API Part 1

1.3.1.2 Code Blocks for '/GetLAConfigSetting'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetLAConfigSetting",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": ["application/x-www-form-urlencoded", "text/plain"],
"Authorization": "Bearer eyJ0eXAiOiJKV1[.... Removed for brevity ....]XLIK7-
Od9qYdk"
},
"data": "{\nAPS_Id:80\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetLAConfigSetting");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Authorization", "Bearer eyJ0eXAiOiJKV1[.... Removed for
brevity ....]XLIK7-Od9qYdk");
request.AddHeader("Content-Type", "text/plain");
request.AddParameter("application/x-www-form-urlencoded,text/plain",
"{\nAPS_Id:80\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

65
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded,text/plain")
;
RequestBody body = RequestBody.create(mediaType, "{\nAPS_Id:80\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetLAConfigSetting")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Authorization", "Bearer eyJ0eXAiOiJKV1[.... Removed for
brevity ....]XLIK7-Od9qYdk")
.addHeader("Content-Type", "text/plain")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetLAConfigSetting"

payload = "{\nAPS_Id:80\n}"
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Bearer eyJ0eXAiOiJKV1[.... Removed for brevity ....]XLIK7-
Od9qYdk',
'Content-Type': 'text/plain'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.2 SetVideoFileName
This API is used to set the video file name.

Type of Request POST

Endpoint /api/ServiceDetails/SetVideoFileName

Available in API All versions


Version

66
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"APS_Id": 80,
"Action_Type": "UpdateVideoFileName",
"VideofileName": "163521.wmv"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/May/2020 10:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": []
}

Response Time 274 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of the service log in
ARCON PAM

Action_Type string Type of action to be taken in string format

Sample Value : 'UpdateVideoFileName'

67
PAM API Part 1

Type Parameters Data Type Description

VideofileName string Name of the Video File in string format

Response Success boolean Success value will be like 'true' or 'false'

1.3.2.2 Code Blocks for ‘/SetVideoFileName’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetVideoFileName",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": ["application/x-www-form-urlencoded", "text/plain"],
"Authorization": "Bearer eyJ0[....Removed for brevity....]b5yY"
},
"data": "{\nAPS_Id:80,\n \"Action_Type\" :\"UpdateVideoFileName\",\n
\"VideofileName\" :\"163521.wmv\"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetVideoFileName");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY");
request.AddHeader("Content-Type", "text/plain");
request.AddParameter("application/x-www-form-urlencoded,text/plain",
"{\nAPS_Id:80,\n \"Action_Type\" :\"UpdateVideoFileName\",\n
\"VideofileName\" :\"163521.wmv\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

68
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded,text/plain")
;
RequestBody body = RequestBody.create(mediaType, "{\nAPS_Id:80,\n
\"Action_Type\" :\"UpdateVideoFileName\",\n \"VideofileName\" :
\"163521.wmv\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetVideoFileName")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY")
.addHeader("Content-Type", "text/plain")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetVideoFileName"

payload = "{\nAPS_Id:80,\n \"Action_Type\" :\"UpdateVideoFileName\",\n


\"VideofileName\" :\"163521.wmv\"\n}"
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]b5yY',
'Content-Type': 'text/plain'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.3 SetServiceOffboarding
This API call is to deboard service from ACMO.

Type of Request POST

Endpoint /api/ServiceDetails/SetServiceOffboarding

Available in API All versions


Version

69
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"IPAddress":"10.10.0.48",
"ServiceTypeID":"1"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/May/2020 12:00:14",
"Success": true,
"ErrorCode": "",
"ErrorMessage": "",
"Message": "Service Disabled Successfully",
"Result": null
}

Response Time 20 milliseconds

Post Endpoint Call All API's

Supported Features VRA

1.3.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request IPAddress string This value refers to the Ip address of the service
present in ARCON PAM

ServiceTypeID string This value refers to the id of the service type


present in ARCON PAM

Response Message string This value refers to a success or failure message

70
PAM API Part 1

1.3.3.2 Code Blocks for ‘/SetServiceOffboarding’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOffboarding",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": ["application/json", "text/plain"],
"Authorization": "Bearer eyJ0[....Removed for brevity....]b5yY"
},
"data": "{\nIPAddress:\"10.10.0.48\",\nServiceTypeID:\"1\"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetServiceOffboarding");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY");
request.AddHeader("Content-Type", "text/plain");
request.AddParameter("application/json,text/plain", "{\nIPAddress:\"10.10.0.48\",
\nServiceTypeID:\"1\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

71
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json,text/plain");
RequestBody body = RequestBody.create(mediaType, "{\nIPAddress:\"10.10.0.48\",
\nServiceTypeID:\"1\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOffboarding")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOffboarding"

payload = "{\nIPAddress:\"10.10.0.48\",\nServiceTypeID:\"1\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]b5yY',
'Content-Type': 'text/plain'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.4 GetLobwiseVideopath
This API is used to get the video path and return a response as true.

Type of Request POST

Endpoint /api/ServiceDetails/Getlobwisevideopath

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

72
PAM API Part 1

Request Params • • • •

Headers Content-Type application/json Mandatory •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
"aps_id": 168,
"Action_Type" :"SESSIONVIDEOPATH"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/May/2020 04:15:42",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"lob_sls_id": 44,
"lob_sls_lobid": 29,
"lob_sls_islogviewerweb": "True",
"lob_sls_lvw_webdturl": "http://10.10.0.0:0000",
"lob_sls_archivalVideoPath": "",
"lob_sls_isactive": "True",
"lob_sls_webdavVideoPath": "http://10.10.0.0:0000/ABNCv",
"lob_sls_webdavUserName": "testkanchan2",
"lob_sls_webdavPassword": "test kanchan",
"lob_sls_webdavDomain": "test kanchan0"
}
}

Response Time 274 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

73
PAM API Part 1

1.3.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of the service log in
ARCON PAM

Action_Type string Type of action to be taken in string format

Sample Value : 'SESSIONVIDEOPATH'

Response lob_sls_id int

lob_sls_lobid int

lob_sls_islogviewerweb string

lob_sls_lvw_webdturl string

lob_sls_archivalVideoPa string
th

lob_sls_isactive string

lob_sls_webdavVideoPa string
th

lob_sls_webdavUserNa string
me

lob_sls_webdavPasswor string
d

lob_sls_webdavDomain string

74
PAM API Part 1

1.3.4.2 Code Blocks for ‘/GetLobwiseVideopath’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/Getlobwisevideopath",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": ["application/json", "text/plain"],
"Authorization": "Bearer eyJ0[....Removed for brevity....]b5yY"
},
"data": "{\naps_id:168,\nAction_Type:\"SessionVideoPath\"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


Getlobwisevideopath");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY");
request.AddHeader("Content-Type", "text/plain");
request.AddParameter("application/json,text/plain", "{\naps_id:168,\nAction_Type:
\"SessionVideoPath\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

75
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json,text/plain");
RequestBody body = RequestBody.create(mediaType, "{\naps_id:168,\nAction_Type:
\"SessionVideoPath\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/Getlobwisevideopath")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]b5yY")
.addHeader("Content-Type", "text/plain")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/Getlobwisevideopath"

payload = "{\naps_id:168,\nAction_Type:\"SessionVideoPath\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]b5yY',
'Content-Type': 'text/plain'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.5 GetActiveServicesByLOBId
This API is called to get all active services details which are available in the requested LOB ID.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByLOBId

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

76
PAM API Part 1

Request Params -- - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBId": 2
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "26/May/2020 02:00:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 - Records Found",
"Result": [{
"ServiceId": 114109,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "administrator",
"Password": null,
"DomainName": "10.00.0.00",
"Instance": "",
"Port": "3129",
"ServerHostName": "WIN2K8R2ENT_SQL.ANBGLOBALDC.COM",
"ServerIp": "10.00.0.00",
"CreatedOn": "07/17/2019 16:29:05",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
}]
}

Response Time 627 milliseconds

Post Endpoint Call NA

Supported Features NA

77
PAM API Part 1

1.3.5.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

Response ServiceId int This value refers to the id of the service present
in ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service


present in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

78
PAM API Part 1

1.3.5.2 Code Blocks for ‘/GetActiveServicesByLOBId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2Ras"
},
"data": "{\n\tLOBId:2\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByLOBId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras");
request.AddParameter("application/json", "{\n\tLOBId:2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

79
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLOBId:2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId"

payload = "{\n\tLOBId:2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.6 GetActiveServicesByGroupId
This API is called to get all active services details which are available in the requested Group Id.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByGroupId

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params • • • •

80
PAM API Part 1

Headers Content-Type application/x-www- Mandatory •


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
GroupId: 2
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "26/May/2020 04:00:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 - Records Found",
"Result": [
{
"ServiceId": 113380,
"ServiceTypeId": 12,
"ServiceType": "Oracle QA",
"UserName": "user1",
"Password": null,
"DomainName": "10.10.0.154",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.154",
"ServerIp": "10.00.0.000",
"CreatedOn": "03/19/2019 14:53:47",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "<CMD>",
"Parameter4": ""
}]
}

Response Time 358 milliseconds

Post Endpoint Call NA

Supported Features NA

81
PAM API Part 1

1.3.6.1 Data Types of Request and Response

Type Parameters Data Type Description

Request GroupId int This value refers to the id of Group under which
the service belongs in ARCON PAM

Response ServiceId int This value refers to the id of the service present
in ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service


present in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

82
PAM API Part 1

1.3.6.2 Code Blocks for ‘/GetActiveServicesByGroupId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
"data": "{\n\tGroupId:1\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByGroupId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("application/json", "{\n\tGroupId:1\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

83
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tGroupId:1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId"

payload = "{\n\tGroupId:1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.7 GetActiveServicesByLOBIdAndGroupId
This API is called to get all active services details which are available in the requested LOB ID and Group ID.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByLOBIdAndGroupId

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

84
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... -


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBId": 2,
"GroupId": 6
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "26/May/2020 06:00:41",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 - Records Found",
"Result": [{
"ServiceId": 114231,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "user1",
"Password": null,
"DomainName": "10.00.0.00",
"Instance": "",
"Port": "22",
"ServerHostName": "10.00.0.00",
"ServerIp": "10.00.0.00",
"CreatedOn": "10/15/2019 17:26:59",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
}]
}

Response Time 214 milliseconds

Post Endpoint Call NA

Supported Features NA

85
PAM API Part 1

1.3.7.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

GroupId int This value refers to the id of Group under which


the service belongs in ARCON PAM

Response ServiceId int This value refers to the id of the service present
in ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service


present in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

86
PAM API Part 1

1.3.7.2 Code Blocks for ‘/GetActiveServicesByLOBIdAndGroupId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
"data": "{\n\tLobId:2,\n\tGroupId:6\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByLobIdAndGroupId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("application/json", "{\n\tLobId:2,\n\tGroupId:6\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

87
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLobId:2,\n\tGroupId:6\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId"

payload = "{\n\tLobId:2,\n\tGroupId:6\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.8 GetLogManagerSetting
This API is used to fetch data of Log Manager Setting.

Type of Request POST

Endpoint /api/ServiceDetails/GetLogManagerSetting

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

88
PAM API Part 1

Request Params • • • •

Headers Content-Type • • •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/May/2020 04:15:42",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [{
"sal_width": 1920,
"sal_height": 1080,
"sal_nooffilesatatime": 100,
"sal_serviceinteval": 60000,
"sal_backuppath": "F:\\ARCOSUserAccessLogViewerWeb\\",
"sal_foldername": "ARCOSLogManagerServiceLog",
"sal_logimagetype": "1",
"sal_isencryptionenabled": false,
"sal_encryptionvalue": 100
}]
}

Response Time 376 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.8.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response sal_width int

sal_height int

sal_nooffilesatatim int This value refers to the number of files allowed at


e a time

sal_serviceinterval int

89
PAM API Part 1

Type Parameters Data Type Description

sal_backuppath string This value refers to the backup path for the logs
in ARCON PAM

sal_foldername string This value refers to the folder name of the logs in
ARCON PAM

sal_logimagetype string

sal_isencryptionena bool This value refers to whether encryption is


bled enabled for logs

sal_encryptionvalue int

1.3.8.2 Code Blocks for ‘/GetLogManagerSetting’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetLogManagerSetting",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetLogManagerSetting");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("text/plain", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

90
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetLogManagerSetting")
.method("POST", body)
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetLogManagerSetting"

payload = {}
headers = {
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.9 GetFolderTime
This API is used to get the folder time and return a response as true.

Type of Request POST

Endpoint /api/ServiceDetails/GetFolderTime

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params • • • •

Headers Content-Type application/json Mandatory •

91
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
"APS_Id": 80,
"Action_Type": "selectFolderDatetime"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/May/2020 06:00:42",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [{
"ssl_log_id": "80",
"ssl_id": "263",
"ssl_service_id": "2",
"ssl_service_logged_in": "4/6/2018 5:53:11 PM",
"ssl_service_logged_out": "4/6/2018 5:53:49 PM",
"ssl_timestamped_on": "4/6/2018 5:53:12 PM",
"ssl_ust_id_workflow": "",
"ssl_logout_flag": "Logout",
"IsValidForVideoLog": "1"
}]
}

Response Time 316 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.9.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of the service log in
ARCON PAM

Action_Type string Type of action to be taken in string format

Sample value : 'selectFolderDatetime'

92
PAM API Part 1

Type Parameters Data Type Description

Response ssl_log_id string This value refers to the id of the service log in
ARCON PAM

ssl_id string

ssl_service_id string This value refers to the id of the service present in


ARCON PAM

ssl_service_logged_ string Time of service login in date time format as string


in data type

ssl_service_logged_ string Time of service logout in date time format as string


out data type

ssl_timestamped_o string
n

ssl_ust_id_workflo string
w

ssl_logout_flag string This value refers to the logout flag for service in
ARCON PAM

The sample value will be like


• Logout
• TimerUpdate

IsValidForVideoLo string This value will be like ‘true' or 'false’


g

93
PAM API Part 1

1.3.9.2 Code Blocks for ‘/GetFolderTime’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetFolderTime",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
"data": JSON.stringify({"APS_Id":80,"Action_Type":"selectFolderDateTime"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetFolderTime");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("application/json", "{\n\t\"APS_Id\" : 80,\n\t\"Action_Type\" :
\"selectFolderDateTime\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

94
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"APS_Id\" :
80,\n\t\"Action_Type\" : \"selectFolderDateTime\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetFolderTime")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetFolderTime"

payload = "{\n\t\"APS_Id\" : 80,\n\t\"Action_Type\" : \"selectFolderDateTime\"\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.10 GetVideoFileName
This API is used to fetch data of Video Log Filename.

Type of Request POST

Endpoint /api/ServiceDetails/GetVideoFileName

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

95
PAM API Part 1

Request Params • • • •

Headers Content-Type application/x-www- Mandatory •


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
"APS_Id": 80
}

96
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/May/2020 01:00:41",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [{
"LOBName": "YgJQVp1B70t8YFoKohqoTaIaEjz9+7SPwztdg0jCS/Y=",
"LOBDesc": "zryWoHw/bbumnjRpvna7gg==",
"IPAddress": null,
"LoggedIn": null,
"IsValidForVideoLog": null,
"Year": "2018",
"Month": "04",
"Day": "06",
"ARCOS_Session_Details": null,
"FileName": "2018_04_06_80.avi",
"Service_Type": "AIX",
"Started_On": null,
"ssl_log_id": 80,
"ssl_VideoFileName": "",
"enrpt_Initiated_By_User_ID":
"zxhueEyY6J1bRBW46xVNwZTiBs8qJj3wlJwPFgKbNg4=",
"enrpt_Initiated_By_User_Name":
"LOoDxf64twGvHgYxvUEs4WjlruEDSz3pwdOi52vhUIU=",
"enrpt_Serivce_IP": "a+cq4tAxCAwqUhpNPDIWlw==",
"enrpt_Serivce_Host_Name": "2wpwzHH0P+/
0e6t9SxVh+Yk+6v8F7+1JA06NwOIeXx/
3bAg5pBEplwRw6Esb6ZWgz3fYLVeQynfyaaMfGv13zA==",
"enrpt_Serivce_User": "nJfa5aBiEoF9df/7y5/tsw==",
"enrpt_Serivce_DB_Instance": "2CsXRhAnVl74jSQVvu0VLA=="
}]
}

Response Time 256 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.10.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of the video log in
ARCON PAM

Response LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

97
PAM API Part 1

Type Parameters Data Type Description

LOBDesc string This value refers to the description of the LOB


profile present in ARCON PAM

IPAddress string

LoggedIn string

IsValidForVideoLog string

Year string

Month string

Day string

ARCOS_Session_De string
tails

FileName string This value refers to the name of the video file

Service_Type string This value refers to the type of service present in


ARCON PAM

Started_On string

ssl_log_id int

ssl_VideoFileName string

enrpt_Initiated_By_ string
User_ID

enrpt_Initiated_By_ string
User_Name

enrpt_Serivce_IP string This value refers to the IP address of the service


present in ARCON PAM

enrpt_Serivce_Host string This value refers to the hostname of the service


_Name present in ARCON PAM

enrpt_Serivce_User string This value refers to the username of the service


present in ARCON PAM

enrpt_Serivce_DB_I string This value refers to the DB instance of the service


nstance present in ARCON PAM

98
PAM API Part 1

1.3.10.2 Code Blocks for ‘/GetVideoFileName’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetVideoFileName",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": "Bearer eyJ0[... Removed for brevity ...]2Ras"
},
"data": "{\nAPS_Id:80\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetVideoFileName");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]2Ras");
request.AddParameter("application/x-www-form-urlencoded", "{\nAPS_Id:80\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

99
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "{\nAPS_Id:80\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetVideoFileName")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetVideoFileName"

payload = "{\nAPS_Id:80\n}"
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Bearer eyJ0[... Removed for brevity ...]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.11 SetServiceOnboarding
This API is used to fetch data of Video Log File name.

Type of Request POST

Endpoint /api/ServiceDetails/SetServiceOnboarding

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params • • • •

100
PAM API Part 1

Headers Content-Type application/json Mandatory •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
"LOBID": "NOIDA1",
"ServerGroupName": "DTH-DARTS",
"Hostname": "N2PL-PA-RPT101",
"IPAddress": "10.10.0.110",
"Domain": "oneairtel",
"ServiceTypeId": "WindowsRDP",
"DBInstanceName": "",
"Port": "",
"ServiceUserName": "arcos_user",
"ServicePassword": "[... Removed for brevity ....]",
"ValidTilldate": "",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": true,
"Minimumpasswordage": 30,
"Maximumpasswordage": 90,
"UseGlobalPasswordPolicy": true,
"AllowScheduledPasswordChange": true,
"AutoMapUsersInUserGroup": true,
"RequestorUserID": "arcosadmin",
"RequestorDomain": "testarcos"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/May/2020 04:00:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Service Created Successfully",
"Result": null
}

Response Time 20 milliseconds

Post Endpoint Call All API's

101
PAM API Part 1

Supported Features VRA

1.3.11.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID int This value refers to the id of LOB under which the
service belongs in ARCON PAM

ServerGroupName string This value refers to the name of the Group under
which service belongs in ARCON PAM

Hostname string This value refers to the hostname of the service


present in ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

Domain string This value refers to the domain name of the


service present in ARCON PAM

ServiceTypeId string This value refers to the id of the service type


present in ARCON PAM

DBInstanceName string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

ServicePassword string This value refers to the password of the service


present in ARCON PAM

ValidTilldate DateTime This value refers to the date time up to which


service will be valid

Description1 string

Description2 string

Description3 string

Parameter string

AllowPasswordCha Boolean This value refers to whether the password is


nge allowed to change

Minimumpassword string This value refers to the minimum password


age validity

Maximumpassword string This value refers to the maximum password


age validity

102
PAM API Part 1

Type Parameters Data Type Description

UseGlobalPasswor Boolean This value refers to whether a global password


dPolicy policy should be used for this service password

AllowScheduledPas Boolean
swordChange

AutoMapUsersInUs string This value refers to whether automatically map


erGroup user in a user group

RequestorUserID string This value refers to the id of the user by which


service is requested

RequestorDomain string This value refers to the domain name by which


the service is requested

Response Message string This value refers to the success or failure


message

1.3.11.2 Code Blocks for ‘/SetServiceOnboarding’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOnboarding",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]2Ras"
},
"data": "{\n\t\"LOBID\":\"NOIDA123\",\n \"ServerGroupName\":\"DTH-DARTS123\",\n
\"Hostname\":\"N2PL-PA-RPT101123\",\n \"IPAddress\":\"10.11.0.11\",\n
\"Domain\":\"oneairtel123\",\n \"ServiceTypeId\":\"WindowsRDP123\",\n
\"DBInstanceName\":\"\",\n \"Port\":\"1234\",\n \"ServiceUserName\":
\"arcos_user123\",\n \"ServicePassword\":\"user@12345\",\n \"ValidTilldate\":
\"\",\n \"Description1\":\"\",\n \"Description2\":\"\",\n \"Description3\":
\"\",\n \"Parameter\":\"\",\n \"AllowPasswordChange\":true,\n
\"Minimumpasswordage\":30,\n \"Maximumpasswordage\":90,\n
\"UseGlobalPasswordPolicy\":true,\n \"AllowScheduledPasswordChange\":true,\n
\"AutoMapUsersInUserGroup\":true,\n \"RequestorUserID\":\"arcosadmin123\",\n
\"RequestorDomain\":\"testarcos123\"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

103
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetServiceOnboarding");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]2Ras");
request.AddParameter("application/x-www-form-urlencoded", "{\n\t\"LOBID\":
\"NOIDA123\",\n \"ServerGroupName\":\"DTH-DARTS123\",\n \"Hostname\":\"N2PL-
PA-RPT101123\",\n \"IPAddress\":\"10.11.0.11\",\n \"Domain\":\"oneairtel123\",
\n \"ServiceTypeId\":\"WindowsRDP123\",\n \"DBInstanceName\":\"\",\n
\"Port\":\"1234\",\n \"ServiceUserName\":\"arcos_user123\",\n
\"ServicePassword\":\"user@12345\",\n \"ValidTilldate\":\"\",\n
\"Description1\":\"\",\n \"Description2\":\"\",\n \"Description3\":\"\",\n
\"Parameter\":\"\",\n \"AllowPasswordChange\":true,\n
\"Minimumpasswordage\":30,\n \"Maximumpasswordage\":90,\n
\"UseGlobalPasswordPolicy\":true,\n \"AllowScheduledPasswordChange\":true,\n
\"AutoMapUsersInUserGroup\":true,\n \"RequestorUserID\":\"arcosadmin123\",\n
\"RequestorDomain\":\"testarcos123\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

104
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"LOBID\":\"NOIDA123\",\n
\"ServerGroupName\":\"DTH-DARTS123\",\n \"Hostname\":\"N2PL-PA-RPT101123\",\n
\"IPAddress\":\"10.11.0.11\",\n \"Domain\":\"oneairtel123\",\n
\"ServiceTypeId\":\"WindowsRDP123\",\n \"DBInstanceName\":\"\",\n \"Port\":
\"1234\",\n \"ServiceUserName\":\"arcos_user123\",\n \"ServicePassword\":
\"user@12345\",\n \"ValidTilldate\":\"\",\n \"Description1\":\"\",\n
\"Description2\":\"\",\n \"Description3\":\"\",\n \"Parameter\":\"\",\n
\"AllowPasswordChange\":true,\n \"Minimumpasswordage\":30,\n
\"Maximumpasswordage\":90,\n \"UseGlobalPasswordPolicy\":true,\n
\"AllowScheduledPasswordChange\":true,\n \"AutoMapUsersInUserGroup\":true,\n
\"RequestorUserID\":\"arcosadmin123\",\n \"RequestorDomain\":
\"testarcos123\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOnboarding")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

105
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceOnboarding"

payload = "{\n\t\"LOBID\":\"NOIDA123\",\n \"ServerGroupName\":\"DTH-DARTS123\",\n


\"Hostname\":\"N2PL-PA-RPT101123\",\n \"IPAddress\":\"10.11.0.11\",\n
\"Domain\":\"oneairtel123\",\n \"ServiceTypeId\":\"WindowsRDP123\",\n
\"DBInstanceName\":\"\",\n \"Port\":\"1234\",\n \"ServiceUserName\":
\"arcos_user123\",\n \"ServicePassword\":\"user@12345\",\n \"ValidTilldate\":
\"\",\n \"Description1\":\"\",\n \"Description2\":\"\",\n \"Description3\":
\"\",\n \"Parameter\":\"\",\n \"AllowPasswordChange\":true,\n
\"Minimumpasswordage\":30,\n \"Maximumpasswordage\":90,\n
\"UseGlobalPasswordPolicy\":true,\n \"AllowScheduledPasswordChange\":true,\n
\"AutoMapUsersInUserGroup\":true,\n \"RequestorUserID\":\"arcosadmin123\",\n
\"RequestorDomain\":\"testarcos123\"\n}"
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.12 CloseARCOSGateway
This API is used to close the Arcos gateway port.

Type of Request POST

Endpoint /api/ServiceDetails/CloseARCOSGateway

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

106
PAM API Part 1

x-PAM-Version - Not Applicable -

Body
{
"SessionId": 9001
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 06:23:25",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Port closed successfully.",
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.12.1 Data Types of Request and Response

Type Parameters Data Type Description

Request SessionId int This value refers to the id of the login session in
ARCON PAM

Response Message string This value refers to a success or failure message

107
PAM API Part 1

1.3.12.2 Code Blocks for '/CloseARCOSGateway'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/CloseARCOSGateway",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": ["application/x-www-form-urlencoded", "text/plain"],
"Authorization": "Bearer eyJ0eXAiOiJKV1[.... Removed for brevity ....]XLIK7-
Od9qYdk"
},
"data": "{\nSessionId:9001\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


CloseARCOSGateway");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Authorization", "Bearer eyJ0eXAiOiJKV1[.... Removed for
brevity ....]XLIK7-Od9qYdk");
request.AddHeader("Content-Type", "text/plain");
request.AddParameter("application/x-www-form-urlencoded,text/plain",
"{\nSessionId:9001\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

108
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded,text/plain")
;
RequestBody body = RequestBody.create(mediaType, "{\nSessionId:9001\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/CloseARCOSGateway")
.method("POST", body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Authorization", "Bearer eyJ0eXAiOiJKV1[.... Removed for
brevity ....]XLIK7-Od9qYdk")
.addHeader("Content-Type", "text/plain")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/CloseARCOSGateway"

payload = "{\nSessionId:9001\n}"
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Bearer eyJ0eXAiOiJKV1[.... Removed for brevity ....]XLIK7-
Od9qYdk',
'Content-Type': 'text/plain'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.13 GetAlertMessage
This API is used to get an alert message.

Type of Request POST

Endpoint /api/ServiceDetails/GetAlertMessage

Available in API All versions


Version

109
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 06:55:18",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "<p>ABC<br></p>"
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.13.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response Result string This value refers to an alert message

110
PAM API Part 1

1.3.13.2 Code Blocks for '/GetAlertMessage'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetAlertMessage",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetAlertMessage");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetAlertMessage")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

111
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetAlertMessage"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.14 GetAllServiceType
This API is used to fetch all service types in ARCON PAM

Type of Request POST

Endpoint /api/ServiceDetails/GetAllServiceType

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

112
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 07:22:30",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "211 - Records Found",
"Result": [
{
"ServiceTypeId": "0",
"ServiceType": "SSH Telnet"
},
{
"ServiceTypeId": "1",
"ServiceType": "Windows RDP"
},
{
"ServiceTypeId": "2",
"ServiceType": "MS SQL EM - Local"
},
{
"ServiceTypeId": "3",
"ServiceType": "Sybase QA"
},
{
"ServiceTypeId": "4",
"ServiceType": "MySQL QA"
},
{
"ServiceTypeId": "5",
"ServiceType": "Telnet ROUTER"
},
{
"ServiceTypeId": "6",
"ServiceType": "SSH UNIX"
},
{
"ServiceTypeId": "7",
"ServiceType": "SSH LINUX"
},
{
"ServiceTypeId": "8",
"ServiceType": "DB2 QA"
},
{
"ServiceTypeId": "9",
"ServiceType": "AIX"
},
{

113
PAM API Part 1

"ServiceTypeId": "10",
"ServiceType": "IBM AS 400"
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.14.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response ServiceTypeId int This value refers to the id of the service type
present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

1.3.14.2 Code Blocks for '/GetAllServiceType'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetAllServiceType",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

114
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetAllServiceType");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetAllServiceType")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetAllServiceType"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

115
PAM API Part 1

1.3.15 GetAssignedServiceList
This API is used to fetch a list of services assigned to an ARCON PAM user.

Type of Request POST

Endpoint /api/ServiceDetails/GetAssignedServiceList

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35,
"ServiceTypeId":1
}

116
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 08:23:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "53 - Records Found",
"Result": [
{
"ServiceId": "114221",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceDisplayName": "[email protected]:10.10.0.126-
Windows RDP",
"ServiceUsername": "Pratap.Patil",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 1
},
{
"ServiceId": "114222",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceDisplayName": "[email protected]:10.10.0.127-
Windows RDP",
"ServiceUsername": "Pratap.Patil",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,

117
PAM API Part 1

"Description": null,
"AccessType": 1
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.15.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

IPAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the host name of the ARCON
PAM service

ServiceType string This value refers to the type of service of the


ARCON PAM service

ServiceDisplayNam string This value refers to the display name of the


e ARCON PAM service

ServiceUsername string This value refers to the username of the ARCON


PAM service

Instance string This value refers to the instance name of the


ARCON PAM service

Field1 string

Field2 string

Field3 string

Field4 string

118
PAM API Part 1

Type Parameters Data Type Description

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

ServiceRename string

IconString string

Color string

Description string

AccessType int This value refers to the access type of the service

1.3.15.2 Code Blocks for '/GetAssignedServiceList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
"data": JSON.stringify({"UserId":35,"ServiceTypeId":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

119
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetAssignedServiceList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddParameter("application/json",
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

120
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList"

payload = "{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.16 GetConfigCommand
This API is used to fetch a command by providing ServiceTypeId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetConfigCommand

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceTypeID":1
}

121
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 03:10:08",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ServiceCommandID": 965,
"ServiceTypeID": 1,
"CommandText": "ARCOS-HW-SystemScreen"
},
{
"ServiceCommandID": 966,
"ServiceTypeID": 1,
"CommandText": "ARCOS-HW-SystemScreenX768"
},
{
"ServiceCommandID": 995,
"ServiceTypeID": 1,
"CommandText": "ARCOS-TS-Monitor"
},
{
"ServiceCommandID": 790,
"ServiceTypeID": 1,
"CommandText": "DisableLog"
},
{
"ServiceCommandID": 946,
"ServiceTypeID": 1,
"CommandText": "EnableRDPConsole"
},
{
"ServiceCommandID": 957,
"ServiceTypeID": 1,
"CommandText": "RedirectClipboard"
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

122
PAM API Part 1

1.3.16.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceTypeID int This value refers to the id of the service type
present in ARCON PAM

Response ServiceCommandI int This value refers to the id of the service command
D present in ARCON PAM

ServiceTypeID int This value refers to the id of the service type


present in ARCON PAM

CommandText string This value refers to the command text of the


ARCON PAM service

1.3.16.2 Code Blocks for '/GetConfigCommand'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetConfigCommand",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
"data": JSON.stringify({"ServiceTypeID":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetConfigCommand");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddParameter("application/json", "{\n\t\"ServiceTypeID\":1\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

123
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"ServiceTypeID\":1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetConfigCommand")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetConfigCommand"

payload = "{\n\t\"ServiceTypeID\":1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.17 GetConfigDetails
This API is used to fetch config details by providing UserId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetConfigDetails

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

124
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35
}

125
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 03:45:16",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": {
"ImageWidth": "1920",
"ImageHeight": "1080",
"ImageQuality": "100",
"SessionImageCaptureFrequency": "1000",
"SessionLockoutTime": "30",
"IsRDPVideoLogThreadingEnabled": true,
"AllowRDPWithoutTSMoniter": false,
"ServiceType": [
{
"ServiceId": "9",
"ServiceType": "AIX"
},
{
"ServiceId": "116",
"ServiceType": "App ArcSight Console"
},
{
"ServiceId": "176",
"ServiceType": "App ASE Client"
},
{
"ServiceId": "70",
"ServiceType": "App Check Point"
}
],
"AllowClipboardToAll": true,
"AcmoUrl": "https://10.10.0.91:5521",
"RdpOption": [
{
"Id": 1,
"OptionName": "Terminal"
},
{
"Id": 2,
"OptionName": "Console"
},
{
"Id": 4,
"OptionName": "Windows Apps"
}
],

126
PAM API Part 1

"IsDelegationVisible": true
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.17.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

Response ImageWidth int

ImageHeight int

ImageQuality int

SessionImageCaptu int
reFrequency

SessionLockoutTim int
e

IsRDPVideoLogThr bool
eadingEnabled

AllowRDPWithout bool
TSMoniter

ServiceType list

AllowClipboardToA bool
ll

AcmoUrl string

RdpOption list

IsDelegationVisible bool

127
PAM API Part 1

1.3.17.2 Code Blocks for '/GetConfigDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetConfigDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
"data": JSON.stringify({"UserId":35}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetConfigDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddParameter("application/json", "{\n\t\"UserId\":35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

128
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"UserId\":35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetConfigDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetConfigDetails"

payload = "{\n\t\"UserId\":35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.18 GetLDAPDomainDetails
This API is used to fetch domain details present in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetLDAPDomainDetails

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

129
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 05:50:24",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "3 - Records Found",
"Result": [
{
"DomainServerIP": "10.11.1.111",
"DomainName": "DOMAIN1",
"DomainExtension": "COM",
"LDAPDomainString": "LDAP://10.11.1.111/DC=DOMAIN1,DC=COM"
},
{
"DomainServerIP": "10.11.1.112",
"DomainName": "DOMAIN2",
"DomainExtension": "COM",
"LDAPDomainString": "LDAP://10.11.1.112/DC=DOMAIN2,DC=COM"
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.18.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response DomainServerIP string This value refers to the IP address of the domain
server present in ARCON PAM

DomainName string This value refers to the name of the domain


server present in ARCON PAM

130
PAM API Part 1

Type Parameters Data Type Description

DomainExtension string This value refers to domain server extension


present in ARCON PAM

LDAPDomainString string This value refers to the LDAP string of the


domain server present in ARCON PAM

1.3.18.2 Code Blocks for '/GetLDAPDomainDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetLDAPDomainDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetLDAPDomainDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

131
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetLDAPDomainDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetLDAPDomainDetails"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.19 GetRecentServices
This API is used to fetch recently accessed services by providing UserId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetRecentServices

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

132
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35,
"NoOfRecentConnections":2
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 06:38:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ssl_service_id": "114385"
},
{
"ssl_service_id": "114148"
}
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.19.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

NoOfRecentConne int This value refers to the number of records


ctions returned in the output

Response ssl_service_id int This value refers to the id of the service present in
ARCON PAM

133
PAM API Part 1

1.3.19.2 Code Blocks for '/GetRecentServices'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetRecentServices",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
"data": JSON.stringify({"UserId":35,"NoOfRecentConnections":2}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetRecentServices");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
request.AddParameter("application/json",
"{\n\t\"UserId\":35,\n\t\"NoOfRecentConnections\":2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

134
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"NoOfRecentConnections\":2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetRecentServices")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetRecentServices"

payload = "{\n\t\"UserId\":35,\n\t\"NoOfRecentConnections\":2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.20 GetServerDetailsFromOSName
This API is used to fetch server details by providing service type in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServerDetailsFromOSName

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

135
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/ServiceDetails/
Paramete GetServerDetailsFromOSName?ServiceType=Windows
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 07:29:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "304 - Records Found",
"Result": [
{
"ServerHostName": "MTEST",
"ServerIp": "10.22.10.22",
"ServiceTypeId": "1",
"PortNo": "3389"
},
{
"ServerHostName": "SERVER1",
"ServerIp": "10.11.5.40",
"ServiceTypeId": "1",
"PortNo": "3389"
},
{
"ServerHostName": "SERVER2",
"ServerIp": "10.11.5.180",
"ServiceTypeId": "1",
"PortNo": "3389"
},
{
"ServerHostName": "TESTSERVER",
"ServerIp": "10.11.5.160",
"ServiceTypeId": "1",
"PortNo": "3389"
}
]
}

Response Time 325 milliseconds

136
PAM API Part 1

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.20.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

Response ServerHostName string This value refers to the hostname of the service
present in ARCON PAM

ServerIp string This value refers to IP address of the service


present in ARCON PAM

ServiceTypeId int This value refers to the type of the service


present in ARCON PAM

PortNo int This value refers to the port number of the


service present in ARCON PAM

1.3.20.2 Code Blocks for '/GetServerDetailsFromOSName'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServerDetailsFromOSName?
ServiceType=Windows",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

137
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServerDetailsFromOSName?ServiceType=Windows");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServerDetailsFromOSName?
ServiceType=Windows")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServerDetailsFromOSName?
ServiceType=Windows"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

138
PAM API Part 1

1.3.21 GetServiceDetailsBySessionId
This API is used to fetch service details by providing session-id in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetailsBySessionId

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/ServiceDetails/
Paramete GetServiceDetailsBySessionId?sessionId=2227
r

139
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Jul/2020 08:46:15",
"Success": true,
"ErrorCode": "203-SDC-GSDSI",
"ErrorMessage": null,
"Message": null,
"Result": {
"ServiceSessionId": null,
"ServiceWindowTitle": "10.10.0.64@ABHI:WIN2K8R2ENT_SQL-
WindowsRDP",
"IpAddress": "10.10.0.64",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"HostName": "WIN2K8R2ENT_SQL",
"Port": "3389",
"ServiceUsername": "ABHI",
"ServicePassword": "pass@123",
"InstanceName": "",
"ServiceID": "74437",
"ServiceType": "WindowsRDP",
"ServiceTypeId": "1",
"ServiceSubType": null,
"Description": "10.10.0.64@ABHI:WIN2K8R2ENT_SQL-WindowsRDP",
"UseGatewayServer": "false",
"GatewayServerIp": " 0 0 0 0 ",
"GatewayServerPort": null,
"GatewayServerUsername": null,
"GatewayServerPassword": null,
"PuttyWebServiceUrl": "",
"LaunchParameters": null,
"IsEnableVideoLog": false,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": "TT",
"Field2": "TT",
"Field3": "TT",
"Field4": "",
"ServiceSessiontimeout": "120000",
"RestrictedCommands": [],
"RestrictedProcesses": null,
"IsImageBasedSSO": false,
"ImageId": "0",
"UseServiceId": "74437",
"RDPOptions": false,
"DynamicPort": "False"
}
}

Response Time 325 milliseconds

140
PAM API Part 1

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.21.1 Data Types of Request and Response

Type Parameters Data Type Description

Request sessionId int This value refers to the id of the login session in
ARCON PAM

Response ServiceSessionId int This value refers to the session id of the ARCON
PAM service

ServiceWindowTitl string
e

IpAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the hostname of the ARCON


PAM service

Port int This value refers to the port number of the


ARCON PAM service

ServiceUserName string This value refers to the username of the ARCON


PAM service

ServicePassword string This value refers to the password of the ARCON


PAM service

InstanceName string This value refers to the instance name of the


ARCON PAM service

ServiceId int This value refers to the id of the ARCON PAM


service

ServiceType string This value refers to the type of the ARCON PAM
service

ServiceTypeId int This value refers to the id of the service type in


ARCON PAM

ServiceSubType string This value refers to a subtype of the service in


ARCON PAM

Description string This value refers to the description of the


ARCON PAM service

UseGatewayServer bool This value refers to whether to user gateway


server to access service

141
PAM API Part 1

Type Parameters Data Type Description

GatewayServerIp string This value refers to the IP address of the gateway


server

GatewayServerPort int This value refers to the port number of the


gateway server

GatewayServerUse string This value refers to the username of the gateway


rname server

GatewayServerPas string This value refers to the password of the gateway


sword server

PuttyWebServiceU string
rl

LaunchParameters string

IsEnableVideoLog bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string

Field2 string

Field3 string

Field4 string

ServiceSessionTime int This value refers to the timeout of the login


out session of the ARCON PAM service

RestrictedComman string
ds

RestrictedProcesse string
s

IsImageBasedSSO bool

ImageId int

UseServiceId int

RDPOptions bool

DynamicPort bool

142
PAM API Part 1

1.3.21.2 Code Blocks for '/GetServiceDetailsBySessionId'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetServiceDetailsBySessionId?sessionId=2227",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetailsBySessionId?sessionId=2227");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

143
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsBySessionId?
sessionId=2227")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsBySessionId?
sessionId=2227"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.22 GetServiceDetailsFromSession
This API is used to fetch service details by providing service session id in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetailsFromSession

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

144
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionId":"2227"
}

145
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "31/Jul/2020 02:20:39",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"ServiceSessionId": "2227",
"ServiceWindowTitle": "10.10.0.64@ABHI:WIN2K8R2ENT_SQL-
WindowsRDP",
"IpAddress": "10.10.0.64",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"HostName": "WIN2K8R2ENT_SQL",
"Port": "3389",
"ServiceUsername": "ABHI",
"ServicePassword": "pass@123",
"InstanceName": null,
"ServiceID": "74437",
"ServiceType": "WindowsRDP",
"ServiceTypeId": "1",
"ServiceSubType": null,
"Description": "10.10.0.64@ABHI:WIN2K8R2ENT_SQL-WindowsRDP",
"UseGatewayServer": "false",
"GatewayServerIp": " 0 0 0 0 ",
"GatewayServerPort": null,
"GatewayServerUsername": null,
"GatewayServerPassword": null,
"PuttyWebServiceUrl": "",
"LaunchParameters": "73f/rHVRDbBpXyk5+5ZqAA==
jvzsBK9JBXDfrSrRS8SnagwPRa9gC0wk1W+x1U+s9dY= ta/
gOrPFmfIE1+ZqdP93FA==
BlvFEPnR+3liIuHxXCNs+jWCUQ7Uoffl2lVCIAPp1WW14EkhQdb4ofBIc1eIsEcO
MSVTcDdpY7hclW8x52EJ8ZocjLDeVQMsILblt85ULBQ=
mIacmRt48pu6VGcuMekodtXIyHJHy9GSaIYZDga3l0b8KmI1VxDccdMUeakcvsINe+
5w5Z4Wh3y0iPXRqjTRI/
r6lMWCDpfUiKKus5xC0XQ+JuMn7CduKYRpPHQMTi8rWvVPZFGKSagjCzfoVe8Jz63i
3+uDNfzaBpumIMqZGMQkiMrCUUEfETle0HQrmFU65AaVsp9VoHMuAIyrXFG6GA==
KSy69AzlQL0I9yUnAz/kHA== KSy69AzlQL0I9yUnAz/kHA== 0 0 0 0
KSy69AzlQL0I9yUnAz/kHA== oaW4Bhz1495ZvmZDlK58nQ== sN0An51B/
D2BuT0TEi3589Ek4ANYm3B8iXMKU1q7fQebtdBQozdrv81SDiRofV/
SGZ5Zit6xNEG37Jx5KKH7dOLDqQhiiQKHJQKhuaVXMCKotOC0QMHBKF1ruTuo/
NYttlUIbcb5qmzUPALSc26/Og== h9cU65TyshG06WvxAhqrHA==
RDJe9L0DBUYu7TNdkEVmDw== mIacmRt48pu6VGcuMekodrflpkT/
dMgv3q2OQGCBN+h1cKdKWERvBm4OA5Lib5NMMbvfAJVvzhV59rX2i9PagA==",
"IsEnableVideoLog": true,
"fromdate": null,
"todate": null,
"OneTimeServiceId": 0,

146
PAM API Part 1

"fromtime": null,
"totime": null,
"timedifference": 0.0,
"accesstype": 0,
"OpenInFrame": true,
"IsUserLockToConsole": true,
"IsKeyEnabled": false,
"Field1": "TT",
"Field2": "TT",
"Field3": "TT",
"Field4": "",
"ServiceSessiontimeout": "120000",
"EncryptedSessionId": "73f/rHVRDbBpXyk5+5ZqAA==",
"AcmoWebServiceURL": "https://10.10.0.91:5521/ARCOSWebAPI/
ARCOSSessionCommandLogAPI.asmx",
"APPEXE": "ARCOSRDPTerminal.exe",
"RestrictedCommands": [
"regedit.exe",
"taskmgr.exe",
"RedirectClipboard",
"ARCOS-TS-Monitor"
],
"RestrictedProcesses": null
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.22.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the session id of the ARCON
PAM service

Response ServiceSessionId int This value refers to the session id of the ARCON
PAM service

ServiceWindowTitl string
e

IpAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the hostname of the ARCON


PAM service

147
PAM API Part 1

Type Parameters Data Type Description

Port int This value refers to the port number of the


ARCON PAM service

ServiceUserName string This value refers to the username of the ARCON


PAM service

ServicePassword string This value refers to the password of the ARCON


PAM service

InstanceName string This value refers to the instance name of the


ARCON PAM service

ServiceId int This value refers to the id of the ARCON PAM


service

ServiceType string This value refers to the type of the ARCON PAM
service

ServiceTypeId int This value refers to the id of the service type in


ARCON PAM

ServiceSubType string This value refers to a subtype of the service in


ARCON PAM

Description string This value refers to the description of the


ARCON PAM service

UseGatewayServer bool This value refers to whether to user gateway


server to access service

GatewayServerIp string This value refers to the IP address of the gateway


server

GatewayServerPort int This value refers to the port number of the


gateway server

GatewayServerUse string This value refers to the username of the gateway


rname server

GatewayServerPas string This value refers to the password of the gateway


sword server

PuttyWebServiceU string
rl

LaunchParameters string

IsEnableVideoLog bool

Fromdate DateTime This value refers to the start date of the service
session

148
PAM API Part 1

Type Parameters Data Type Description

Todate DateTime This value refers to the end date of the service
session

OneTimeServiceId int

Fromtime DateTime This value refers to the start time of the service
session

Totime DateTime This value refers to the end time of the service
session

TimeDifference int

AccessType int

OpenInFrame bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string

Field2 string

Field3 string

Field4 string

ServiceSessionTime int This value refers to the timeout of the login


out session of the ARCON PAM service

EncryptedSessionId string

AcmoWebServiceU string
rl

APPEXE string

RestrictedComman string
ds

RestrictedProcesse string
s

149
PAM API Part 1

1.3.22.2 Code Blocks for '/GetServiceDetailsFromSession'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetServiceDetailsFromSession",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]OIFc"
},
"data": JSON.stringify({"ServiceSessionId":"2227"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetailsFromSession");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]OIFc");
request.AddParameter("application/json", "{\r\n \"ServiceSessionId\":
\"2227\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

150
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceSessionId\":
\"2227\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsFromSession")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]OIFc")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsFromSession"

payload = "{\r\n \"ServiceSessionId\":\"2227\"\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]OIFc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.23 GetTemplateScreenDetails
This API is used to fetch template screen details in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetTemplateScreenDetails

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

151
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"APS_Id":1
}

152
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "31/Jul/2020 04:06:02",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"SessionDetails": [],
"ConfigDetails": [
{
"ConfigID": 1,
"ConfigName": "Initiated By (User ID)"
},
{
"ConfigID": 2,
"ConfigName": "Initiated By (User Display Name)"
},
{
"ConfigID": 3,
"ConfigName": "Initiated From (Machine Details )"
},
{
"ConfigID": 4,
"ConfigName": "Service Type"
},
{
"ConfigID": 5,
"ConfigName": "Service IP Address"
},
{
"ConfigID": 6,
"ConfigName": "Service Hostname"
},
{
"ConfigID": 7,
"ConfigName": "Service User Name"
},
{
"ConfigID": 8,
"ConfigName": "Service DB Instance"
},
{
"ConfigID": 9,
"ConfigName": "Service Port Number"
},
{
"ConfigID": 10,
"ConfigName": "Connection Type"

153
PAM API Part 1

}
]
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.23.1 Data Types of Request and Response

Type Parameters Data Type Description

Request APS_Id int This value refers to the id of the ARCON PAM
configuration

Response SessionDetails list This value refers to a list of the sessions in


ARCON PAM

ConfigDetails list This value contains a list of id and name of the


config settings in ARCON PAM

1.3.23.2 Code Blocks for '/GetTemplateScreenDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetTemplateScreenDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
"data": JSON.stringify({"APS_Id":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

154
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetTemplateScreenDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
request.AddParameter("application/json", "{\n\t\"APS_Id\":1\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"APS_Id\":1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetTemplateScreenDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetTemplateScreenDetails"

payload = "{\n\t\"APS_Id\":1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

155
PAM API Part 1

1.3.24 OpenARCOSGateway
This API is used to open the Arcos gateway port.

Type of Request POST

Endpoint /api/ServiceDetails/OpenARCOSGateway

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBProfile":"DEFAULT LOB 1",
"ServerIP":"192.168.0.241",
"ServiceType":"WindowsRDP",
"UserName":"Administrator",
"IsUseCustomPort":"false"
}

156
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Aug/2020 09:59:14",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Open/Connected successfully",
"Result": {
"ARCOSVPNServerObject": null,
"SSHServerIPAddress": null,
"SSHServerPort": null,
"SSHServerUserName": null,
"SSHServerUserPassword": null,
"ForwardingLocalIP": "10.10.0.171",
"ForwardingLocalPort": "13587",
"ForwardingRemoteIPAddress": "192.168.0.241",
"ForwardingRemotePort": "33891",
"IsConnected": false,
"AWBServerIPAddress": null,
"AWBServerPort": null,
"AWBServerUserName": null,
"AWBServerUserPassword": null
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.24.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBProfile string This value refers to the name of the LOB profile
present in ARCON PAM

ServerIP string This value refers to the IP address of the service


mapped to LOB

ServiceType string This value refers to the type of service mapped to


LOB

UserName string This value refers to the username of the service


mapped to LOB

IsUseCustomPort bool This value will be like ‘true' or 'false’

CustomPort int If the 'IsUseCustomPort' value is true then the


custom port number should be provided

157
PAM API Part 1

Type Parameters Data Type Description

Response ARCOSVPNServer string


Object

SSHServerIPAddres string
s

SSHServerPort int

SSHServerUserNa string
me

SSHServerUserPass string
word

ForwardingLocalIP string

ForwardingLocalPo int
rt

ForwardingRemote string
IPAddress

ForwardingRemote int
Port

IsConnected bool

AWBServerIPAddr string
ess

AWBServerPort int

AWBServerUserNa string
me

AWBServerUserPa string
ssword

158
PAM API Part 1

1.3.24.2 Code Blocks for '/OpenARCOSGateway'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/OpenARCOSGateway",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]t8bU"
},
"data": JSON.stringify({"LOBProfile":"DEFAULT LOB 1","ServerIP":"192.168.0.241","S
erviceType":"WindowsRDP","UserName":"Administrator","IsUseCustomPort":"false"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


OpenARCOSGateway");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU");
request.AddParameter("application/json", "{\r\n \"LOBProfile\":\"DEFAULT LOB 1\",
\r\n \"ServerIP\":\"192.168.0.241\",\r\n \"ServiceType\":\"WindowsRDP\",\r\n
\"UserName\":\"Administrator\",\r\n \"IsUseCustomPort\":\"false\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

159
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"LOBProfile\":\"DEFAULT
LOB 1\",\r\n \"ServerIP\":\"192.168.0.241\",\r\n \"ServiceType\":
\"WindowsRDP\",\r\n \"UserName\":\"Administrator\",\r\n \"IsUseCustomPort\":
\"false\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/OpenARCOSGateway")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/OpenARCOSGateway"

payload = "{\r\n \"LOBProfile\":\"DEFAULT LOB 1\",\r\n \"ServerIP\":


\"192.168.0.241\",\r\n \"ServiceType\":\"WindowsRDP\",\r\n \"UserName\":
\"Administrator\",\r\n \"IsUseCustomPort\":\"false\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]t8bU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.25 ResendOTP
This API is used to regenerate OTP for dual-factor authentication of ARCON PAM users.

Type of Request POST

Endpoint /api/ServiceDetails/ResendOTP

Available in API All versions


Version

160
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"SessionID":1,
"FAAccessType":4
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Aug/2020 06:34:38",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": {
"OTP": null,
"Challenge": null,
"Executable": null,
"LaunchParameters": null
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.25.1 Data Types of Request and Response

Type Parameters Data Type Description

Request SessionId int This value refers to the id of the user session
present in ARCON PAM

161
PAM API Part 1

Type Parameters Data Type Description

FAAccessType int This value refers to the type of dual-factor


authentication present in ARCON PAM

Response OTP string

Challenge string

Executable string

LaunchParameters string

1.3.25.2 Code Blocks for '/ResendOTP'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/ResendOtp",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]t8bU"
},
"data": JSON.stringify({"SessionID":1,"FAAccessType":4}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


ResendOtp");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU");
request.AddParameter("application/json", "{\r\n \"SessionID\":1,\r\n
\"FAAccessType\":4\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

162
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"SessionID\":1,\r\n
\"FAAccessType\":4\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/ResendOtp")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/ResendOtp"

payload = "{\r\n \"SessionID\":1,\r\n \"FAAccessType\":4\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]t8bU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.26 SetRDPSessionProcessLog
This API is used to insert the process log of the RDP session in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/SetRDPSessionProcessLog

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

163
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionId":56,
"UserSessionId":4,
"ServiceID":1,
"UserID":35,
"ProcessName":"explorer",
"ProcessTitle":"Start menu",
"ProcessLogType":"5",
"LogResponse":"Test",
"LogNo":"1"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Aug/2020 09:05:39",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.26.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the session id of the service
present in ARCON PAM

UserSessionId int This value refers to the session id of the user


present in ARCON PAM

164
PAM API Part 1

Type Parameters Data Type Description

ServiceId int This value refers to the id of the service present in


ARCON PAM

UserId int This value refers to the id of the ARCON PAM


user

ProcessName string This value refers to the name of the process in


ARCON PAM

ProcessTitle string This value refers to the title for the process log

ProcessLogType int This value refers to a type of the process log

LogResponse string This value refers to the response of the process


log

LogNo int This value refers to the number of the process log

Response Result string This value will be like ‘Success' or 'Failure’

1.3.26.2 Code Blocks for '/SetRDPSessionProcessLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetRDPSessionProcessLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]t8bU"
},
"data": JSON.stringify({"ServiceSessionId":56,"UserSessionId":4,"ServiceID":1,"Use
rID":35,"ProcessName":"explorer","ProcessTitle":"Start menu","ProcessLogType":"5","L
ogResponse":"Test","LogNo":"1"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

165
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetRDPSessionProcessLog");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU");
request.AddParameter("application/json", "{\r\n \"ServiceSessionId\":56,\r\n
\"UserSessionId\":4,\r\n \"ServiceID\":1,\r\n \"UserID\":35,\r\n
\"ProcessName\":\"explorer\",\r\n \"ProcessTitle\":\"Start menu\",\r\n
\"ProcessLogType\":\"5\",\r\n \"LogResponse\":\"Test\",\r\n \"LogNo\":
\"1\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceSessionId\":56,\r\n \"UserSessionId\":4,\r\n \"ServiceID\":1,\r\n
\"UserID\":35,\r\n \"ProcessName\":\"explorer\",\r\n \"ProcessTitle\":\"Start
menu\",\r\n \"ProcessLogType\":\"5\",\r\n \"LogResponse\":\"Test\",\r\n
\"LogNo\":\"1\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetRDPSessionProcessLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU")
.build();
Response response = client.newCall(request).execute();

166
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetRDPSessionProcessLog"

payload = "{\r\n \"ServiceSessionId\":56,\r\n \"UserSessionId\":4,\r\n


\"ServiceID\":1,\r\n \"UserID\":35,\r\n \"ProcessName\":\"explorer\",\r\n
\"ProcessTitle\":\"Start menu\",\r\n \"ProcessLogType\":\"5\",\r\n
\"LogResponse\":\"Test\",\r\n \"LogNo\":\"1\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]t8bU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.27 SetRelativePath
This API is used to update the relative path of the service log in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/SetRelativePath

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

167
PAM API Part 1

Body
{
"SessionLogId":1,
"RelativePath":"LOB 1\\2020\\01\\29\\2020_01_29_1234.Mp4"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Aug/2020 09:43:09",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": null
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.27.1 Data Types of Request and Response

Type Parameters Data Type Description

Request SessionLogId int This value refers to the id of the session log of
service present in ARCON PAM

RelativePath int This value refers to the relative path of the


service session log present in ARCON PAM

Response Success string This value will be like ‘true' or 'false’

168
PAM API Part 1

1.3.27.2 Code Blocks for '/SetRelativePath'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetRelativePath",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"SessionLogId":1,"RelativePath":"LOB 1\\2020\\01\\29\
\2020_01_29_1234.Mp4"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetRelativePath");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"SessionLogId\":1,\r\n
\"RelativePath\":\"LOB 1\\\\2020\\\\01\\\\29\\\\2020_01_29_1234.Mp4\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

169
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"SessionLogId\":1,\r\n
\"RelativePath\":\"LOB 1\\\\2020\\\\01\\\\29\\\\2020_01_29_1234.Mp4\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetRelativePath")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetRelativePath"

payload = "{\r\n \"SessionLogId\":1,\r\n \"RelativePath\":\"LOB 1\\\\2020\\\


\01\\\\29\\\\2020_01_29_1234.Mp4\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.28 SetServiceSessionLogout
This API is used to logout from the service session.

Type of Request POST

Endpoint /api/ServiceDetails/SetServiceSessionLogout

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

170
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionID":1,
"LogoutDateTime":"08/04/2020 10:42:00",
"LogoutMessage":"Logout"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Aug/2020 11:08:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.28.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the id of the session log of
service present in ARCON PAM

LogoutDateTime DateTime This value refers to the logout time of the service
session

LogoutMessage string This value refers to the logout flag in ARCON


PAM. Sample Value : 'Logout'

Response Result string This value will be like ‘Success' or 'Failure’

171
PAM API Part 1

1.3.28.2 Code Blocks for '/SetServiceSessionLogout'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogout",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"ServiceSessionID":1,"LogoutDateTime":"08/04/2020
10:42:00","LogoutMessage":"Logout"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetServiceSessionLogout");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"ServiceSessionID\":1,\r\n
\"LogoutDateTime\":\"08/04/2020 10:42:00\",\r\n \"LogoutMessage\":
\"Logout\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

172
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceSessionID\":1,\r\n \"LogoutDateTime\":\"08/04/2020 10:42:00\",\r\n
\"LogoutMessage\":\"Logout\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogout")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogout"

payload = "{\r\n \"ServiceSessionID\":1,\r\n \"LogoutDateTime\":\"08/04/2020


10:42:00\",\r\n \"LogoutMessage\":\"Logout\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.29 SetServiceSessionLogoutV2
This API is used to logout from the service session.

Type of Request POST

Endpoint /api/ServiceDetails/SetServiceSessionLogoutV2

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

173
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionID":1,
"LogoutDateTimeEpoch":10,
"LogoutMessage":"Logout"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Aug/2020 02:27:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.29.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the id of the session log of
service present in ARCON PAM

LogoutDateTimeEp double This value refers to the logout time of the service
och session

LogoutMessage string This value refers to the logout flag in ARCON


PAM. Sample Value : 'Logout'

Response Result string This value will be like ‘Success' or 'Failure’

174
PAM API Part 1

1.3.29.2 Code Blocks for '/SetServiceSessionLogoutV2'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogoutV2",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"ServiceSessionID":1,"LogoutDateTimeEpoch":10,"LogoutMessa
ge":"Logout"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetServiceSessionLogoutV2");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"ServiceSessionID\":1,\r\n
\"LogoutDateTimeEpoch\":10,\r\n \"LogoutMessage\":\"Logout\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

175
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceSessionID\":1,\r\n \"LogoutDateTimeEpoch\":10,\r\n \"LogoutMessage\":
\"Logout\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogoutV2")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetServiceSessionLogoutV2"

payload = "{\r\n \"ServiceSessionID\":1,\r\n \"LogoutDateTimeEpoch\":10,\r\n


\"LogoutMessage\":\"Logout\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.30 SetUserSessionLogout
This API is used to logout from the user session.

Type of Request POST

Endpoint /api/ServiceDetails/SetUserSessionLogout

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

176
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserSessionId":1,
"UserId":35,
"LogoutDateTime":"08/04/2020 03:52:00",
"LogoutMessage":"Logout"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Aug/2020 04:08:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.30.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserSessionId int This value refers to the id of the session log of the
user present in ARCON PAM

UserId int This value refers to the id of the ARCON PAM


user

LogoutDateTime DateTime This value refers to the logout time of the user
session

177
PAM API Part 1

Type Parameters Data Type Description

LogoutMessage string This value refers to the logout flag in ARCON


PAM. Sample Value : 'Logout'

Response Result string This value will be like ‘Success' or 'Failure’

1.3.30.2 Code Blocks for '/SetUserSessionLogout'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogout",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"UserSessionId":1,"UserId":35,"LogoutDateTime":"08/04/2020
03:52:00","LogoutMessage":"Logout"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetUserSessionLogout");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"UserSessionId\":1,\r\n
\"UserId\":35,\r\n \"LogoutDateTime\":\"08/04/2020 03:52:00\",\r\n
\"LogoutMessage\":\"Logout\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

178
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserSessionId\":1,\r\n
\"UserId\":35,\r\n \"LogoutDateTime\":\"08/04/2020 03:52:00\",\r\n
\"LogoutMessage\":\"Logout\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogout")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogout"

payload = "{\r\n \"UserSessionId\":1,\r\n \"UserId\":35,\r\n


\"LogoutDateTime\":\"08/04/2020 03:52:00\",\r\n \"LogoutMessage\":
\"Logout\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.31 SetUserSessionLogoutV2
This API is used to logout from the user session.

Type of Request POST

Endpoint /api/ServiceDetails/SetUserSessionLogoutV2

Available in API All versions


Version

Release Version U3

179
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserSessionId":1,
"UserId":35,
"LogoutDateTimeEpoch":"10",
"LogoutMessage":"Logout"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Aug/2020 05:16:14",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.31.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserSessionId int This value refers to the id of the session log of the
user present in ARCON PAM

UserId int This value refers to the id of the ARCON PAM


user

180
PAM API Part 1

Type Parameters Data Type Description

LogoutDateTimeEp double This value refers to the logout time of the user
och session

LogoutMessage string This value refers to the logout flag in ARCON


PAM. Sample Value : 'Logout'

Response Result string This value will be like ‘Success' or 'Failure’

1.3.31.2 Code Blocks for '/SetUserSessionLogoutV2'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogoutV2",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"UserSessionId":1,"UserId":35,"LogoutDateTimeEpoch":10,"Lo
goutMessage":"Logout"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetUserSessionLogoutV2");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"UserSessionId\":1,\r\n
\"UserId\":35,\r\n \"LogoutDateTimeEpoch\":10,\r\n \"LogoutMessage\":
\"Logout\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

181
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserSessionId\":1,\r\n
\"UserId\":35,\r\n \"LogoutDateTimeEpoch\":10,\r\n \"LogoutMessage\":
\"Logout\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogoutV2")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetUserSessionLogoutV2"

payload = "{\r\n \"UserSessionId\":1,\r\n \"UserId\":35,\r\n


\"LogoutDateTimeEpoch\":10,\r\n \"LogoutMessage\":\"Logout\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.32 UpdateUserPassword
This API is used to update the user password.

Type of Request POST

Endpoint /api/ServiceDetails/UpdateUserPassword

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

182
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"userName":"User12",
"oldPassword":"User12",
"newPassword":"User@1234"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Aug/2020 06:45:54",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "Password Changed Successfully"
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.32.1 Data Types of Request and Response

Type Parameters Data Type Description

Request userName string This value refers to the username of the ARCON
PAM user

oldPassword string This value refers to the current password of the


ARCON PAM user

newPassword string This value refers to a new password which is to be


updated for the ARCON PAM user

Response Result string This value refers to a success or failure message

183
PAM API Part 1

1.3.32.2 Code Blocks for '/UpdateUserPassword'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/UpdateUserPassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"userName":"User12","oldPassword":"User12","newPassword":"
User@1234"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


UpdateUserPassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"userName\":\"User12\",\r\n
\"oldPassword\":\"User12\",\r\n \"newPassword\":\"User@1234\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

184
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"userName\":\"User12\",
\r\n \"oldPassword\":\"User12\",\r\n \"newPassword\":\"User@1234\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/UpdateUserPassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/UpdateUserPassword"

payload = "{\r\n \"userName\":\"User12\",\r\n \"oldPassword\":\"User12\",\r\n


\"newPassword\":\"User@1234\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.33 SetSessionCommandLog
This API is used to set logs for session commands in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/SetSessionCommandLog

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

185
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionId":5,
"CommandType":"[sshlinux@lnxrh5_arconsrv]$ date",
"CommandResponse":"Restricted Command"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Aug/2020 01:01:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.33.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the id of the session log of
service present in ARCON PAM

CommandType string This value refers to the command which was fired
on the server after login by User

CommandResponse string This value refers to the response on the command


fired in the above given ‘CommandType’

Response Result string This value will be like ‘Success' or 'Failure’

186
PAM API Part 1

1.3.33.2 Code Blocks for '/SetSessionCommandLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetSessionCommandLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9QVM"
},
"data": JSON.stringify({"ServiceSessionId":5,"CommandType":"[sshlinux@lnxrh5_arcon
srv]$ date","CommandResponse":"Restricted Command"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetSessionCommandLog");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9QVM");
request.AddParameter("application/json", "{\r\n \"ServiceSessionId\":5,\r\n
\"CommandType\":\"[sshlinux@lnxrh5_arconsrv]$ date\",\r\n \"CommandResponse\":
\"Restricted Command\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

187
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceSessionId\":5,\r\n \"CommandType\":\"[sshlinux@lnxrh5_arconsrv]$ date\",
\r\n \"CommandResponse\":\"Restricted Command\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetSessionCommandLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9QVM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetSessionCommandLog"

payload = "{\r\n \"ServiceSessionId\":5,\r\n \"CommandType\":


\"[sshlinux@lnxrh5_arconsrv]$ date\",\r\n \"CommandResponse\":\"Restricted
Command\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9QVM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.34 SetSessionVideoLog
This API is used to set logs for session video in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/SetSessionVideoLog

Available in API All versions


Version

Release Version U3

188
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceSessionId":5,
"Base64image":"Test"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Aug/2020 03:23:13",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": [
"Success"
]
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.34.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceSessionId int This value refers to the id of the session log of
service present in ARCON PAM

Base64Image string This value refers to the video log on the server
after login by User

Response Result string This value will be like ‘Success' or 'Failure’

189
PAM API Part 1

1.3.34.2 Code Blocks for '/SetSessionVideoLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetSessionVideoLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9QVM"
},
"data": JSON.stringify({"ServiceSessionId":5,"Base64image":"Test"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetSessionVideoLog");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9QVM");
request.AddParameter("application/json", "{\r\n \"ServiceSessionId\":5,\r\n
\"Base64image\":\"Test\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

190
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceSessionId\":5,\r\n \"Base64image\":\"Test\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetSessionVideoLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9QVM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetSessionVideoLog"

payload = "{\r\n \"ServiceSessionId\":5,\r\n \"Base64image\":\"Test\"\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9QVM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.35 ValidateOTP
This API is used to validate OTP for dual-factor authentication of ARCON PAM users.

Type of Request POST

Endpoint /api/ServiceDetails/ValidateOTP

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

191
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"SessionID":1,
"FAAccessType":4
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Aug/2020 08:55:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Validation Successful",
"Result": null
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.35.1 Data Types of Request and Response

Type Parameters Data Type Description

Request SessionId int This value refers to the id of the user session
present in ARCON PAM

FAAccessType int This value refers to the type of dual-factor


authentication present in ARCON PAM

Response Message string This value refers to a success or failure message

192
PAM API Part 1

1.3.35.2 Code Blocks for '/ValidateOTP'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/ValidateOTP",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]t8bU"
},
"data": JSON.stringify({"SessionID":1,"FAAccessType":4}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


ValidateOTP");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU");
request.AddParameter("application/json", "{\r\n \"SessionID\":1,\r\n
\"FAAccessType\":4\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

193
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"SessionID\":1,\r\n
\"FAAccessType\":4\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/ValidateOTP")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]t8bU")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/ValidateOTP"

payload = "{\r\n \"SessionID\":1,\r\n \"FAAccessType\":4\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]t8bU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.36 ActiveSessionCount
This API is used to fetch the count of active sessions in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/ActiveSessionCount

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

194
PAM API Part 1

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "10/Aug/2020 12:19:52",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "No Record Found",
"Result": []
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.36.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response SessionId int This value refers to the id of the service session in
ARCON PAM

RemoteAddress string This value refers to the IP address of the service


present in ARCON PAM

ServiceDescription string This value refers to a description of the service


present in ARCON PAM

ServicePort string This value refers to the port number of the


service present in ARCON PAM

195
PAM API Part 1

1.3.36.2 Code Blocks for '/ActiveSessionCount'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/ActiveSessionCount",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


ActiveSessionCount");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/ActiveSessionCount")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

196
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/ActiveSessionCount"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.37 AuthenticateUser
This API is used to validate the user for authentication in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/AuthenticateUser

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

197
PAM API Part 1

Body
{
"UserName":"User12",
"Password":"User@1234",
"DomainName":"ATSTESTDC",
"IPAddress":"10.10.1.123",
"IPMacAddress":"AB:CD:34:EF:GH:12",
"ConnectionType":"ACMOCLI"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Aug/2020 08:55:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Validation Successful",
"Result": null
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.37.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value refers to the username of the ARCON
PAM user

Password string This value refers to the password of the ARCON


PAM user

DomainName string This value refers to the domain of the ARCON


PAM user

IPAddress string This value refers to IP address from which the


user logged in to ARCON PAM

IPMacAddress string This value refers to mac address from which the
user logged in to ARCON PAM

ConnectionType string This value refers to the what type of connection


user taken, (AG,ACMOCLI)

Response Message string This value refers to a success or failure message

198
PAM API Part 1

1.3.37.2 Code Blocks for '/AuthenticateUser'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"UserName":"Pra12","Password":"Pra@1234","DomainName":"ATS
TESTDC","IPAddress":"10.10.1.123","IPMacAddress":"AB:CD:34:EF:GH:12",
"ConnectionType":"ACMOCLI"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


AuthenticateUser");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"UserName\":\"Pra12\",\r\n
\"Password\":\"Pra@1234\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n,
\r\n \"ConnectionType\":\"ACMOCLI\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

199
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserName\":\"Pra12\",
\r\n \"Password\":\"Pra@1234\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n,
\r\n \"ConnectionType\":\"ACMOCLI\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser"

payload = "{\r\n \"UserName\":\"Pra12\",\r\n \"Password\":\"Pra@1234\",\r\n


\"DomainName\":\"ATSTESTDC\",\r\n \"IPAddress\":\"10.10.1.123\",\r\n
\"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n,\r\n \"ConnectionType\":
\"ACMOCLI\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.38 AuthenticateUserAfterLockout
This API is used to validate the user for authentication in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/AuthenticateUserAfterLockout

Available in API All versions


Version

200
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserName":"User12",
"Password":"User@1234",
"DomainName":"ATSTESTDC",
"IPAddress":"10.10.1.123",
"IPMacAddress":"AB:CD:34:EF:GH:12"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Aug/2020 08:55:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.38.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value refers to the username of the ARCON
PAM user

Password string This value refers to the password of the ARCON


PAM user

201
PAM API Part 1

Type Parameters Data Type Description

DomainName string This value refers to the domain of the ARCON


PAM user

IPAddress string This value refers to IP address from which the


user logged in to ARCON PAM

IPMacAddress string This value refers to mac address from which the
user logged in to ARCON PAM

Response Result string This value will be like ‘true' or 'false’

1.3.38.2 Code Blocks for '/AuthenticateUserAfterLockout'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
AuthenticateUserAfterLockout",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"UserName":"Pra12","Password":"Pra@1234","DomainName":"ATS
TESTDC","IPAddress":"10.10.1.123","IPMacAddress":"AB:CD:34:EF:GH:12"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

202
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


AuthenticateUserAfterLockout");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"UserName\":\"Pra12\",\r\n
\"Password\":\"Pra@1234\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserName\":\"Pra12\",
\r\n \"Password\":\"Pra@1234\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserAfterLockout")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

203
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserAfterLockout"

payload = "{\r\n \"UserName\":\"Pra12\",\r\n \"Password\":\"Pra@1234\",\r\n


\"DomainName\":\"ATSTESTDC\",\r\n \"IPAddress\":\"10.10.1.123\",\r\n
\"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.39 GetAllService
This API is used to fetch all services list by providing UserId and ServiceTypeId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetAllService

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

204
PAM API Part 1

Body
{
"RequestType":"ServiceAccess",
"UserID":"35",
"ServiceTypeID":"1"
}

205
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "10/Aug/2020 05:28:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ServiceId": "114535",
"IpAddress": "10.11.0.11@UserName1:2",
"HostName": "10.xx.x.xx",
"ServiceDomain": "2",
"ServiceType": "Windows RDP",
"ServiceTypeId": 1,
"ServiceDisplayName": "10.11.0.11@UserName1:2",
"ServiceUsername": "UserName1",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "1",
"LOBName": "DEFAULT LOB 1",
"LOBId": 1
},
{
"ServiceId": "114268",
"IpAddress": "exach2-
[email protected]:10.10
.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "10.10.0.126",
"ServiceType": "Windows RDP",
"ServiceTypeId": 1,
"ServiceDisplayName": "exach2-
[email protected]:10.10
.0.126",
"ServiceUsername": "pratap.patil",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBName": "DEBOARDING",
"LOBId": 6
}
]
}

206
PAM API Part 1

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.39.1 Data Types of Request and Response

Type Parameters Data Type Description

Request RequestType string This value refers to the type of request present in
ARCON PAM.

Sample value: 'ServiceAccess'

UserId int This value refers to the id of the ARCON PAM


User

ServiceTypeId int This value refers to the Id of the service type


present in ARCON PAM

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceDisplayNam string This value refers to the display name of the service
e present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

Instance string This value refers to the instance name of the


service present in ARCON PAM

Field1 string

Field2 string

Field3 string

207
PAM API Part 1

Type Parameters Data Type Description

Field4 string

LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

1.3.39.2 Code Blocks for '/GetAllService'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetAllService",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"RequestType":"ServiceAccess","UserID":"35","ServiceTypeID
":"1"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetAllService");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"RequestType\":
\"ServiceAccess\",\r\n \"UserID\":\"35\",\r\n \"ServiceTypeID\":\"1\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

208
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"RequestType\":
\"ServiceAccess\",\r\n \"UserID\":\"35\",\r\n \"ServiceTypeID\":\"1\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetAllService")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetAllService"

payload = "{\r\n \"RequestType\":\"ServiceAccess\",\r\n \"UserID\":\"35\",\r\n


\"ServiceTypeID\":\"1\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.40 GetServiceDetails
This API is used to fetch details of service providing ServiceId and ServiceTypeId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetails

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

209
PAM API Part 1

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceId":114535,
"UserId":35,
"ServiceTypeId":1,
"UserSessionId":1,
"ConnectionType":"ACMOCLI"
}

210
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "10/Aug/2020 07:19:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": {
"ServiceSessionId": "9756",
"ServiceWindowTitle": "10.xx.x.xx@UserName1:10.xx.x.xx-
WindowsRDP",
"IpAddress": "10.xx.x.xx",
"ServiceDomain": "2",
"HostName": "10.xx.x.xx",
"Port": "1234",
"ServiceUsername": "UserName1",
"ServicePassword": "NewPassword",
"InstanceName": null,
"ServiceID": "114535",
"ServiceType": "WindowsRDP",
"ServiceTypeId": "1",
"ServiceSubType": null,
"Description": "10.xx.x.xx@UserName1:10.xx.x.xx-WindowsRDP",
"UseGatewayServer": "true",
"GatewayServerIp": "10.xx.x.xx",
"GatewayServerPort": "22",
"GatewayServerUsername": "user12",
"GatewayServerPassword": "newpass",
"PuttyWebServiceUrl": "",
"LaunchParameters": "HjZxxxxxnlDA== ta/gOxxxxx3FA==
BlvFxxxxxEcO MSV
"fromdate": null,
"todate": null,
"OneTimeServiceId": 0,
"fromtime": null,
"totime": null,
"timedifference": 0.0,
"accesstype": 0,
"OpenInFrame": true,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "1",
"ServiceSessiontimeout": "120000",
"EncryptedSessionId": "HjZxxxxxlDA==",
"AcmoWebServiceURL": "https://10.xx.x.xx:5xx1/ARCOSWebAPI/
ARCOSSessionCommandLogAPI.asmx",

211
PAM API Part 1

"APPEXE": "ARCOSRDPTerminal.exe",
"RestrictedCommands": [
"regedit.exe",
"taskmgr.exe"
],
"RestrictedProcesses": null
}
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.40.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present
in ARCON PAM.

UserId int This value refers to the id of the ARCON PAM


User

ServiceTypeId int This value refers to the Id of the service type


present in ARCON PAM

UserSessionId int This value refers to the Id of the user session


present in ARCON PAM

ServiceSessionId int This value refers to the Id of the service session


present in ARCON PAM

AccessType string This value refers to the type of service access


present in ARCON PAM

ConnectionType string This value refers to the which type of connection


has user taken

Response ServiceSessionId int This value refers to the id of the service session
present in ARCON PAM

ServiceWindowTitl string This value refers to the window title of the


e service present in ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

212
PAM API Part 1

Type Parameters Data Type Description

Port int This value refers to the port number of the


service present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

ServicePassword string This value refers to the password of the service


present in ARCON PAM

InstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceId int This value refers to the id of the service present


in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceSubType string This value refers to a subtype of the service


present in ARCON PAM

Description string This value refers to a description of the service


present in ARCON PAM

UseGatewayServer bool This value will be like ‘true' or 'false’

GatewayServerIP string This value refers to the IP address of the gateway


server present in ARCON PAM

GatewayServerPort int This value refers to the port number of the


gateway server present in ARCON PAM

GatewayServerUse string This value refers to the username of the gateway


rName server present in ARCON PAM

GatewayServerPas string This value refers to the password of the gateway


sword server present in ARCON PAM

PuttyWebServiceU string This value refers to the URL of the web service
rl present in ARCON PAM

LaunchParameters string This value refers to launch parameters of the


service present in ARCON PAM

IsEnableVideoLog bool This value will be like ‘true' or 'false’

fromdate DateTime

todate DateTime

213
PAM API Part 1

Type Parameters Data Type Description

OneTimeServiceId int

fromtime Timespan

totime Timespan

timedifference long

accesstype int

OpenInFrame bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string

Field2 string

Field3 string

Field4 string

ServiceSessionTime int This value refers to the timeout of the service


out session present in ARCON PAM

EncryptedSessionId string This value refers to the id of the service session


present in ARCON PAM

AcmoWebServiceU string
rl

APPEXE string

RestrictedComman list
ds

RestrictedProcesse list
s

214
PAM API Part 1

1.3.40.2 Code Blocks for '/GetServiceDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"ServiceId":114535,"UserId":35,"ServiceTypeId":1,"UserSess
ionId":1,"ConnectionType":"ACMOCLI"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n,\r\n
\"ConnectionType\":ACMOCLI\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

215
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n,\r\n
\"ConnectionType\":ACMOCLI\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails"

payload = "{\r\n \"ServiceId\":114535,\r\n \"UserId\":35,\r\n


\"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n,\r\n
\"ConnectionType\":ACMOCLI\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.41 RaisePasswordViewRequest
This API is used to raise password view request in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/RaisePasswordViewRequest

Available in API All versions


Version

Release Version U3

216
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceId":114535,
"UserId":35,
"UserSessionId":1,
"RSPDescription":"Test",
"RSPViewOn":"08/13/2020 03:23:00",
"RSPViewOnDate":"8",
"RequestOpenForHours":"1",
"RSPOpenTillDate":"8",
"LobID":"1",
"UserName":"Pra12",
"DomainName":"Arcos01",
"VerificationCode":"1234"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "13/Aug/2020 04:13:32",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "Your Request For Service Password Has Been Raised"
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

217
PAM API Part 1

1.3.41.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present
in ARCON PAM

UserId int This value refers to the id of the ARCON PAM


User

UserSessionId int This value refers to the Id of the user session


present in ARCON PAM

RSPDescription string This value refers to the description of service


password request

RSPViewOn DateTime

RSPViewOnDate int

RequestOpenForH int This value refers to the number of hours for


ours which request is open

RSPOpenTillDate int This value refers to the date till which request for
the password is open

LobID int This value refers to the id of the LOB profile


present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM.

DomainName string This value refers to the domain of the service


present in ARCON PAM.

VerificationCode string This value refers to the verification code to


access the service password in ARCON PAM

Response Result string This value refers to a success or failure message

218
PAM API Part 1

1.3.41.2 Code Blocks for '/RaisePasswordViewRequest'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/RaisePasswordViewRequest",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]Cnfs"
},
"data": JSON.stringify({"ServiceId":114535,"UserId":35,"UserSessionId":1,"RSPDescr
iption":"Test","RSPViewOn":"08/13/2020 03:23:00","RSPViewOnDate":"8","RequestOpenFor
Hours":"1","RSPOpenTillDate":"8","LobID":"1","UserName":"Pra12","DomainName":
"Arcos01","VerificationCode":"1234"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


RaisePasswordViewRequest");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs");
request.AddParameter("application/json", "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"UserSessionId\":1,\r\n \"RSPDescription\":\"Test\",\r\n
\"RSPViewOn\":\"08/13/2020 03:23:00\",\r\n \"RSPViewOnDate\":\"8\",\r\n
\"RequestOpenForHours\":\"1\",\r\n \"RSPOpenTillDate\":\"8\",\r\n \"LobID\":
\"1\",\r\n \"UserName\":\"Pra12\",\r\n \"DomainName\":\"Arcos01\",\r\n
\"VerificationCode\":\"1234\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

219
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"UserSessionId\":1,\r\n \"RSPDescription\":\"Test\",\r\n
\"RSPViewOn\":\"08/13/2020 03:23:00\",\r\n \"RSPViewOnDate\":\"8\",\r\n
\"RequestOpenForHours\":\"1\",\r\n \"RSPOpenTillDate\":\"8\",\r\n \"LobID\":
\"1\",\r\n \"UserName\":\"Pra12\",\r\n \"DomainName\":\"Arcos01\",\r\n
\"VerificationCode\":\"1234\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/RaisePasswordViewRequest")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/RaisePasswordViewRequest"

payload = "{\r\n \"ServiceId\":114535,\r\n \"UserId\":35,\r\n


\"UserSessionId\":1,\r\n \"RSPDescription\":\"Test\",\r\n \"RSPViewOn\":
\"08/13/2020 03:23:00\",\r\n \"RSPViewOnDate\":\"8\",\r\n
\"RequestOpenForHours\":\"1\",\r\n \"RSPOpenTillDate\":\"8\",\r\n \"LobID\":
\"1\",\r\n \"UserName\":\"Pra12\",\r\n \"DomainName\":\"Arcos01\",\r\n
\"VerificationCode\":\"1234\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]b5yY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.42 RaiseServiceAccessRequest
This API is used to raise service access request in ARCON PAM.

Type of Request POST

220
PAM API Part 1

Endpoint /api/ServiceDetails/RaiseServiceAccessRequest

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"Description":"Test",
"LobID":1,
"UserID":35,
"SeviceTypeID":1,
"ServiceAccessType":"2",
"ReferenceType":"Test",
"LstSelectedServices":"Service1,Service2",
"LstSelectedCommand":"1",
"FromAccessTime":"8:00",
"ToAccessTime":"1:00",
"SessionHrs":"12",
"SessionMin":"01",
"SessionID":1,
"VerificationText":"1234",
"ReferenceDetails":"Test",
"UserName":"Pra12"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "13/Aug/2020 09:06:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "Your Request For Service Access Has Been Raised"
}

221
PAM API Part 1

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.42.1 Data Types of Request and Response

Type Parameters Data Type Description

Request Description string This value refers to a description of the service


present in ARCON PAM

LobID int This value refers to the id of the LOB profile


present in ARCON PAM

UserID int This value refers to the id of the ARCON PAM


User

ServiceTypeID int This value refers to the Id of the service type


present in ARCON PAM

ServiceAccessType int This value refers to the access type of service


present in ARCON PAM

ReferenceType string

LstSelectedServices string This value refers to the last selected services by


ARCON PAM user

LstSelectedComma string This value refers to the last selected command by


nd ARCON PAM user to access service

FromAccessTime TimeSpan This value refers to the time from which service
access is requested

ToAccessTime TimeSpan This value refers to the time to which service


access is requested

SessionHrs int This value refers to the number of hours of the


service session

SessionMin int This value refers to the number of minutes of the


service session

SessionID int This value refers to the id of the service session


present in ARCON PAM

VerificationText string This value refers to the verification code to


access service in ARCON PAM

ReferenceDetails string

UserName string This value refers to the username of the service


present in ARCON PAM

222
PAM API Part 1

Type Parameters Data Type Description

Response Result string This value refers to a success or failure message

1.3.42.2 Code Blocks for '/RaiseServiceAccessRequest'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/RaiseServiceAccessRequest",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]Cnfs"
},
"data": JSON.stringify({"Description":"Test","LobID":1,"UserID":35,"SeviceTypeID":
1,"ServiceAccessType":"Test","ReferenceType":"Test","LstSelectedServices":
"Service1,Service2","LstSelectedCommand":"1","FromAccessTime":"8","ToAccessTime":"1"
,"SessionHrs":"12","SessionMin":"01","SessionID":1,"VerificationText":"1234",
"ReferenceDetails":"Test","UserName":"Pra12"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


RaiseServiceAccessRequest");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs");
request.AddParameter("application/json", "{\r\n \"Description\":\"Test\",\r\n
\"LobID\":1,\r\n \"UserID\":35,\r\n \"SeviceTypeID\":1,\r\n
\"ServiceAccessType\":\"Test\",\r\n \"ReferenceType\":\"Test\",\r\n
\"LstSelectedServices\":\"Service1,Service2\",\r\n \"LstSelectedCommand\":\"1\",
\r\n \"FromAccessTime\":\"8\",\r\n \"ToAccessTime\":\"1\",\r\n
\"SessionHrs\":\"12\",\r\n \"SessionMin\":\"01\",\r\n \"SessionID\":1,\r\n
\"VerificationText\":\"1234\",\r\n \"ReferenceDetails\":\"Test\",\r\n
\"UserName\":\"Pra12\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

223
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"Description\":\"Test\",
\r\n \"LobID\":1,\r\n \"UserID\":35,\r\n \"SeviceTypeID\":1,\r\n
\"ServiceAccessType\":\"Test\",\r\n \"ReferenceType\":\"Test\",\r\n
\"LstSelectedServices\":\"Service1,Service2\",\r\n \"LstSelectedCommand\":\"1\",
\r\n \"FromAccessTime\":\"8\",\r\n \"ToAccessTime\":\"1\",\r\n
\"SessionHrs\":\"12\",\r\n \"SessionMin\":\"01\",\r\n \"SessionID\":1,\r\n
\"VerificationText\":\"1234\",\r\n \"ReferenceDetails\":\"Test\",\r\n
\"UserName\":\"Pra12\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/RaiseServiceAccessRequest")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/RaiseServiceAccessRequest"

payload = "{\r\n \"Description\":\"Test\",\r\n \"LobID\":1,\r\n


\"UserID\":35,\r\n \"SeviceTypeID\":1,\r\n \"ServiceAccessType\":\"Test\",\r\n
\"ReferenceType\":\"Test\",\r\n \"LstSelectedServices\":\"Service1,Service2\",
\r\n \"LstSelectedCommand\":\"1\",\r\n \"FromAccessTime\":\"8\",\r\n
\"ToAccessTime\":\"1\",\r\n \"SessionHrs\":\"12\",\r\n \"SessionMin\":\"01\",
\r\n \"SessionID\":1,\r\n \"VerificationText\":\"1234\",\r\n
\"ReferenceDetails\":\"Test\",\r\n \"UserName\":\"Pra12\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]Cnfs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.43 SetErrorLog
This API is used to insert error logs in ARCON PAM.

224
PAM API Part 1

Type of Request POST

Endpoint /api/ServiceDetails/SetErrorLog

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"IpAddress":"10.11.1.111",
"LoggedOnDate":"08/13/2020 17:07:03",
"Thread":"113",
"Level":"Error",
"NameSpace":"Project1.Database",
"Class":"Class1",
"Method":"Test",
"Message":"TestMessage",
"Exception":"TestException"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "13/Aug/2020 07:06:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

225
PAM API Part 1

Supported Features ARCOS Log Archiver Service

1.3.43.1 Data Types of Request and Response

Type Parameters Data Type Description

Request IPAddress string This value refers to the IP address of the server
present in ARCON PAM

LoggedOnDate DateTime This value refers to the date of the error log
present in ARCON PAM

Thread int This value refers to thread number in ARCON


PAM

Level string This value refers to the level of the error log
present in ARCON PAM

NameSpace string This value refers to a namespace in which an


error has occurred

Class string This value refers to the class name in which error
has occurred

Method string This value refers to the method name in which


error has occurred

Message string This value refers to the message in the error log
present in ARCON PAM

Exception string This value refers to an exception in the error log


present in ARCON PAM

Response Result string This value refers to a success or failure message

226
PAM API Part 1

1.3.43.2 Code Blocks for '/SetErrorLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/SetErrorLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]Cnfs"
},
"data": JSON.stringify({"IpAddress":"10.11.1.111","LoggedOnDate":"08/13/2020
17:07:03","Thread":"113","Level":"Error","NameSpace":"Project1.Database","Class":
"Class1","Method":"Test","Message":"TestMessage","Exception":"TestException"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


SetErrorLog");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs");
request.AddParameter("application/json", "{\r\n \"IpAddress\":\"10.11.1.111\",
\r\n \"LoggedOnDate\":\"08/13/2020 17:07:03\",\r\n \"Thread\":\"113\",\r\n
\"Level\":\"Error\",\r\n \"NameSpace\":\"Project1.Database\",\r\n \"Class\":
\"Class1\",\r\n \"Method\":\"Test\",\r\n \"Message\":\"TestMessage\",\r\n
\"Exception\":\"TestException\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

227
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"IpAddress\":
\"10.11.1.111\",\r\n \"LoggedOnDate\":\"08/13/2020 17:07:03\",\r\n \"Thread\":
\"113\",\r\n \"Level\":\"Error\",\r\n \"NameSpace\":\"Project1.Database\",\r\n
\"Class\":\"Class1\",\r\n \"Method\":\"Test\",\r\n \"Message\":
\"TestMessage\",\r\n \"Exception\":\"TestException\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/SetErrorLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]Cnfs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/SetErrorLog"

payload = "{\r\n \"IpAddress\":\"10.11.1.111\",\r\n \"LoggedOnDate\":


\"08/13/2020 17:07:03\",\r\n \"Thread\":\"113\",\r\n \"Level\":\"Error\",\r\n
\"NameSpace\":\"Project1.Database\",\r\n \"Class\":\"Class1\",\r\n \"Method\":
\"Test\",\r\n \"Message\":\"TestMessage\",\r\n \"Exception\":
\"TestException\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]Cnfs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.44 RaisingServiceAccessRequest
This API is used to raise service access for Permanent, One-time, and Time-Based requests, without workflow
in ARCON PAM. If the workflow is present in the client environment, then this API will not be useful and throw
out errors, stating that it cannot process as the Workflow is in place. The one-time and time-based service
access request behave in a similar fashion to that of Just-in-time based requests.

Type of Request POST

228
PAM API Part 1

Endpoint /api/ServiceDetails/RaisingServiceAccessRequest

Available in API All versions


Version

Release Version U12

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UseValueForMapping": "ServiceUserName",
"LOBName": "DEBOARDING",
"UserName": "ARCOSADMIN",
"ServiceIP": "10.10.0.126",
"ServiceUserName": "Pratap.patil",
"ServiceTypeID": 1,
"DomainName": "ARCOSDEV2",
"HostName": "ARCOSDEV2",
"DBInstanceName": "NA",
"AccessType": 3,
"TagValue": "Tag1",
"StartDate": "2020-11-29T20:23:23",
"EndDate": "2020-11-30T23:59:59",
"StartTime": "20:23",
"EndTime": "23:59",
"AccessDurationHours": 1,
"AccessDurationMinutes": 1,
"ReferenceType": "",
"ReferenceId": "",
"DescriptionForRequest": ""
}

229
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Nov/2020 04:41:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Service Access Request Raised Successfully.",
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.44.1 Data Types of Request and Response

Type Parameters Data Type Description Mandatory Optional

Request UseValueForMappi string 1-If value is 'Tag' then serviceid will Yes No
ng be identified based on 'TagValue'
without using 'ServiceUserName' 2-
If value is 'ServiceUserName' then
serviceId will be identified based on
'ServiceUserName' without using
'TagValue'.This is a mandatory field.

LOBName string The LOB where the user and the Yes No
service are belonged to. It is case
sensitive because the values are
stored in an encrypted format at the
DB level.

UserName string The user for which service access Yes No


request is being raised. It is case
sensitive due to encryption at the
DB level.

ServiceIP string Requested IP address in a proper Yes No


format.

230
PAM API Part 1

Type Parameters Data Type Description Mandatory Optional

ServiceUserName string Requested service user name ,case Yes, Yes,


sensitive as encrypted at DB level. mandatory if optional
the if the
This field is conditional, the
'UseValueFo ‘UseValu
following are the 2 conditions:
rMapping' eForMap
ServiceUserName is a mandatory value has ping’
field if the 'UseValueForMapping' 'ServiceUser value has
value has 'ServiceUserName' as a Name' as a ‘TagValue
value in it, which refers to this field value in it. ’ as a
and this should contain a case value in
sensitive value, to look for. it.
In the case of the
‘UseValueForMapping’ value is set
to ‘TagValue', this
'ServiceUserName’ can be null or
empty.

ServiceTypeID int Requested Service Type ID in Yes No


numeric format.

DomainName string The requested service domain Yes No


name ,case sensitive as encrypted at
the DB level.

HostName string Requested service hostname,case Yes No


sensitive as encrypted at DB level.

TagValue string This value is required if Yes, Yes,


‘ServiceUserName’ is not present, in mandatory if optional
the incoming request. the if the
'UseValueFo ‘UseValu
This field is conditional, the
rMapping' eForMap
following are the 2 conditions:
value has ping’
TagValue is mandatory if the 'TagValue' value has
‘UseValueForMapping’ value is as the value ‘ServiceU
‘TagValue’. in it. serName’
as the
TagValue is optional, if
value in
‘UserValueForMapping’ is set to
it.
‘ServiceUserName’

IsDBInstance bool If the requested service is of No Yes


DatabaseType then the value is
‘true’ or 'false'
True: This value is true, which will
need, DBInstanceName.
False: This value is false, which will
not need DBInstanceName.

231
PAM API Part 1

Type Parameters Data Type Description Mandatory Optional

DBInstanceName string Requested DB Instance name, it is Yes, if No, if


case sensitive as encrypted at the ‘IsDBInstanc ‘IsDBInst
Database level. e' has values ance’ has
set to 'YES’ a value
set to
‘NO’

AccessType int This field classifies the request into Yes No


3 categories, namely ‘Permanent’,
‘One-Time’, and ‘Time-Based’
service access request.
1 - Permanent : This will provide the
user lifetime access to the service
unless it is disabled later with some
manual intervention or asked to be
removed.
2 - One-Time Access : This will
provide the user with one-time
access to the service, and will get
unmapped from the user once the
access has been taken.
3 - Time-Based Access: This will
provide the user a time restriction
for accessing the service, it will be
based on the End Date and Time,
provided for the access, once the
End Date and Time are crossed the
service will disappear from the
Users Service Access list.

StartDate DateTime From when the service access Yes, No, if


should be provided. It should be a mandatory if ‘AccessTy
valid DateTime Format. This is ‘AccessType’ pe’ is 1,
required when ‘AccessType’ is 2 is 2 or 3, i.e i.e.
(one-time) and 3 (time-based). for One- Permane
time and nt service
Time-Based access.
service
access.

EndDate DateTime Till when the access is required. It Yes, No, if


should be a valid DateTime format. mandatory if ‘AccessTy
‘AccessType’ pe’ is 1,
is 2 or 3, i.e i.e.
for One- Permane
time and nt service
Time-Based access.
service
access.

232
PAM API Part 1

Type Parameters Data Type Description Mandatory Optional

StartTime string Ideal values are in HH:mm format, Yes, No, if


where 'HH' is 2 digit hour value, and mandatory if ‘AccessTy
‘mm’ is 2 digit minute value. This ‘AccessType’ pe’ is 1,
value refers to which time period is 2 or 3, i.e i.e.
the service should be accessible. for One- Permane
time and nt service
Time-Based access.
service
access.

EndTime string Ideal values are in HH:mm format, Yes, No, if


where 'HH' is 2 digit hour value, and mandatory if ‘AccessTy
‘mm’ is 2 digit minute value. This ‘AccessType’ pe’ is 1,
value refers to till which time period is 2 or 3, i.e i.e.
the service should be accessible. for One- Permane
time and nt service
Time-Based access.
service
access.

AccessDurationMin int Maximum session after hours, this Yes, No, if


utes value will be considered as minutes mandatory if ‘AccessTy
for which the session will be ‘AccessType’ pe’ is 1 or
available for the user. is 2, i.e for 3 , i.e.
One-time Permane
service nt and
access. time-
based
service
access.

ReferenceType string This field is for adding reference No Yes


ticket numbers.

ReferenceId string This field is for reference No Yes


TicketNumbers

DescriptionForRequ string This field is for comments against No Yes


est the service request access if any.

Response Result string This value refers to a success or


failure message

233
PAM API Part 1

1.3.44.2 Code Blocks for '/RaiseServiceAccessRequest'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "https://pamapi.arconnet.com/api/ServiceDetails/
RaisingServiceAccessRequest",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "bearer eyJ0[... Removed for brevity ....]q0gs",
"X-PAM-Version": "1"
},
"data": JSON.stringify({"UseValueForMapping":"ServiceUserName","LOBName":"DEBOARDI
NG","UserName":"ARCOSADMIN","ServiceIP":"10.10.0.126",
"ServiceUserName":"Pratap.patil","ServiceTypeID":1,"DomainName":"ARCOSDEV2","HostN
ame":"ARCOSDEV2","DBInstanceName":"NA","AccessType":3,
"TagValue":"Tag1","StartDate":"2020-11-29T20:23:23","EndDate":"2020-11-30T23:59:59
","StartTime":"20:23","EndTime":"23:59","AccessDurationHours":1,
"AccessDurationMinutes":1,"ReferenceType":"","ReferenceId":"","DescriptionForReque
st":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

234
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("https://pamapi.arconnet.com/api/ServiceDetails/


RaisingServiceAccessRequest");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("X-PAM-Version", "1");
request.AddParameter("application/json", "{\r\n \"UseValueForMapping\":
\"ServiceUserName\",\r\n \"LOBName\": \"DEBOARDING\",
\r\n \"UserName\": \"ARCOSADMIN\",\r\n \"ServiceIP\": \"10.10.0.126\",\r\n
\"ServiceUserName\": \"Pratap.patil\",\r\n \"ServiceTypeID\": 1,
\r\n \"DomainName\": \"ARCOSDEV2\",\r\n \"HostName\": \"ARCOSDEV2\",\r\n
\"DBInstanceName\": \"NA\",\r\n \"AccessType\": 3,\r\n \"TagValue\": \"Tag1\",
\r\n \"StartDate\": \"2020-11-29T20:23:23\",\r\n \"EndDate\":
\"2020-11-30T23:59:59\",\r\n \"StartTime\": \"20:23\",\r\n \"EndTime\":
\"23:59\",
\r\n \"AccessDurationHours\": 1,\r\n \"AccessDurationMinutes\": 1,\r\n
\"ReferenceType\": \"\",\r\n \"ReferenceId\": \"\",
\r\n \"DescriptionForRequest\": \"\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

235
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UseValueForMapping\":
\"ServiceUserName\",\r\n \"LOBName\": \"DEBOARDING\",
\r\n \"UserName\": \"ARCOSADMIN\",\r\n \"ServiceIP\": \"10.10.0.126\",\r\n
\"ServiceUserName\": \"Pratap.patil\",\r\n \"ServiceTypeID\": 1,
\r\n \"DomainName\": \"ARCOSDEV2\",\r\n \"HostName\": \"ARCOSDEV2\",\r\n
\"DBInstanceName\": \"NA\",\r\n \"AccessType\": 3,\r\n \"TagValue\": \"Tag1\",
\r\n \"StartDate\": \"2020-11-29T20:23:23\",\r\n \"EndDate\": \"2020-11-30T23:5
9:59\",\r\n \"StartTime\": \"20:23\",\r\n \"EndTime\": \"23:59\",
\r\n \"AccessDurationHours\": 1,\r\n \"AccessDurationMinutes\": 1,\r\n
\"ReferenceType\": \"\",\r\n \"ReferenceId\": \"\",
\r\n \"DescriptionForRequest\": \"\"\r\n}");
Request request = new Request.Builder()
.url("https://pamapi.arconnet.com/api/ServiceDetails/RaisingServiceAccessRequest")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("X-PAM-Version", "1")
.build();
Response response = client.newCall(request).execute();

236
PAM API Part 1

Code For Python Using Requests

import requests

url = "https://pamapi.arconnet.com/api/ServiceDetails/RaisingServiceAccessRequest"

payload = "{\r\n \"UseValueForMapping\": \"ServiceUserName\",\r\n \"LOBName\":


\"DEBOARDING\",\r\n \"UserName\": \"ARCOSADMIN\",
\r\n \"ServiceIP\": \"10.10.0.126\",\r\n \"ServiceUserName\":
\"Pratap.patil\",\r\n \"ServiceTypeID\": 1,\r\n \"DomainName\": \"ARCOSDEV2\",
\r\n \"HostName\": \"ARCOSDEV2\",\r\n \"DBInstanceName\": \"NA\",\r\n
\"AccessType\": 3,\r\n \"TagValue\": \"Tag1\",\r\n \"StartDate\":
\"2020-11-29T20:23:23\",
\r\n \"EndDate\": \"2020-11-30T23:59:59\",\r\n \"StartTime\": \"20:23\",\r\n
\"EndTime\": \"23:59\",\r\n \"AccessDurationHours\": 1,
\r\n \"AccessDurationMinutes\": 1,\r\n \"ReferenceType\": \"\",\r\n
\"ReferenceId\": \"\",\r\n \"DescriptionForRequest\": \"\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'bearer eyJ0[... Removed for brevity ....]q0gs',
'X-PAM-Version': '1'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.45 GetCreateModifiedServices
This API is called to get all Created or Modified service details which are available in the specified period of the
timeline given as input in fields of ‘FromDate’ and ‘ToDate’.

Type of Request POST

Endpoint /api/ServiceDetails/GetCreateModifiedServices

Available in API All versions


Version

Release Version U15

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

237
PAM API Part 1

x-PAM-Version - Not Applicable -

Body
{
"FromDate": "2019-06-22T02:37:00",
"ToDate": "2019-06-26T12:37:00",
"NumberOfRecords": 2
}

238
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "30/Dec/2020 05:33:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"ServiceId": 114239,
"ServiceTypeId": 31,
"ServiceType": "App Toad - Oracle",
"UserName": "s***s",
"Password": null,
"DomainName": "10.10.0.1XX",
"Instance": "ar***",
"Port": "1521",
"ServerHostName": "10.10.0.1XX",
"ServerIp": "10.10.0.1XX",
"CreatedOn": "10/20/2019 14:14:31",
"ModifiedOn": "12/29/2020 16:08:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "sysdba<DATA><FWH>scott</FWH></DATA>"
},
{
"ServiceId": 114639,
"ServiceTypeId": 31,
"ServiceType": "App Toad - Oracle",
"UserName": "S***S",
"Password": null,
"DomainName": "10.10.2.XX",
"Instance": "X***",
"Port": "1521",
"ServerHostName": "10.10.2.XX",
"ServerIp": "10.10.2.XX",
"CreatedOn": "12/29/2020 16:15:45",
"ModifiedOn": "01/01/0001 00:00:00",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "sysdba<DTCH>"
}
]
}

239
PAM API Part 1

Response Time 433 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.45.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string data


type.

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be from initial date and
Max will be 10000 and message will show
total available record count.

ToDate string DateTime is below specified format as string data


type

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be till date and Max will
be 10000 and message will show total
available record count

NumberOfRecords int Positive Integer value, which will be the count or


number of records returned in the output.
If the total number of records present in the table
is lesser than the count passed here as input then
all records will be displayed.

Optional parameter and default value is


10000 if no value is passed.

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

240
PAM API Part 1

Type Parameters Data Type Description

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ModifiedOn Date time This value refers to the date time when service
was modified in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

241
PAM API Part 1

1.3.45.2 Code Blocks for ‘/GetCreateModifiedServices’

Code For Javascript - Jquery Using AJAX

var settings = {
"async": true,
"crossDomain": true,
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetCreateModifiedServices",
"method": "POST",
"headers": {
"authorization": "bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xMz[....Removed for
brevity....]zf2iEOZdKpN_ou6qp3cGXkgx6CRnk3-k",
"content-type": "application/json",
"cache-control": "no-cache",
"postman-token": "4ce17216-a7fe-2284-e1d1-1ad4a5d07d30"
}
}

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetCreateModifiedServices");
var request = new RestRequest(Method.POST);
request.AddHeader("postman-token", "c02298c9-eaca-45c6-d856-afe44ed183fb");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "bearer eyJ0eXAiOiJKV1QiLC[....Removed for
brevity....]jZkOWVink3-k");
IRestResponse response = client.Execute(request);

242
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()


.url("http://pamapi.arconnet.com/api/ServiceDetails/GetCreateModifiedServices")
.post(null)
.addHeader("authorization", "bearer eyJ0eXAiOiJ[....Removed for
brevity....]pN_ou6qp3cGXkgx6CRnk3-k")
.addHeader("content-type", "application/json")
.addHeader("cache-control", "no-cache")
.addHeader("postman-token", "6ed713b4-dbe8-4a7e-ca1e-60b0381bc344")
.build();

Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetCreateModifiedServices"

headers = {
'authorization': "bearer eyJ0eX[....Removed for
brevity....]KpN_ou6qp3cGXkgx6CRnk3-k",
'content-type': "application/json",
'cache-control': "no-cache",
'postman-token': "8bde0f70-d85b-444c-adf4-2840aa257329"
}

response = requests.request("POST", url, headers=headers)

print(response.text)

1.3.46 GetCreateModifiedServicesByLobId
This API is called to get all Created or Modified service details which are available in the specified period of the
time and in the requested LOB ID given as input.

Type of Request POST

Endpoint /api/ServiceDetails/GetCreateModifiedServicesByLobId

Available in API All versions


Version

243
PAM API Part 1

Release Version U15

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2020-01-28T00:00:00",
"ToDate":"2020-12-29T00:00:00",
"NumberOfRecords":"2",
"LOBId":"2"
}

244
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "31/Dec/2020 09:08:19",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found Out of 113",
"Result": [
{
"ServiceId": 7021,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "Adm***r",
"Password": null,
"DomainName": "AR**N",
"Instance": "",
"Port": "33891",
"ServerHostName": "WIN****ONSRV13",
"ServerIp": "192.168.0.XXX",
"CreatedOn": "06/30/2009 14:53:08",
"ModifiedOn": "07/21/2020 12:16:43",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "Domain Server",
"Parameter2": "<WKG>",
"Parameter3": "",
"Parameter4": "<WKG>"
},
{
"ServiceId": 74437,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "A**I",
"Password": null,
"DomainName": "WIN2**ENT_SQL",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN**T_SQL",
"ServerIp": "10.10.0.XX",
"CreatedOn": "06/06/2018 11:38:13",
"ModifiedOn": "01/28/2020 11:27:21",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "TT",
"Parameter2": "TT",
"Parameter3": "TT",
"Parameter4": ""
}
]
}

245
PAM API Part 1

Response Time 685 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.46.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string data


type.

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be from initial date and
Max will be 10000 and message will show
total available record count.

ToDate string DateTime is below specified format as string data


type

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be till date and Max will
be 10000 and message will show total
available record count

NumberOfRecords int Positive Integer value, which will be the count or


number of records returned in the output.
If the total number of records present in the table
is lesser than the count passed here as input then
all records will be displayed.

Optional parameter and default value is


10000 if no value is passed.

LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

Mandatory Parameter.

246
PAM API Part 1

Type Parameters Data Type Description

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ModifiedOn Date time This value refers to the date time when service
was modified in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

247
PAM API Part 1

1.3.46.2 Code Blocks for ‘/GetCreateModifiedServicesByLobId’

Code For Javascript - Jquery Using AJAX

var settings = {
"async": true,
"crossDomain": true,
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByLobId",
"method": "POST",
"headers": {
"authorization": "bearer eyJ0eXAiOiJ[....Removed for
brevity....]oreE1xszYexuPhYBEbkr_9l1vaH0",
"content-type": "application/json",
"cache-control": "no-cache",
"postman-token": "fae2fbce-0217-5f0b-8002-77467489f18a"
},
"processData": false,
"data": "{\r\n\t\"FromDate\":\"2020-01-28T00:00:00\",\r\n\t\"ToDate\":
\"2020-12-29T00:00:00\",\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"LOBId\":\"2\"\r\n}"
}

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetCreateModifiedServicesByLobId");
var request = new RestRequest(Method.POST);
request.AddHeader("postman-token", "08d7a947-b654-da5c-57e0-068ca1357d6c");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "bearer eyJ0eXAiOiJKV1Q6MTYwO[....Removed for
brevity....]XkoreE1xszYexuPhYBEbkr_9l1vaH0");
request.AddParameter("application/json", "{\r\n\t\"FromDate\":
\"2020-01-28T00:00:00\",\r\n\t\"ToDate\":\"2020-12-29T00:00:00\",
\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"LOBId\":\"2\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

248
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");


RequestBody body = RequestBody.create(mediaType, "{\r\n\t\"FromDate\":
\"2020-01-28T00:00:00\",\r\n\t\"ToDate\":\"2020-12-29T00:00:00\",
\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"LOBId\":\"2\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByLobId")
.post(body)
.addHeader("authorization", "bearer eyJ0eXAg5MC[....Removed for
brevity....].PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0")
.addHeader("content-type", "application/json")
.addHeader("cache-control", "no-cache")
.addHeader("postman-token", "be984c8d-4c34-b25a-a12f-ad3da7097a66")
.build();

Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByLobId"

payload = "{\r\n\t\"FromDate\":\"2020-01-28T00:00:00\",\r\n\t\"ToDate\":
\"2020-12-29T00:00:00\",\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"LOBId\":\"2\"\r\n}"
headers = {
'authorization': "bearer eyJ0eXAiOiJK8iLC[....Removed for
brevity....]NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0",
'content-type': "application/json",
'cache-control': "no-cache",
'postman-token': "fe2e855f-c410-7a73-9433-db4a514bf80a"
}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

1.3.47 GetCreateModifiedServicesByGroupId
This API is called to get all Created or Modified service details which are available in the specified period of the
time and in the requested ServerGroup ID given as input.

249
PAM API Part 1

Type of Request POST

Endpoint /api/ServiceDetails/GetCreateModifiedServicesByGroupId

Available in API All versions


Version

Release Version U15

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"FromDate":"2020-01-28T00:00:00",
"ToDate":"2020-12-29T00:00:00",
"NumberOfRecords":"2",
"GroupId":"2"
}

250
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "31/Dec/2020 09:48:34",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found Out of 54",
"Result": [
{
"ServiceId": 114112,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "l***rs",
"Password": null,
"DomainName": "10.10.5.XX",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.5.XX",
"ServerIp": "10.10.5.XX",
"CreatedOn": "07/19/2019 11:07:34",
"ModifiedOn": "12/04/2020 11:45:56",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "ldapuser desc 1",
"Parameter2": "ldapuser desc 2",
"Parameter3": "ldapuser desc 3",
"Parameter4": ""
},
{
"ServiceId": 114113,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "ld***rs",
"Password": null,
"DomainName": "10.10.5.40",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.5.40",
"ServerIp": "10.10.5.40",
"CreatedOn": "07/19/2019 11:07:34",
"ModifiedOn": "12/04/2020 11:45:56",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "ldapuser desc 1",
"Parameter2": "ldapuser desc 2",
"Parameter3": "ldapuser desc 3",
"Parameter4": ""
}
]
}

251
PAM API Part 1

Response Time 934 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.47.1 Data Types of Request and Response

Type Parameters Data Type Description

Request FromDate string DateTime is below specified format as string data


type.

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be from initial date and
Max will be 10000 and message will show
total available record count.

ToDate string DateTime is below specified format as string data


type

Sample Value : “2019-06-22T02:37:00“

 Optional parameter and if not passed


then data would be till date and Max will
be 10000 and message will show total
available record count

NumberOfRecords int Positive Integer value, which will be the count or


number of records returned in the output.
If the total number of records present in the table
is lesser than the count passed here as input then
all records will be displayed.

Optional parameter and default value is


10000 if no value is passed.

GroupId int This value refers to the id of Server Group under


which the service belongs in ARCON PAM.

Mandatory Parameter.

252
PAM API Part 1

Type Parameters Data Type Description

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ModifiedOn Date time This value refers to the date time when service
was modified in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string

Parameter2 string

Parameter3 string

Parameter4 string

253
PAM API Part 1

1.3.47.2 Code Blocks for ‘/GetCreateModifiedServicesByGroupId’

Code For Javascript - Jquery Using AJAX

var settings = {
"async": true,
"crossDomain": true,
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByGroupId",
"method": "POST",
"headers": {
"authorization": "bearer eyJ0eXAiO[....Removed for
brevity....]M4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0",
"content-type": "application/json",
"cache-control": "no-cache",
"postman-token": "bb6f2e94-e548-4500-a3d3-01fca9b82e5a"
},
"processData": false,
"data": "\r\n{\r\n\t\"FromDate\":\"2020-10-28T00:00:00\",\r\n\t\"ToDate\":
\"2020-12-29T00:00:00\",\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"GroupId\":
\"1\"\r\n}"
}

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetCreateModifiedServicesByGroupId");
var request = new RestRequest(Method.POST);
request.AddHeader("postman-token", "240d6275-d0fc-db03-0744-677b37e0af9c");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "bearer eyJ0eXA[....Removed for
brevity....]g1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0");
request.AddParameter("application/json", "\r\n{\r\n\t\"FromDate\":
\"2020-10-28T00:00:00\",\r\n\t\"ToDate\":\"2020-12-29T00:00:00\",
\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"GroupId\":\"1\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

254
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");


RequestBody body = RequestBody.create(mediaType, "\r\n{\r\n\t\"FromDate\":
\"2020-10-28T00:00:00\",\r\n\t\"ToDate\":\"2020-12-29T00:00:00\",
\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"GroupId\":\"1\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByGroupId")
.post(body)
.addHeader("authorization", "bearer eyJ0eXAi[....Removed for
brevity....]Mzg1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0")
.addHeader("content-type", "application/json")
.addHeader("cache-control", "no-cache")
.addHeader("postman-token", "88b2c533-fd99-e195-948a-cd8bf1044260")
.build();

Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
GetCreateModifiedServicesByGroupId"

payload = "\r\n{\r\n\t\"FromDate\":\"2020-10-28T00:00:00\",\r\n\t\"ToDate\":
\"2020-12-29T00:00:00\",\r\n\t\"NumberOfRecords\":\"2\",\r\n\t\"GroupId\":
\"1\"\r\n}"
headers = {
'authorization': "bearer eyJ0eXAiOiJKV1[....Removed for
brevity....].A5Mzg1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0",
'content-type': "application/json",
'cache-control': "no-cache",
'postman-token': "476df944-102b-b87c-95f5-41e1e6efa82b"
}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

1.3.48 GetDomainss
This API is used to fetch a list of all domains in ARCON PAM.

255
PAM API Part 1

Type of Request POST

Endpoint /api/ServiceDetails/GetDomains

Available in API Version All versions

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/Jan/2021 01:12:56",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "3 - Records Found",
"Result": [
{
"DomainId": "2",
"DomainName": "ARCOSAUTH"
},
{
"DomainId": "3",
"DomainName": "ANBGLOBALDC"
},
{
"DomainId": "4",
"DomainName": "TESTDOMAIN"
}
]
}

Response Time 133 milliseconds

Post Endpoint Call All API's

Supported Features NA

256
PAM API Part 1

1.3.48.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response DomainId int This value refers to the id of the domain present
in ARCON PAM

DomainName string This value refers to the name of the domain


present in ARCON PAM

1.3.48.2 Code Blocks for '/GetDomains'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetDomains",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetDomains");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

257
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetDomains")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetDomains"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.49 GetUserGroupHistory
• This API is used to fetch a User Group History in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetUserGroupHistory

Available in API All versions


Version

Release Version U15

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

258
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"userid":"35",
"service_type_id":"2"
}

259
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/Jan/2021 04:05:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"log_id": "11473",
"serviceLoggedIn": "Dec 1 2020 11:47AM",
"serviceLoggedOut": "Dec 1 2020 11:48AM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "6546",
"serviceLoggedIn": "Jan 31 2020 1:11PM",
"serviceLoggedOut": "Jan 31 2020 1:11PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "6547",
"serviceLoggedIn": "Jan 31 2020 1:11PM",
"serviceLoggedOut": "Jan 31 2020 1:12PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "8683",
"serviceLoggedIn": "Jun 29 2020 11:59AM",
"serviceLoggedOut": "Jun 29 2020 11:59AM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",

260
PAM API Part 1

"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "8685",
"serviceLoggedIn": "Jun 29 2020 12:01PM",
"serviceLoggedOut": "Jun 29 2020 12:02PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "8686",
"serviceLoggedIn": "Jun 29 2020 12:07PM",
"serviceLoggedOut": "Jun 29 2020 12:08PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "9216",
"serviceLoggedIn": "Oct 13 2020 4:12PM",
"serviceLoggedOut": "Oct 13 2020 4:23PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "9217",
"serviceLoggedIn": "Oct 13 2020 4:24PM",
"serviceLoggedOut": "Oct 13 2020 4:29PM",
"description": "MS SQL EM - Local",
"service_id": "114378",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "WINATH_USER"
},
{
"log_id": "11462",
"serviceLoggedIn": "Nov 30 2020 8:03PM",
"serviceLoggedOut": "Nov 30 2020 8:04PM",
"description": "MS SQL EM - Local",

261
PAM API Part 1

"service_id": "114342",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56, 1434",
"username": "suhastest1"
},
{
"log_id": "11463",
"serviceLoggedIn": "Nov 30 2020 8:05PM",
"serviceLoggedOut": "Nov 30 2020 8:10PM",
"description": "MS SQL EM - Local",
"service_id": "114342",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56, 1434",
"username": "suhastest1"
},
{
"log_id": "11464",
"serviceLoggedIn": "Nov 30 2020 8:19PM",
"serviceLoggedOut": "Nov 30 2020 8:22PM",
"description": "MS SQL EM - Local",
"service_id": "114342",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56, 1434",
"username": "suhastest1"
},
{
"log_id": "12157",
"serviceLoggedIn": "Jan 4 2021 2:55PM",
"serviceLoggedOut": "Jan 4 2021 2:55PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "12158",
"serviceLoggedIn": "Jan 4 2021 2:56PM",
"serviceLoggedOut": "Jan 4 2021 2:56PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6458",

262
PAM API Part 1

"serviceLoggedIn": "Jan 30 2020 5:05PM",


"serviceLoggedOut": "Jan 30 2020 5:05PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6459",
"serviceLoggedIn": "Jan 30 2020 5:05PM",
"serviceLoggedOut": "Jan 30 2020 5:05PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6460",
"serviceLoggedIn": "Jan 30 2020 5:06PM",
"serviceLoggedOut": "Jan 30 2020 5:06PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6798",
"serviceLoggedIn": "Feb 26 2020 2:13PM",
"serviceLoggedOut": "Feb 26 2020 2:13PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6799",
"serviceLoggedIn": "Feb 26 2020 2:14PM",
"serviceLoggedOut": "Feb 26 2020 2:14PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"

263
PAM API Part 1

},
{
"log_id": "6800",
"serviceLoggedIn": "Feb 26 2020 2:14PM",
"serviceLoggedOut": "Feb 26 2020 2:16PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6801",
"serviceLoggedIn": "Feb 26 2020 2:16PM",
"serviceLoggedOut": "Feb 26 2020 2:17PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "8476",
"serviceLoggedIn": "Jun 23 2020 12:19PM",
"serviceLoggedOut": "Jun 23 2020 12:22PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "8477",
"serviceLoggedIn": "Jun 23 2020 12:23PM",
"serviceLoggedOut": "Jun 23 2020 12:27PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "8483",
"serviceLoggedIn": "Jun 23 2020 1:18PM",
"serviceLoggedOut": "Jun 23 2020 1:19PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",

264
PAM API Part 1

"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "8484",
"serviceLoggedIn": "Jun 23 2020 1:18PM",
"serviceLoggedOut": "Jun 23 2020 2:06PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "8485",
"serviceLoggedIn": "Jun 23 2020 1:21PM",
"serviceLoggedOut": "Jun 23 2020 1:51PM",
"description": "MS SQL EM - Local",
"service_id": "114375",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56,1434",
"username": "maheshwar.matalwar"
},
{
"log_id": "6209",
"serviceLoggedIn": "Jan 28 2020 4:01PM",
"serviceLoggedOut": "Jan 28 2020 4:01PM",
"description": "MS SQL EM - Local",
"service_id": "114364",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "PROMPT_USER"
},
{
"log_id": "6667",
"serviceLoggedIn": "Feb 3 2020 7:30PM",
"serviceLoggedOut": "Feb 3 2020 7:30PM",
"description": "MS SQL EM - Local",
"service_id": "114364",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "PROMPT_USER"
},
{
"log_id": "8684",
"serviceLoggedIn": "Jun 29 2020 11:59AM",
"serviceLoggedOut": "Jun 29 2020 12:01PM",

265
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114364",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "PROMPT_USER"
},
{
"log_id": "8720",
"serviceLoggedIn": "Jun 29 2020 6:52PM",
"serviceLoggedOut": "Jun 30 2020 12:41PM",
"description": "MS SQL EM - Local",
"service_id": "114364",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "PROMPT_USER"
},
{
"log_id": "8806",
"serviceLoggedIn": "Jun 30 2020 12:41PM",
"serviceLoggedOut": "Jun 30 2020 12:45PM",
"description": "MS SQL EM - Local",
"service_id": "114364",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "PROMPT_USER"
},
{
"log_id": "4415",
"serviceLoggedIn": "Dec 11 2019 10:45AM",
"serviceLoggedOut": "Dec 11 2019 10:45AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4416",
"serviceLoggedIn": "Dec 11 2019 10:46AM",
"serviceLoggedOut": "Dec 11 2019 10:46AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{

266
PAM API Part 1

"log_id": "4417",
"serviceLoggedIn": "Dec 11 2019 10:47AM",
"serviceLoggedOut": "Dec 11 2019 10:47AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4418",
"serviceLoggedIn": "Dec 11 2019 10:48AM",
"serviceLoggedOut": "Dec 11 2019 10:48AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4419",
"serviceLoggedIn": "Dec 11 2019 10:48AM",
"serviceLoggedOut": "Dec 11 2019 10:48AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4420",
"serviceLoggedIn": "Dec 11 2019 10:48AM",
"serviceLoggedOut": "Dec 11 2019 10:48AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4421",
"serviceLoggedIn": "Dec 11 2019 10:48AM",
"serviceLoggedOut": "Dec 11 2019 10:51AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",

267
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "4422",
"serviceLoggedIn": "Dec 11 2019 10:51AM",
"serviceLoggedOut": "Dec 11 2019 11:00AM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4468",
"serviceLoggedIn": "Dec 12 2019 3:02PM",
"serviceLoggedOut": "Dec 12 2019 3:02PM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "4469",
"serviceLoggedIn": "Dec 12 2019 3:03PM",
"serviceLoggedOut": "Dec 12 2019 3:03PM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "6246",
"serviceLoggedIn": "Jan 28 2020 5:00PM",
"serviceLoggedOut": "Jan 28 2020 5:01PM",
"description": "MS SQL EM - Local",
"service_id": "114301",
"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "7504",
"serviceLoggedIn": "May 1 2020 11:30AM",
"serviceLoggedOut": "May 1 2020 1:45PM",
"description": "MS SQL EM - Local",
"service_id": "114301",

268
PAM API Part 1

"server_host": "WIN2K8R2ENT_SQL",
"server_ip": "10.10.0.64",
"server_instance": "WIN2K8R2ENT_SQL\\VIM_SQLEXP",
"username": "arcossqladmin"
},
{
"log_id": "11472",
"serviceLoggedIn": "Dec 1 2020 11:46AM",
"serviceLoggedOut": "Dec 1 2020 11:47AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11474",
"serviceLoggedIn": "Dec 1 2020 12:12PM",
"serviceLoggedOut": "Dec 1 2020 12:23PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11475",
"serviceLoggedIn": "Dec 1 2020 12:33PM",
"serviceLoggedOut": "Dec 1 2020 4:31PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11487",
"serviceLoggedIn": "Dec 1 2020 3:50PM",
"serviceLoggedOut": "Dec 1 2020 3:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11488",
"serviceLoggedIn": "Dec 1 2020 3:55PM",

269
PAM API Part 1

"serviceLoggedOut": "Dec 1 2020 3:59PM",


"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11489",
"serviceLoggedIn": "Dec 1 2020 3:58PM",
"serviceLoggedOut": "Dec 1 2020 3:59PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11490",
"serviceLoggedIn": "Dec 1 2020 4:06PM",
"serviceLoggedOut": "Dec 1 2020 4:06PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11491",
"serviceLoggedIn": "Dec 1 2020 4:20PM",
"serviceLoggedOut": "Dec 8 2020 12:26PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11495",
"serviceLoggedIn": "Dec 1 2020 5:26PM",
"serviceLoggedOut": "Dec 1 2020 5:26PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},

270
PAM API Part 1

{
"log_id": "11502",
"serviceLoggedIn": "Dec 1 2020 7:09PM",
"serviceLoggedOut": "Dec 1 2020 8:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11535",
"serviceLoggedIn": "Dec 3 2020 7:36PM",
"serviceLoggedOut": "Dec 3 2020 7:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11536",
"serviceLoggedIn": "Dec 3 2020 8:07PM",
"serviceLoggedOut": "Dec 3 2020 8:11PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11537",
"serviceLoggedIn": "Dec 3 2020 8:13PM",
"serviceLoggedOut": "Dec 3 2020 8:13PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11538",
"serviceLoggedIn": "Dec 3 2020 8:21PM",
"serviceLoggedOut": "Dec 3 2020 8:21PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",

271
PAM API Part 1

"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11539",
"serviceLoggedIn": "Dec 3 2020 8:22PM",
"serviceLoggedOut": "Dec 3 2020 8:22PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11540",
"serviceLoggedIn": "Dec 3 2020 8:24PM",
"serviceLoggedOut": "Dec 3 2020 8:39PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11541",
"serviceLoggedIn": "Dec 3 2020 8:40PM",
"serviceLoggedOut": "Dec 3 2020 8:40PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11542",
"serviceLoggedIn": "Dec 3 2020 8:40PM",
"serviceLoggedOut": "Dec 3 2020 8:40PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11543",
"serviceLoggedIn": "Dec 3 2020 8:41PM",
"serviceLoggedOut": "Dec 3 2020 8:41PM",
"description": "MS SQL EM - Local",

272
PAM API Part 1

"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11548",
"serviceLoggedIn": "Dec 4 2020 11:42AM",
"serviceLoggedOut": "Dec 4 2020 11:42AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11549",
"serviceLoggedIn": "Dec 4 2020 11:42AM",
"serviceLoggedOut": "Dec 4 2020 11:42AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11585",
"serviceLoggedIn": "Dec 9 2020 1:07PM",
"serviceLoggedOut": "Dec 9 2020 1:07PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11586",
"serviceLoggedIn": "Dec 9 2020 1:08PM",
"serviceLoggedOut": "Dec 9 2020 1:08PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11587",

273
PAM API Part 1

"serviceLoggedIn": "Dec 9 2020 1:15PM",


"serviceLoggedOut": "Dec 9 2020 1:15PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11588",
"serviceLoggedIn": "Dec 9 2020 1:16PM",
"serviceLoggedOut": "Dec 9 2020 1:16PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11589",
"serviceLoggedIn": "Dec 9 2020 1:32PM",
"serviceLoggedOut": "Dec 9 2020 5:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11629",
"serviceLoggedIn": "Dec 11 2020 3:31PM",
"serviceLoggedOut": "Dec 11 2020 3:31PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11630",
"serviceLoggedIn": "Dec 11 2020 3:31PM",
"serviceLoggedOut": "Dec 11 2020 3:31PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"

274
PAM API Part 1

},
{
"log_id": "11631",
"serviceLoggedIn": "Dec 11 2020 3:32PM",
"serviceLoggedOut": "Dec 11 2020 3:32PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12016",
"serviceLoggedIn": "Dec 30 2020 4:07PM",
"serviceLoggedOut": "Dec 30 2020 4:07PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12137",
"serviceLoggedIn": "Jan 4 2021 10:35AM",
"serviceLoggedOut": "Jan 4 2021 10:35AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12138",
"serviceLoggedIn": "Jan 4 2021 10:39AM",
"serviceLoggedOut": "Jan 4 2021 10:39AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12147",
"serviceLoggedIn": "Jan 4 2021 1:57PM",
"serviceLoggedOut": "Jan 4 2021 1:57PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",

275
PAM API Part 1

"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12149",
"serviceLoggedIn": "Jan 4 2021 2:02PM",
"serviceLoggedOut": "Jan 4 2021 2:02PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12150",
"serviceLoggedIn": "Jan 4 2021 2:27PM",
"serviceLoggedOut": "Jan 4 2021 2:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12151",
"serviceLoggedIn": "Jan 4 2021 2:27PM",
"serviceLoggedOut": "Jan 4 2021 2:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12153",
"serviceLoggedIn": "Jan 4 2021 2:50PM",
"serviceLoggedOut": "Jan 4 2021 2:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12156",
"serviceLoggedIn": "Jan 4 2021 2:54PM",
"serviceLoggedOut": "Jan 4 2021 2:54PM",

276
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12202",
"serviceLoggedIn": "Jan 5 2021 1:46PM",
"serviceLoggedOut": "Jan 5 2021 1:47PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12295",
"serviceLoggedIn": "Jan 7 2021 7:23PM",
"serviceLoggedOut": "Jan 7 2021 7:23PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12296",
"serviceLoggedIn": "Jan 7 2021 7:24PM",
"serviceLoggedOut": "Jan 7 2021 7:26PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12298",
"serviceLoggedIn": "Jan 7 2021 7:26PM",
"serviceLoggedOut": "Jan 7 2021 7:28PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{

277
PAM API Part 1

"log_id": "12451",
"serviceLoggedIn": "Jan 19 2021 5:08PM",
"serviceLoggedOut": "Jan 19 2021 5:10PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12452",
"serviceLoggedIn": "Jan 19 2021 5:22PM",
"serviceLoggedOut": "Jan 19 2021 5:24PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12453",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12454",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12455",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:28PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",

278
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "12456",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12457",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12458",
"serviceLoggedIn": "Jan 19 2021 5:27PM",
"serviceLoggedOut": "Jan 19 2021 5:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12459",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12460",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",

279
PAM API Part 1

"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12461",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12462",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12463",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12464",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12465",
"serviceLoggedIn": "Jan 19 2021 5:29PM",

280
PAM API Part 1

"serviceLoggedOut": "Jan 19 2021 5:29PM",


"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12466",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12467",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:30PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12468",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12469",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},

281
PAM API Part 1

{
"log_id": "12470",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12471",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12472",
"serviceLoggedIn": "Jan 19 2021 5:29PM",
"serviceLoggedOut": "Jan 19 2021 5:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12473",
"serviceLoggedIn": "Jan 19 2021 5:30PM",
"serviceLoggedOut": "Jan 19 2021 5:31PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "12474",
"serviceLoggedIn": "Jan 19 2021 5:35PM",
"serviceLoggedOut": "Jan 19 2021 5:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",

282
PAM API Part 1

"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2562",
"serviceLoggedIn": "Sep 19 2019 3:48PM",
"serviceLoggedOut": "Sep 19 2019 3:48PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2563",
"serviceLoggedIn": "Sep 19 2019 3:49PM",
"serviceLoggedOut": "Sep 19 2019 3:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2564",
"serviceLoggedIn": "Sep 19 2019 3:50PM",
"serviceLoggedOut": "Sep 19 2019 3:52PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2565",
"serviceLoggedIn": "Sep 19 2019 3:52PM",
"serviceLoggedOut": "Sep 19 2019 3:52PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2566",
"serviceLoggedIn": "Sep 19 2019 3:58PM",
"serviceLoggedOut": "Sep 19 2019 4:11PM",
"description": "MS SQL EM - Local",

283
PAM API Part 1

"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2567",
"serviceLoggedIn": "Sep 19 2019 4:49PM",
"serviceLoggedOut": "Sep 19 2019 4:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2577",
"serviceLoggedIn": "Sep 22 2019 2:38PM",
"serviceLoggedOut": "Sep 22 2019 2:38PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2578",
"serviceLoggedIn": "Sep 22 2019 2:40PM",
"serviceLoggedOut": "Sep 22 2019 2:41PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2579",
"serviceLoggedIn": "Sep 22 2019 2:42PM",
"serviceLoggedOut": "Sep 22 2019 2:43PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2580",

284
PAM API Part 1

"serviceLoggedIn": "Sep 22 2019 2:43PM",


"serviceLoggedOut": "Sep 22 2019 2:44PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2588",
"serviceLoggedIn": "Sep 23 2019 5:41PM",
"serviceLoggedOut": "Sep 23 2019 5:42PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2612",
"serviceLoggedIn": "Sep 27 2019 5:49PM",
"serviceLoggedOut": "Sep 27 2019 5:53PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2613",
"serviceLoggedIn": "Sep 27 2019 5:51PM",
"serviceLoggedOut": "Sep 27 2019 5:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2614",
"serviceLoggedIn": "Sep 27 2019 5:51PM",
"serviceLoggedOut": "Sep 27 2019 5:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"

285
PAM API Part 1

},
{
"log_id": "2615",
"serviceLoggedIn": "Sep 27 2019 5:52PM",
"serviceLoggedOut": "Sep 27 2019 5:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2616",
"serviceLoggedIn": "Sep 27 2019 5:54PM",
"serviceLoggedOut": "Sep 27 2019 5:56PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2617",
"serviceLoggedIn": "Sep 27 2019 6:43PM",
"serviceLoggedOut": "Sep 27 2019 6:44PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2618",
"serviceLoggedIn": "Sep 27 2019 6:47PM",
"serviceLoggedOut": "Sep 27 2019 6:47PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2619",
"serviceLoggedIn": "Sep 27 2019 6:50PM",
"serviceLoggedOut": "Sep 27 2019 6:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",

286
PAM API Part 1

"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2620",
"serviceLoggedIn": "Sep 27 2019 6:50PM",
"serviceLoggedOut": "Sep 27 2019 6:51PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2696",
"serviceLoggedIn": "Oct 19 2019 11:50AM",
"serviceLoggedOut": "Oct 19 2019 11:50AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2697",
"serviceLoggedIn": "Oct 19 2019 11:51AM",
"serviceLoggedOut": "Oct 19 2019 11:56AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2730",
"serviceLoggedIn": "Oct 20 2019 2:49PM",
"serviceLoggedOut": "Oct 20 2019 2:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2731",
"serviceLoggedIn": "Oct 20 2019 2:50PM",
"serviceLoggedOut": "Oct 20 2019 2:53PM",

287
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2732",
"serviceLoggedIn": "Oct 20 2019 2:53PM",
"serviceLoggedOut": "Oct 20 2019 3:03PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2734",
"serviceLoggedIn": "Oct 20 2019 3:07PM",
"serviceLoggedOut": "Oct 20 2019 3:11PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2969",
"serviceLoggedIn": "Nov 7 2019 1:33PM",
"serviceLoggedOut": "Nov 7 2019 2:15PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "2998",
"serviceLoggedIn": "Nov 11 2019 10:34AM",
"serviceLoggedOut": "Nov 11 2019 10:34AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{

288
PAM API Part 1

"log_id": "2999",
"serviceLoggedIn": "Nov 11 2019 10:54AM",
"serviceLoggedOut": "Nov 11 2019 10:55AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3000",
"serviceLoggedIn": "Nov 11 2019 10:57AM",
"serviceLoggedOut": "Nov 11 2019 10:58AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3037",
"serviceLoggedIn": "Nov 11 2019 2:31PM",
"serviceLoggedOut": "Nov 11 2019 2:32PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3038",
"serviceLoggedIn": "Nov 11 2019 2:32PM",
"serviceLoggedOut": "Nov 11 2019 2:33PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3039",
"serviceLoggedIn": "Nov 11 2019 2:33PM",
"serviceLoggedOut": "Nov 11 2019 2:35PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",

289
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "3040",
"serviceLoggedIn": "Nov 11 2019 2:36PM",
"serviceLoggedOut": "Nov 11 2019 2:37PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3141",
"serviceLoggedIn": "Nov 11 2019 10:10PM",
"serviceLoggedOut": "Nov 11 2019 10:10PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3142",
"serviceLoggedIn": "Nov 11 2019 10:11PM",
"serviceLoggedOut": "Nov 11 2019 10:12PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3171",
"serviceLoggedIn": "Nov 11 2019 10:33PM",
"serviceLoggedOut": "Nov 11 2019 10:33PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3172",
"serviceLoggedIn": "Nov 11 2019 10:33PM",
"serviceLoggedOut": "Nov 11 2019 10:34PM",
"description": "MS SQL EM - Local",
"service_id": "114216",

290
PAM API Part 1

"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3173",
"serviceLoggedIn": "Nov 11 2019 10:34PM",
"serviceLoggedOut": "Nov 11 2019 10:35PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3175",
"serviceLoggedIn": "Nov 11 2019 10:39PM",
"serviceLoggedOut": "Nov 11 2019 10:39PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3176",
"serviceLoggedIn": "Nov 11 2019 10:40PM",
"serviceLoggedOut": "Nov 11 2019 10:41PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3215",
"serviceLoggedIn": "Nov 12 2019 12:08AM",
"serviceLoggedOut": "Nov 12 2019 12:08AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3216",
"serviceLoggedIn": "Nov 12 2019 12:08AM",

291
PAM API Part 1

"serviceLoggedOut": "Nov 12 2019 12:23AM",


"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3221",
"serviceLoggedIn": "Nov 12 2019 12:15AM",
"serviceLoggedOut": "Nov 12 2019 12:15AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3223",
"serviceLoggedIn": "Nov 12 2019 12:15AM",
"serviceLoggedOut": "Nov 12 2019 12:21AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3238",
"serviceLoggedIn": "Nov 12 2019 12:44AM",
"serviceLoggedOut": "Nov 12 2019 12:47AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3303",
"serviceLoggedIn": "Nov 12 2019 1:53PM",
"serviceLoggedOut": "Nov 12 2019 1:54PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},

292
PAM API Part 1

{
"log_id": "3387",
"serviceLoggedIn": "Nov 14 2019 11:18AM",
"serviceLoggedOut": "Nov 14 2019 11:18AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3388",
"serviceLoggedIn": "Nov 14 2019 11:18AM",
"serviceLoggedOut": "Nov 14 2019 11:19AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3391",
"serviceLoggedIn": "Nov 14 2019 11:19AM",
"serviceLoggedOut": "Nov 14 2019 11:21AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3397",
"serviceLoggedIn": "Nov 14 2019 11:24AM",
"serviceLoggedOut": "Nov 14 2019 11:25AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3399",
"serviceLoggedIn": "Nov 14 2019 11:27AM",
"serviceLoggedOut": "Nov 14 2019 11:28AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",

293
PAM API Part 1

"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3401",
"serviceLoggedIn": "Nov 14 2019 11:33AM",
"serviceLoggedOut": "Nov 14 2019 11:34AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3404",
"serviceLoggedIn": "Nov 14 2019 11:34AM",
"serviceLoggedOut": "Nov 14 2019 11:34AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3405",
"serviceLoggedIn": "Nov 14 2019 11:34AM",
"serviceLoggedOut": "Nov 14 2019 11:35AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3407",
"serviceLoggedIn": "Nov 14 2019 11:36AM",
"serviceLoggedOut": "Nov 14 2019 11:36AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3433",
"serviceLoggedIn": "Nov 14 2019 2:35PM",
"serviceLoggedOut": "Nov 14 2019 2:36PM",
"description": "MS SQL EM - Local",

294
PAM API Part 1

"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3434",
"serviceLoggedIn": "Nov 14 2019 3:06PM",
"serviceLoggedOut": "Nov 14 2019 3:09PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3435",
"serviceLoggedIn": "Nov 14 2019 3:07PM",
"serviceLoggedOut": "Nov 14 2019 3:09PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3480",
"serviceLoggedIn": "Nov 15 2019 11:19AM",
"serviceLoggedOut": "Nov 15 2019 11:19AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3483",
"serviceLoggedIn": "Nov 15 2019 11:22AM",
"serviceLoggedOut": "Nov 15 2019 11:24AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3531",

295
PAM API Part 1

"serviceLoggedIn": "Nov 15 2019 6:46PM",


"serviceLoggedOut": "Nov 15 2019 6:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3532",
"serviceLoggedIn": "Nov 15 2019 6:47PM",
"serviceLoggedOut": "Nov 15 2019 6:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3533",
"serviceLoggedIn": "Nov 15 2019 6:52PM",
"serviceLoggedOut": "Nov 15 2019 6:52PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3534",
"serviceLoggedIn": "Nov 15 2019 7:25PM",
"serviceLoggedOut": "Nov 15 2019 7:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3609",
"serviceLoggedIn": "Nov 19 2019 11:21AM",
"serviceLoggedOut": "Nov 19 2019 11:21AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"

296
PAM API Part 1

},
{
"log_id": "3610",
"serviceLoggedIn": "Nov 19 2019 11:22AM",
"serviceLoggedOut": "Nov 19 2019 11:22AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3662",
"serviceLoggedIn": "Nov 19 2019 4:36PM",
"serviceLoggedOut": "Nov 19 2019 4:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3663",
"serviceLoggedIn": "Nov 19 2019 4:37PM",
"serviceLoggedOut": "Nov 19 2019 4:37PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3664",
"serviceLoggedIn": "Nov 19 2019 4:37PM",
"serviceLoggedOut": "Nov 19 2019 4:40PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3665",
"serviceLoggedIn": "Nov 19 2019 4:40PM",
"serviceLoggedOut": "Nov 19 2019 4:40PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",

297
PAM API Part 1

"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3666",
"serviceLoggedIn": "Nov 19 2019 4:41PM",
"serviceLoggedOut": "Nov 19 2019 4:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3667",
"serviceLoggedIn": "Nov 19 2019 4:46PM",
"serviceLoggedOut": "Nov 19 2019 4:47PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3668",
"serviceLoggedIn": "Nov 19 2019 4:49PM",
"serviceLoggedOut": "Nov 19 2019 5:15PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3670",
"serviceLoggedIn": "Nov 19 2019 5:14PM",
"serviceLoggedOut": "Nov 19 2019 5:15PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3671",
"serviceLoggedIn": "Nov 19 2019 5:16PM",
"serviceLoggedOut": "Nov 19 2019 5:16PM",

298
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3672",
"serviceLoggedIn": "Nov 19 2019 5:17PM",
"serviceLoggedOut": "Nov 19 2019 5:18PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3677",
"serviceLoggedIn": "Nov 19 2019 5:29PM",
"serviceLoggedOut": "Nov 19 2019 5:30PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3678",
"serviceLoggedIn": "Nov 19 2019 5:30PM",
"serviceLoggedOut": "Nov 19 2019 5:32PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3679",
"serviceLoggedIn": "Nov 19 2019 5:31PM",
"serviceLoggedOut": "Nov 19 2019 5:32PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{

299
PAM API Part 1

"log_id": "3680",
"serviceLoggedIn": "Nov 19 2019 5:42PM",
"serviceLoggedOut": "Nov 19 2019 5:44PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3681",
"serviceLoggedIn": "Nov 19 2019 5:43PM",
"serviceLoggedOut": "Nov 19 2019 5:44PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3704",
"serviceLoggedIn": "Nov 20 2019 11:00AM",
"serviceLoggedOut": "Nov 20 2019 11:12AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3711",
"serviceLoggedIn": "Nov 20 2019 11:12AM",
"serviceLoggedOut": "Nov 20 2019 2:29PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3712",
"serviceLoggedIn": "Nov 20 2019 11:15AM",
"serviceLoggedOut": "Nov 20 2019 12:21PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",

300
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "3767",
"serviceLoggedIn": "Nov 20 2019 5:58PM",
"serviceLoggedOut": "Nov 20 2019 5:59PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3769",
"serviceLoggedIn": "Nov 20 2019 6:00PM",
"serviceLoggedOut": "Nov 20 2019 6:52PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3796",
"serviceLoggedIn": "Nov 21 2019 10:42AM",
"serviceLoggedOut": "Nov 21 2019 10:42AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3797",
"serviceLoggedIn": "Nov 21 2019 10:46AM",
"serviceLoggedOut": "Nov 21 2019 10:47AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3798",
"serviceLoggedIn": "Nov 21 2019 10:47AM",
"serviceLoggedOut": "Nov 21 2019 10:48AM",
"description": "MS SQL EM - Local",
"service_id": "114216",

301
PAM API Part 1

"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3799",
"serviceLoggedIn": "Nov 21 2019 10:48AM",
"serviceLoggedOut": "Nov 21 2019 10:49AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3800",
"serviceLoggedIn": "Nov 21 2019 10:52AM",
"serviceLoggedOut": "Nov 21 2019 10:52AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3801",
"serviceLoggedIn": "Nov 21 2019 10:53AM",
"serviceLoggedOut": "Nov 21 2019 10:53AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3802",
"serviceLoggedIn": "Nov 21 2019 10:56AM",
"serviceLoggedOut": "Nov 21 2019 10:57AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3803",
"serviceLoggedIn": "Nov 21 2019 10:56AM",

302
PAM API Part 1

"serviceLoggedOut": "Nov 21 2019 10:57AM",


"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3804",
"serviceLoggedIn": "Nov 21 2019 10:57AM",
"serviceLoggedOut": "Nov 21 2019 10:58AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3805",
"serviceLoggedIn": "Nov 21 2019 10:57AM",
"serviceLoggedOut": "Nov 21 2019 10:58AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3806",
"serviceLoggedIn": "Nov 21 2019 10:58AM",
"serviceLoggedOut": "Nov 21 2019 10:58AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3814",
"serviceLoggedIn": "Nov 21 2019 12:16PM",
"serviceLoggedOut": "Nov 21 2019 12:16PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},

303
PAM API Part 1

{
"log_id": "3815",
"serviceLoggedIn": "Nov 21 2019 12:16PM",
"serviceLoggedOut": "Nov 21 2019 12:17PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3921",
"serviceLoggedIn": "Nov 22 2019 12:45PM",
"serviceLoggedOut": "Nov 22 2019 12:45PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3922",
"serviceLoggedIn": "Nov 22 2019 12:46PM",
"serviceLoggedOut": "Nov 22 2019 12:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3926",
"serviceLoggedIn": "Nov 22 2019 12:50PM",
"serviceLoggedOut": "Nov 22 2019 12:51PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3927",
"serviceLoggedIn": "Nov 22 2019 12:52PM",
"serviceLoggedOut": "Nov 22 2019 12:54PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",

304
PAM API Part 1

"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "3928",
"serviceLoggedIn": "Nov 22 2019 12:55PM",
"serviceLoggedOut": "Nov 22 2019 12:57PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4253",
"serviceLoggedIn": "Dec 2 2019 3:22PM",
"serviceLoggedOut": "Dec 2 2019 3:22PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4276",
"serviceLoggedIn": "Dec 3 2019 2:32PM",
"serviceLoggedOut": "Dec 3 2019 2:33PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4277",
"serviceLoggedIn": "Dec 3 2019 2:33PM",
"serviceLoggedOut": "Dec 3 2019 2:35PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4284",
"serviceLoggedIn": "Dec 3 2019 3:17PM",
"serviceLoggedOut": "Dec 3 2019 3:17PM",
"description": "MS SQL EM - Local",

305
PAM API Part 1

"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4285",
"serviceLoggedIn": "Dec 3 2019 3:17PM",
"serviceLoggedOut": "Dec 3 2019 3:19PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4330",
"serviceLoggedIn": "Dec 5 2019 4:47PM",
"serviceLoggedOut": "Dec 5 2019 4:47PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4331",
"serviceLoggedIn": "Dec 5 2019 4:47PM",
"serviceLoggedOut": "Dec 5 2019 4:48PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4332",
"serviceLoggedIn": "Dec 5 2019 4:48PM",
"serviceLoggedOut": "Dec 5 2019 5:01PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4635",

306
PAM API Part 1

"serviceLoggedIn": "Dec 17 2019 3:00PM",


"serviceLoggedOut": "Dec 17 2019 3:00PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "4636",
"serviceLoggedIn": "Dec 17 2019 3:00PM",
"serviceLoggedOut": "Dec 17 2019 3:00PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "5007",
"serviceLoggedIn": "Dec 27 2019 11:13AM",
"serviceLoggedOut": "Dec 27 2019 11:13AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "5008",
"serviceLoggedIn": "Dec 27 2019 11:13AM",
"serviceLoggedOut": "Dec 27 2019 11:14AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "5733",
"serviceLoggedIn": "Jan 22 2020 1:03PM",
"serviceLoggedOut": "Jan 22 2020 1:03PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"

307
PAM API Part 1

},
{
"log_id": "5734",
"serviceLoggedIn": "Jan 22 2020 1:04PM",
"serviceLoggedOut": "Jan 22 2020 1:05PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "5735",
"serviceLoggedIn": "Jan 22 2020 1:06PM",
"serviceLoggedOut": "Jan 22 2020 1:06PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6045",
"serviceLoggedIn": "Jan 27 2020 5:31PM",
"serviceLoggedOut": "Jan 27 2020 5:31PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6055",
"serviceLoggedIn": "Jan 27 2020 6:08PM",
"serviceLoggedOut": "Jan 27 2020 6:20PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6195",
"serviceLoggedIn": "Jan 28 2020 3:12PM",
"serviceLoggedOut": "Jan 28 2020 3:12PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",

308
PAM API Part 1

"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6208",
"serviceLoggedIn": "Jan 28 2020 4:01PM",
"serviceLoggedOut": "Jan 28 2020 4:01PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6212",
"serviceLoggedIn": "Jan 28 2020 4:06PM",
"serviceLoggedOut": "Jan 28 2020 4:51PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6249",
"serviceLoggedIn": "Jan 28 2020 5:01PM",
"serviceLoggedOut": "Jan 28 2020 5:02PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6270",
"serviceLoggedIn": "Jan 28 2020 5:43PM",
"serviceLoggedOut": "Jan 28 2020 5:43PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6675",
"serviceLoggedIn": "Feb 4 2020 3:23PM",
"serviceLoggedOut": "Feb 4 2020 3:23PM",

309
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6688",
"serviceLoggedIn": "Feb 5 2020 1:26PM",
"serviceLoggedOut": "Feb 5 2020 1:26PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6689",
"serviceLoggedIn": "Feb 5 2020 1:27PM",
"serviceLoggedOut": "Feb 5 2020 1:27PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6691",
"serviceLoggedIn": "Feb 5 2020 1:33PM",
"serviceLoggedOut": "Feb 5 2020 1:33PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6693",
"serviceLoggedIn": "Feb 5 2020 1:33PM",
"serviceLoggedOut": "Feb 5 2020 1:33PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{

310
PAM API Part 1

"log_id": "6694",
"serviceLoggedIn": "Feb 5 2020 1:34PM",
"serviceLoggedOut": "Feb 5 2020 1:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6695",
"serviceLoggedIn": "Feb 5 2020 1:34PM",
"serviceLoggedOut": "Feb 5 2020 1:38PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6696",
"serviceLoggedIn": "Feb 5 2020 1:35PM",
"serviceLoggedOut": "Feb 5 2020 1:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6697",
"serviceLoggedIn": "Feb 5 2020 1:36PM",
"serviceLoggedOut": "Feb 5 2020 1:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6699",
"serviceLoggedIn": "Feb 5 2020 1:37PM",
"serviceLoggedOut": "Feb 5 2020 1:37PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",

311
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "6700",
"serviceLoggedIn": "Feb 5 2020 1:37PM",
"serviceLoggedOut": "Feb 5 2020 1:38PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6701",
"serviceLoggedIn": "Feb 5 2020 1:40PM",
"serviceLoggedOut": "Feb 5 2020 1:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6802",
"serviceLoggedIn": "Feb 26 2020 2:19PM",
"serviceLoggedOut": "Feb 26 2020 2:19PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6803",
"serviceLoggedIn": "Feb 26 2020 2:25PM",
"serviceLoggedOut": "Feb 26 2020 2:26PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6804",
"serviceLoggedIn": "Feb 26 2020 2:27PM",
"serviceLoggedOut": "Feb 26 2020 2:28PM",
"description": "MS SQL EM - Local",
"service_id": "114216",

312
PAM API Part 1

"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6805",
"serviceLoggedIn": "Feb 26 2020 2:34PM",
"serviceLoggedOut": "Feb 26 2020 2:34PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6806",
"serviceLoggedIn": "Feb 26 2020 2:35PM",
"serviceLoggedOut": "Feb 26 2020 2:35PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6807",
"serviceLoggedIn": "Feb 26 2020 2:35PM",
"serviceLoggedOut": "Feb 26 2020 2:36PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6808",
"serviceLoggedIn": "Feb 26 2020 2:48PM",
"serviceLoggedOut": "Feb 26 2020 2:48PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6809",
"serviceLoggedIn": "Feb 26 2020 2:48PM",

313
PAM API Part 1

"serviceLoggedOut": "Feb 26 2020 2:48PM",


"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6810",
"serviceLoggedIn": "Feb 26 2020 2:49PM",
"serviceLoggedOut": "Feb 26 2020 2:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6811",
"serviceLoggedIn": "Feb 26 2020 2:49PM",
"serviceLoggedOut": "Feb 26 2020 2:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6831",
"serviceLoggedIn": "Feb 27 2020 12:02PM",
"serviceLoggedOut": "Feb 27 2020 12:04PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6832",
"serviceLoggedIn": "Feb 27 2020 12:05PM",
"serviceLoggedOut": "Feb 27 2020 12:05PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},

314
PAM API Part 1

{
"log_id": "6833",
"serviceLoggedIn": "Feb 27 2020 12:05PM",
"serviceLoggedOut": "Feb 27 2020 12:16PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "6835",
"serviceLoggedIn": "Feb 27 2020 12:16PM",
"serviceLoggedOut": "Feb 27 2020 12:16PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7275",
"serviceLoggedIn": "Mar 30 2020 4:53PM",
"serviceLoggedOut": "Mar 30 2020 4:53PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7276",
"serviceLoggedIn": "Mar 30 2020 4:55PM",
"serviceLoggedOut": "Mar 30 2020 5:28PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7277",
"serviceLoggedIn": "Mar 30 2020 5:30PM",
"serviceLoggedOut": "Mar 30 2020 5:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",

315
PAM API Part 1

"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7278",
"serviceLoggedIn": "Mar 30 2020 5:49PM",
"serviceLoggedOut": "Mar 30 2020 6:22PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7280",
"serviceLoggedIn": "Mar 30 2020 6:23PM",
"serviceLoggedOut": "Mar 30 2020 6:32PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7306",
"serviceLoggedIn": "Mar 31 2020 11:57AM",
"serviceLoggedOut": "Mar 31 2020 11:58AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7307",
"serviceLoggedIn": "Mar 31 2020 12:01PM",
"serviceLoggedOut": "Mar 31 2020 12:01PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7500",
"serviceLoggedIn": "Apr 30 2020 6:38PM",
"serviceLoggedOut": "Apr 30 2020 7:00PM",
"description": "MS SQL EM - Local",

316
PAM API Part 1

"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7501",
"serviceLoggedIn": "Apr 30 2020 7:29PM",
"serviceLoggedOut": "Apr 30 2020 9:09PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7502",
"serviceLoggedIn": "May 1 2020 1:25AM",
"serviceLoggedOut": "May 1 2020 1:28AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7503",
"serviceLoggedIn": "May 1 2020 11:28AM",
"serviceLoggedOut": "May 1 2020 11:29AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7505",
"serviceLoggedIn": "May 6 2020 2:49PM",
"serviceLoggedOut": "May 6 2020 2:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7506",

317
PAM API Part 1

"serviceLoggedIn": "May 6 2020 2:49PM",


"serviceLoggedOut": "May 6 2020 2:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7507",
"serviceLoggedIn": "May 6 2020 2:50PM",
"serviceLoggedOut": "May 6 2020 2:50PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7508",
"serviceLoggedIn": "May 6 2020 2:51PM",
"serviceLoggedOut": "May 6 2020 2:52PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7620",
"serviceLoggedIn": "May 15 2020 12:46PM",
"serviceLoggedOut": "May 15 2020 12:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7621",
"serviceLoggedIn": "May 15 2020 12:46PM",
"serviceLoggedOut": "May 15 2020 12:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"

318
PAM API Part 1

},
{
"log_id": "7622",
"serviceLoggedIn": "May 15 2020 12:46PM",
"serviceLoggedOut": "May 15 2020 12:46PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7681",
"serviceLoggedIn": "May 18 2020 7:07PM",
"serviceLoggedOut": "May 18 2020 7:07PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7682",
"serviceLoggedIn": "May 18 2020 7:07PM",
"serviceLoggedOut": "May 18 2020 7:08PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7802",
"serviceLoggedIn": "May 22 2020 10:30AM",
"serviceLoggedOut": "May 22 2020 10:30AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7803",
"serviceLoggedIn": "May 22 2020 10:33AM",
"serviceLoggedOut": "May 22 2020 10:33AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",

319
PAM API Part 1

"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7804",
"serviceLoggedIn": "May 22 2020 10:34AM",
"serviceLoggedOut": "May 22 2020 10:34AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7805",
"serviceLoggedIn": "May 22 2020 10:35AM",
"serviceLoggedOut": "May 22 2020 10:46AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7806",
"serviceLoggedIn": "May 22 2020 10:46AM",
"serviceLoggedOut": "May 22 2020 10:47AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7807",
"serviceLoggedIn": "May 22 2020 10:47AM",
"serviceLoggedOut": "May 22 2020 10:48AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7809",
"serviceLoggedIn": "May 22 2020 10:54AM",
"serviceLoggedOut": "May 22 2020 10:55AM",

320
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7810",
"serviceLoggedIn": "May 22 2020 10:55AM",
"serviceLoggedOut": "May 22 2020 10:57AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7814",
"serviceLoggedIn": "May 22 2020 11:02AM",
"serviceLoggedOut": "May 22 2020 11:03AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7817",
"serviceLoggedIn": "May 22 2020 11:50AM",
"serviceLoggedOut": "May 22 2020 11:51AM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7818",
"serviceLoggedIn": "May 22 2020 12:17PM",
"serviceLoggedOut": "May 22 2020 12:24PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{

321
PAM API Part 1

"log_id": "7864",
"serviceLoggedIn": "May 26 2020 3:46PM",
"serviceLoggedOut": "May 26 2020 3:49PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7866",
"serviceLoggedIn": "May 26 2020 3:50PM",
"serviceLoggedOut": "May 26 2020 3:51PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7887",
"serviceLoggedIn": "May 26 2020 8:39PM",
"serviceLoggedOut": "May 26 2020 8:40PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "7888",
"serviceLoggedIn": "May 26 2020 8:40PM",
"serviceLoggedOut": "May 26 2020 8:45PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "8289",
"serviceLoggedIn": "Jun 15 2020 2:19PM",
"serviceLoggedOut": "Jun 15 2020 8:00PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",

322
PAM API Part 1

"username": "arcossqladmin"
},
{
"log_id": "8290",
"serviceLoggedIn": "Jun 15 2020 2:20PM",
"serviceLoggedOut": "Jun 15 2020 8:00PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "8340",
"serviceLoggedIn": "Jun 16 2020 2:10PM",
"serviceLoggedOut": "Jun 16 2020 3:38PM",
"description": "MS SQL EM - Local",
"service_id": "114216",
"server_host": "10.10.0.91",
"server_ip": "10.10.0.91",
"server_instance": "10.10.0.91,1433",
"username": "arcossqladmin"
},
{
"log_id": "11334",
"serviceLoggedIn": "Nov 19 2020 7:35AM",
"serviceLoggedOut": "Nov 19 2020 7:35AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11335",
"serviceLoggedIn": "Nov 19 2020 7:38AM",
"serviceLoggedOut": "Nov 19 2020 7:39AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11336",
"serviceLoggedIn": "Nov 19 2020 7:41AM",
"serviceLoggedOut": "Nov 19 2020 7:42AM",
"description": "MS SQL EM - Local",
"service_id": "114312",

323
PAM API Part 1

"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11337",
"serviceLoggedIn": "Nov 19 2020 7:43AM",
"serviceLoggedOut": "Nov 19 2020 7:45AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11420",
"serviceLoggedIn": "Nov 27 2020 3:32PM",
"serviceLoggedOut": "Nov 27 2020 3:33PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11617",
"serviceLoggedIn": "Dec 11 2020 1:25PM",
"serviceLoggedOut": "Dec 11 2020 1:25PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12139",
"serviceLoggedIn": "Jan 4 2021 10:40AM",
"serviceLoggedOut": "Jan 4 2021 10:40AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12148",
"serviceLoggedIn": "Jan 4 2021 1:58PM",

324
PAM API Part 1

"serviceLoggedOut": "Jan 4 2021 1:58PM",


"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12159",
"serviceLoggedIn": "Jan 4 2021 2:56PM",
"serviceLoggedOut": "Jan 4 2021 2:56PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12294",
"serviceLoggedIn": "Jan 7 2021 7:21PM",
"serviceLoggedOut": "Jan 7 2021 7:21PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12297",
"serviceLoggedIn": "Jan 7 2021 7:25PM",
"serviceLoggedOut": "Jan 7 2021 7:26PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12444",
"serviceLoggedIn": "Jan 19 2021 4:46PM",
"serviceLoggedOut": "Jan 19 2021 4:49PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},

325
PAM API Part 1

{
"log_id": "12445",
"serviceLoggedIn": "Jan 19 2021 4:53PM",
"serviceLoggedOut": "Jan 19 2021 4:54PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12446",
"serviceLoggedIn": "Jan 19 2021 4:55PM",
"serviceLoggedOut": "Jan 19 2021 4:55PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12447",
"serviceLoggedIn": "Jan 19 2021 4:55PM",
"serviceLoggedOut": "Jan 19 2021 4:56PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12448",
"serviceLoggedIn": "Jan 19 2021 4:55PM",
"serviceLoggedOut": "Jan 19 2021 4:55PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12449",
"serviceLoggedIn": "Jan 19 2021 4:55PM",
"serviceLoggedOut": "Jan 19 2021 4:55PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",

326
PAM API Part 1

"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "12450",
"serviceLoggedIn": "Jan 19 2021 4:55PM",
"serviceLoggedOut": "Jan 19 2021 4:55PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4746",
"serviceLoggedIn": "Dec 20 2019 1:35PM",
"serviceLoggedOut": "Dec 20 2019 1:35PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4747",
"serviceLoggedIn": "Dec 20 2019 1:35PM",
"serviceLoggedOut": "Dec 20 2019 1:35PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4748",
"serviceLoggedIn": "Dec 20 2019 1:35PM",
"serviceLoggedOut": "Dec 20 2019 1:35PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4749",
"serviceLoggedIn": "Dec 20 2019 1:35PM",
"serviceLoggedOut": "Dec 20 2019 5:26PM",
"description": "MS SQL EM - Local",

327
PAM API Part 1

"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4750",
"serviceLoggedIn": "Dec 20 2019 1:36PM",
"serviceLoggedOut": "Dec 20 2019 1:36PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4751",
"serviceLoggedIn": "Dec 20 2019 1:36PM",
"serviceLoggedOut": "Dec 20 2019 1:37PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4752",
"serviceLoggedIn": "Dec 20 2019 1:38PM",
"serviceLoggedOut": "Dec 20 2019 1:38PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "4753",
"serviceLoggedIn": "Dec 20 2019 1:38PM",
"serviceLoggedOut": "Dec 20 2019 1:38PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "5261",

328
PAM API Part 1

"serviceLoggedIn": "Jan 7 2020 6:24PM",


"serviceLoggedOut": "Jan 7 2020 6:24PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "5262",
"serviceLoggedIn": "Jan 7 2020 6:24PM",
"serviceLoggedOut": "Jan 10 2020 11:45AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "6210",
"serviceLoggedIn": "Jan 28 2020 4:05PM",
"serviceLoggedOut": "Jan 28 2020 4:06PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "6666",
"serviceLoggedIn": "Feb 3 2020 7:28PM",
"serviceLoggedOut": "Feb 3 2020 7:28PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "6692",
"serviceLoggedIn": "Feb 5 2020 1:33PM",
"serviceLoggedOut": "Feb 5 2020 1:35PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"

329
PAM API Part 1

},
{
"log_id": "6702",
"serviceLoggedIn": "Feb 5 2020 1:40PM",
"serviceLoggedOut": "Feb 5 2020 1:41PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "6703",
"serviceLoggedIn": "Feb 5 2020 5:20PM",
"serviceLoggedOut": "Feb 5 2020 5:24PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "6704",
"serviceLoggedIn": "Feb 5 2020 5:26PM",
"serviceLoggedOut": "Feb 5 2020 5:31PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8294",
"serviceLoggedIn": "Jun 15 2020 2:24PM",
"serviceLoggedOut": "Jun 15 2020 8:01PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8295",
"serviceLoggedIn": "Jun 15 2020 3:18PM",
"serviceLoggedOut": "Jun 15 2020 8:01PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",

330
PAM API Part 1

"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8651",
"serviceLoggedIn": "Jun 27 2020 7:02PM",
"serviceLoggedOut": "Jun 27 2020 7:02PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8652",
"serviceLoggedIn": "Jun 27 2020 7:03PM",
"serviceLoggedOut": "Jun 27 2020 7:03PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8657",
"serviceLoggedIn": "Jun 27 2020 7:10PM",
"serviceLoggedOut": "Jun 27 2020 7:10PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8658",
"serviceLoggedIn": "Jun 27 2020 7:13PM",
"serviceLoggedOut": "Jun 27 2020 7:15PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8682",
"serviceLoggedIn": "Jun 29 2020 10:56AM",
"serviceLoggedOut": "Jun 29 2020 10:58AM",

331
PAM API Part 1

"description": "MS SQL EM - Local",


"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "8845",
"serviceLoggedIn": "Jul 2 2020 5:41PM",
"serviceLoggedOut": "Jul 2 2020 5:47PM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "9112",
"serviceLoggedIn": "Sep 3 2020 10:58AM",
"serviceLoggedOut": "Sep 3 2020 10:58AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "9113",
"serviceLoggedIn": "Sep 3 2020 10:59AM",
"serviceLoggedOut": "Sep 3 2020 11:01AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "9114",
"serviceLoggedIn": "Sep 3 2020 11:04AM",
"serviceLoggedOut": "Sep 3 2020 11:04AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{

332
PAM API Part 1

"log_id": "9115",
"serviceLoggedIn": "Sep 3 2020 11:04AM",
"serviceLoggedOut": "Sep 3 2020 11:07AM",
"description": "MS SQL EM - Local",
"service_id": "114312",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "suhas.dingankar"
},
{
"log_id": "11672",
"serviceLoggedIn": "Dec 14 2020 12:33PM",
"serviceLoggedOut": "Dec 14 2020 12:33PM",
"description": "MS SQL EM - Local",
"service_id": "114617",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "shailesh"
},
{
"log_id": "11673",
"serviceLoggedIn": "Dec 14 2020 12:35PM",
"serviceLoggedOut": "Dec 14 2020 12:35PM",
"description": "MS SQL EM - Local",
"service_id": "114617",
"server_host": "10.10.0.56",
"server_ip": "10.10.0.56",
"server_instance": "10.10.0.56",
"username": "shailesh"
}
]
}

Response Time 494 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.49.1 Data Types of Request and Response

Type Parameters Data Type Description

Request userid string This value refers to the id of the ARCON PAM
User

service_type_id string This value refers to the Id of the service type


present in ARCON PAM

Response log_id string This value refers to the log id of the service
present in ARCON PAM

333
PAM API Part 1

Type Parameters Data Type Description

serviceLoggedIn string Time of service login date time format as MM/


DD/YYYY HH:mm:ss in a string data type

serviceLoggedOut string Time of service logout date time format as MM/


DD/YYYY HH:mm:ss in a string data type

description string This value refers to the description for the user
group

service_id string This value refers to the id of the service present in


ARCON PAM

server_host string This value refers to the Host of the service


present in ARCON PAM

server_ip string This value refers to the IP address of the service


present in ARCON PAM

server_instance string This value refers to the instance of the service


present in ARCON PAM

username string This value refers to the username of the service


present in ARCON PAM

1.3.49.2 Code Blocks for ‘/GetUserGroupHistory’

Code For Javascript - Jquery Using AJAX

var settings = {
"async": true,
"crossDomain": true,
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistory",
"method": "POST",
"headers": {
"authorization": "bearer eyJ0eXAiO[....Removed for
brevity....]M4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0",
"content-type": "application/json",
"cache-control": "no-cache",
"postman-token": "bb6f2e94-e548-4500-a3d3-01fca9b82e5a"
},
"processData": false,
"data": "\r\n{\r\n\t\"userid\":\"35\",\r\n\t\"service_type_id\":\"2\",\r\n}"
}

$.ajax(settings).done(function (response) {
console.log(response);
});

334
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetUserGroupHistory");
var request = new RestRequest(Method.POST);
request.AddHeader("postman-token", "240d6275-d0fc-db03-0744-677b37e0af9c");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "bearer eyJ0eXA[....Removed for
brevity....]g1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0");
request.AddParameter("application/json", "\r\n{\r\n\t\"userid\":\"35\",
\r\n\t\"service_type_id\":\"2\",\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");


RequestBody body = RequestBody.create(mediaType, "\r\n{\r\n\t\"userid\":\"35\",
\r\n\t\"service_type_id\":\"2\",\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistory")
.post(body)
.addHeader("authorization", "bearer eyJ0eXAi[....Removed for
brevity....]Mzg1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0")
.addHeader("content-type", "application/json")
.addHeader("cache-control", "no-cache")
.addHeader("postman-token", "88b2c533-fd99-e195-948a-cd8bf1044260")
.build();

Response response = client.newCall(request).execute();

335
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistory"

payload = "\r\n{\r\n\t\"userid\":\"35\",\r\n\t\"service_type_id\":\"2\",\r\n}"
headers = {
'authorization': "bearer eyJ0eXAiOiJKV1[....Removed for
brevity....].A5Mzg1NDM4fQ.PloBtREY3xV__XkoreE1xszYexuPhYBEbkr_9l1vaH0",
'content-type': "application/json",
'cache-control': "no-cache",
'postman-token': "476df944-102b-b87c-95f5-41e1e6efa82b"
}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)

1.3.50 GetServiceReferenceTemplate
This API is used to get service reference template

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceReferenceTemplate

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"serviceId": "20"
}

336
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 11:05:37",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": {
"LOBID": 0,
"LOBName": "",
"IsLOBConfigEnabled": false,
"IsValidateReferenceOption1": false,
"ReferenceMethodOption1": "",
"AllowMaxAttemptsOption1": 0,
"IsValidateReferenceOption2": false,
"ReferenceMethodOption2": "",
"AllowMaxAttemptsOption2": 0,
"IsValidateReferenceOption3": false,
"ReferenceMethodOption3": "",
"AllowMaxAttemptsOption3": 0,
"IsValidateReferenceOptionOther": false,
"ReferenceMethodOptionOther": "",
"AllowMaxAttemptsOptionOther": 0,
"IsIPAddressReferenceOption1": false,
"IsIPAddressReferenceOption2": false,
"IsIPAddressReferenceOption3": false,
"IsIPAddressReferenceOptionOther": false,
"CommonDetails": {
"ID": 0,
"CreatedBy": "",
"CreatedOn": "01/01/0001 00:00:00",
"ModifiedBy": "",
"ModifiedOn": "01/01/0001 00:00:00",
"ValidUntil": "01/01/2058 00:00:00",
"GetRecordStatus": 0,
"PriorityStatus": 0,
"IsActive": true,
"IsImapActive": true
}
}
}

Response Time 190 milliseconds

Post Endpoint Call All API's

Supported Features NA

337
PAM API Part 1

1.3.50.1 Data Types of Request and Response

Type Parameters Data Type Description

Request serviceId string This value refers to the id of the


service present in ARCON PAM

Response LOBID int This value refers to the id of LOB


under which the service belongs in
ARCON PAM

LOBName string This value refers to the name of the


LOB profile present in ARCON PAM

IsLOBConfigEnabled bool This value refers to whether


LOBConfig is enabled or not

IsValidateReferenceOption1 bool This value is ‘True' or 'false’

ReferenceMethodOption1 string This value is string which specify the


reference method option 1

AllowMaxAttemptsOption1 int This is a integer value specify


maximum attempts option 1

IsValidateReferenceOption2 bool This value is ‘True' or 'false’

ReferenceMethodOption2 string This value is string which specify the


reference method option 2

AllowMaxAttemptsOption2 int This is a integer value specify


maximum attempts option 2

IsValidateReferenceOption3 bool This value is ‘True' or 'false’

ReferenceMethodOption3 string This value is string which specify the


reference method option 3

AllowMaxAttemptsOption3 int This is a integer value specify


maximum attempts option 3

IsValidateReferenceOptionOther bool This value is ‘True' or 'false’

ReferenceMethodOptionOther string This value is string which specify the


reference method option other

AllowMaxAttemptsOptionOther int This is a integer value specify


maximum attempts option other

IsIPAddressReferenceOption1 bool This value is ‘True' or 'false’

IsIPAddressReferenceOption2 bool This value is ‘True' or 'false’

338
PAM API Part 1

Type Parameters Data Type Description

IsIPAddressReferenceOption3 bool This value is ‘True' or 'false’

IsIPAddressReferenceOptionOther bool This value is ‘True' or 'false’

CommonDetails list This value consists of the


ID,CreatedBy,CreatedOn,ModifiedB
y,ModifiedOn,ValidUntil,GetRecordS
tatus,PriorityStatus,IsActive,IsImapA
ctive present in ARCON PAM

1.3.50.2 Code Blocks for '/GetServiceReferenceTemplate'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceReferenceTemplate",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"serviceId":"12"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceReferenceTemplate");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"serviceId\":\"12\",\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

339
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"serviceId\":\"12\",
\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceReferenceTemplate")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceReferenceTemplate"

payload = "{\r\n \"serviceId\":\"12\",\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.51 GetServiceLastPwdChanged
This Api is use to fetch the last date when service password is change.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceLastPwdChanged

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

340
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://localhost:12356/api/ServiceDetails/
Paramete GetServiceLastPwdChanged?serviceId=5
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/Jan/2021 06:35:14",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Records Found",
"Result": "07/21/2020 23:06:57"
}

Response Time 273 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.51.1 Data Types of Request and Response

Type Parameters Data Type Description

Request serviceId int This value refers to the id of the ARCON PAM
service

Response Result DateTime DateTime is below specified format as string data


type

Sample Value : “07/21/2020 23:06:57“

341
PAM API Part 1

1.3.51.2 Code Blocks for '/GetServiceLastPwdChanged'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceLastPwdChanged?
serviceId=7021",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceLastPwdChanged?serviceId=7021");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

342
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceLastPwdChanged?
serviceId=7021")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceLastPwdChanged?
serviceId=7021"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.52 GetActiveServicesByLOBIdAndGroupIdV2
This API is called to get all active services details which are available in the requested LOB ID and Group ID.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByLOBIdAndGroupId

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

343
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... -


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"LOBId": 2,
"GroupId": 6
}

344
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 12:23:13",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 - Records Found :: Encrypted Fields - UserName",
"Result": [
{
"ServiceId": 114223,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "FJZVpceaR6LP04IK/
2xjCxNjeKLsdISV3tkka34SQug=",
"Password": null,
"DomainName": "10.10.0.30",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.30",
"ServerIp": "10.10.0.30",
"CreatedOn": "09/27/2019 11:26:08",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114294,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "R8V14TxGHd/
oZ+4y+Ca46bMNyDcK8JI95G0Q5tR0d/s=",
"Password": null,
"DomainName": "WIN7ULT64",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN7ULT64",
"ServerIp": "10.10.0.32",
"CreatedOn": "11/29/2019 13:16:25",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114372,
"ServiceTypeId": 7,

345
PAM API Part 1

"ServiceType": "SSH LINUX",


"UserName": "fxZJGqcVf1sVIhnXm4Nj2XAWCIo/
Pxh7d4aEDY8ZWyc=",
"Password": null,
"DomainName": "10.10.2.20",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.2.20",
"ServerIp": "10.10.2.20",
"CreatedOn": "01/30/2020 10:27:29",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114373,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"MPkU4GgU0z3mfUcACS8QKXGZpVusv41zpEqIyB1B3SY=",
"Password": null,
"DomainName": "10.10.2.20",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.2.20",
"ServerIp": "10.10.2.20",
"CreatedOn": "01/30/2020 10:27:42",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
}
]
}

Response Time 350 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.52.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

Mandatory Parameter.

346
PAM API Part 1

Type Parameters Data Type Description

GroupId int This value refers to the id of Group under which


the service belongs in ARCON PAM

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string This value refers to the Parameter 1

Parameter2 string This value refers to the Parameter 2

Parameter3 string This value refers to the Parameter 3

Parameter4 string This value refers to the Parameter 4

347
PAM API Part 1

1.3.52.2 Code Blocks for ‘/GetActiveServicesByLOBIdAndGroupId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras",
"x-PAM-Version":"2"
},
"data": "{\n\tLobId:2,\n\tGroupId:6\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByLobIdAndGroupId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddHeader("x-PAM-Version", "2");
request.AddParameter("application/json", "{\n\tLobId:2,\n\tGroupId:6\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

348
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLobId:2,\n\tGroupId:6\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.addHeader("x-PAM-Version", "2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
GetActiveServicesByLobIdAndGroupId"

payload = "{\n\tLobId:2,\n\tGroupId:6\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras',
'x-PAM-Version': '2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.53 GetActiveServicesByLOBIdV2
This API is called to get all active services details which are available in the requested LOB ID.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByLOBId

Available in API All versions


Version

Release Version U9

349
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"LOBId": 2
}

350
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 01:09:20",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "9 - Records Found :: Encrypted Fields -UserName",
"Result": [
{
"ServiceId": 7021,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"MLY5eDo6nQWQXy8OpBwx00vAja3T+XtbWI1Gs8yuJ2I=",
"Password": null,
"DomainName": "ARCON",
"Instance": "",
"Port": "33891",
"ServerHostName": "WIN2K3_ARCONSRV13",
"ServerIp": "192.168.0.241",
"CreatedOn": "06/30/2009 14:53:08",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "Domain Server",
"Parameter2": "<WKG>",
"Parameter3": "",
"Parameter4": "<WKG>"
},
{
"ServiceId": 7022,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "4Tai11RCjun+1l4vjul1yMC+wqg/GKxHjypEp41C/
ng=",
"Password": null,
"DomainName": "192.168.0.242",
"Instance": "",
"Port": "3389",
"ServerHostName": "192.168.0.242",
"ServerIp": "192.168.0.242",
"CreatedOn": "06/30/2009 14:53:32",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "Domain Server",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<DMN>"
},
{
"ServiceId": 114109,
"ServiceTypeId": 1,

351
PAM API Part 1

"ServiceType": "Windows RDP",


"UserName": "ZrKngig46Hsdm/
kOwbzyF+K4jJcVuXtiM7bxFxs1rPM=",
"Password": null,
"DomainName": "10.10.0.64",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN2K8R2ENT_SQL.ANBGLOBALDC.COM",
"ServerIp": "10.10.0.64",
"CreatedOn": "07/17/2019 16:29:05",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114110,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"GzNG6YcPNQ9+keHLz2JieeK4jJcVuXtiM7bxFxs1rPM=",
"Password": null,
"DomainName": "10.10.0.64",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN2K8R2ENT_SQL.ANBGLOBALDC.COM",
"ServerIp": "10.10.0.64",
"CreatedOn": "07/17/2019 16:32:44",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114223,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "szN4yQ3TmmQ3sHOYrKe/
vxNjeKLsdISV3tkka34SQug=",
"Password": null,
"DomainName": "10.10.0.30",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.30",
"ServerIp": "10.10.0.30",
"CreatedOn": "09/27/2019 11:26:08",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",

352
PAM API Part 1

"Parameter4": ""
},
{
"ServiceId": 114294,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"SSXIK2wpw2Y45mJkwC8v1LMNyDcK8JI95G0Q5tR0d/s=",
"Password": null,
"DomainName": "WIN7ULT64",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN7ULT64",
"ServerIp": "10.10.0.32",
"CreatedOn": "11/29/2019 13:16:25",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114372,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "Asnc3IDFOAejWGS+ZK9unHAWCIo/
Pxh7d4aEDY8ZWyc=",
"Password": null,
"DomainName": "10.10.2.20",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.2.20",
"ServerIp": "10.10.2.20",
"CreatedOn": "01/30/2020 10:27:29",
"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114373,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"nhy7myxvMEjgsmIhJO482XGZpVusv41zpEqIyB1B3SY=",
"Password": null,
"DomainName": "10.10.2.20",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.2.20",
"ServerIp": "10.10.2.20",

353
PAM API Part 1

"CreatedOn": "01/30/2020 10:27:42",


"ValidTo": "01/01/2058 00:00:00",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114450,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "5zciq5KEf9WmCF/
QGL370EvAja3T+XtbWI1Gs8yuJ2I=",
"Password": null,
"DomainName": "ATSTESTDC",
"Instance": "",
"Port": "3389",
"ServerHostName": "ATSTESTDC",
"ServerIp": "10.10.0.71",
"CreatedOn": "06/16/2020 15:49:10",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
}
]
}

Response Time 455 milliseconds

Post Endpoint Call NA

Supported Features NA

1.3.53.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

354
PAM API Part 1

Type Parameters Data Type Description

UserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string This value refers to the Parameter1

Parameter2 string This value refers to the Parameter2

Parameter3 string This value refers to the Parameter3

Parameter4 string This value refers to the Parameter4

355
PAM API Part 1

1.3.53.2 Code Blocks for ‘/GetActiveServicesByLOBId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2Ras",
"x-PAM-Version":2
},
"data": "{\n\tLOBId:2\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByLOBId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras");
request.AddHeader("x-PAM-Version":"2");
request.AddParameter("application/json", "{\n\tLOBId:2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

356
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLOBId:2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByLOBId"

payload = "{\n\tLOBId:2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2Ras',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.54 GetActiveServicesByGroupIdV2
This API is called to get all active services details which are available in the requested Group Id.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByGroupId

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

357
PAM API Part 1

Request Params • • • •

Headers Content-Type application/json Mandatory •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 •

Body
{
GroupId: 2
}

358
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 01:20:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "78 - Records Found :: Encrypted Fields -UserName",
"Result": [
{
"ServiceId": 113380,
"ServiceTypeId": 199,
"ServiceType": "App Dbeaver",
"UserName":
"JampEHlGJFA47kzxm6qElDYSpuzw164dat4ac5JbAng=",
"Password": null,
"DomainName": "10.10.0.154",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.154",
"ServerIp": "10.10.0.154",
"CreatedOn": "03/19/2019 14:53:47",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<ORACLE><gui_sso><orc_conn>Service
Name<orc_usr_typ>Normal"
},
{
"ServiceId": 113442,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "Z8LorL0OIEyrg4M/
IYIcncqeVSrgBagofhEmO8lxcJc=",
"Password": null,
"DomainName": "10.10.0.204",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.204",
"ServerIp": "10.10.0.204",
"CreatedOn": "04/09/2019 14:18:52",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY><6STEPS>"
},
{
"ServiceId": 114112,

359
PAM API Part 1

"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"TZ5yR1MHD68y5e1CohAieKjhbvyXeA1MlqYyIuFrLWM=",
"Password": null,
"DomainName": "10.10.5.40",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.5.40",
"ServerIp": "10.10.5.40",
"CreatedOn": "07/19/2019 11:07:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "ldapuser desc 1",
"Parameter2": "ldapuser desc 2",
"Parameter3": "ldapuser desc 3",
"Parameter4": ""
},
{
"ServiceId": 114113,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"UN0r26Yk0Vr06evxiwY5KuIa8gHGTg3htVLYAKSDjfI=",
"Password": null,
"DomainName": "10.10.0.175",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.175",
"ServerIp": "10.10.0.175",
"CreatedOn": "07/19/2019 11:08:20",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114119,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"AjP6BQTFmODpB+UQ+M0KzVtFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.2.42",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.2.42",
"ServerIp": "10.10.2.42",
"CreatedOn": "07/20/2019 14:53:44",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",

360
PAM API Part 1

"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114131,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "0444DMJb/
XgKF3OH1ENp4RfgsdaVJYIGan9+wuT4pNw=",
"Password": null,
"DomainName": "10.10.0.126",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.126",
"ServerIp": "10.10.0.126",
"CreatedOn": "08/14/2019 15:09:17",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114134,
"ServiceTypeId": 33,
"ServiceType": "App SQL Developer - Oracle",
"UserName":
"yDmTnu7AbDhnPaAtNhPC3DYSpuzw164dat4ac5JbAng=",
"Password": null,
"DomainName": "10.10.0.154",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.154",
"ServerIp": "10.10.0.154",
"CreatedOn": "08/14/2019 20:22:24",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<basic><jab>"
},
{
"ServiceId": 114135,
"ServiceTypeId": 33,
"ServiceType": "App SQL Developer - Oracle",
"UserName":
"0VvRdjcs5lp3fsTm5N6kkWR6F8zxz1xCuJWqdqKXsZA=",
"Password": null,
"DomainName": "10.10.0.154",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.154",

361
PAM API Part 1

"ServerIp": "10.10.0.154",
"CreatedOn": "08/14/2019 20:47:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<JAB><BASIC>"
},
{
"ServiceId": 114139,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "6kAnAlOzzUxGGty6pLyIZoTLf4WGIf1r+vxdO7V1/
K0=",
"Password": null,
"DomainName": "8.8.8.8",
"Instance": "",
"Port": "5555",
"ServerHostName": "8.8.8.8",
"ServerIp": "8.8.8.8",
"CreatedOn": "08/19/2019 11:00:02",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114148,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "PIV6y2RPqfh0sRct/BoILGVYV4xYCxR0l81/
xW2YTg4=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "08/23/2019 09:45:49",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114150,
"ServiceTypeId": 140,
"ServiceType": "App WinSCP",
"UserName": "A8/
JVGZlOc6ReZ+omxug58qeVSrgBagofhEmO8lxcJc=",

362
PAM API Part 1

"Password": null,
"DomainName": "10.10.0.204",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.204",
"ServerIp": "10.10.0.204",
"CreatedOn": "08/23/2019 17:17:58",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<SFTP>"
},
{
"ServiceId": 114151,
"ServiceTypeId": 140,
"ServiceType": "App WinSCP",
"UserName":
"5uZYQlDbPvAblZas83+s3ltFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "08/23/2019 17:33:23",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<SFTP>"
},
{
"ServiceId": 114163,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"QGVABthVYT8e4wevBUmGUVuORsO4cPfFHSl0tjEws8w=",
"Password": null,
"DomainName": "10.10.0.69",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.69",
"ServerIp": "10.10.0.69",
"CreatedOn": "08/29/2019 19:47:23",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{

363
PAM API Part 1

"ServiceId": 114164,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "3/
Br1hVD5nV3nfx3G1HGrJRLaggAxgiciX0HQfRvj/s=",
"Password": null,
"DomainName": "10.10.0.69",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.69",
"ServerIp": "10.10.0.69",
"CreatedOn": "08/29/2019 20:14:26",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>"
},
{
"ServiceId": 114186,
"ServiceTypeId": 154,
"ServiceType": "App SecureCRT",
"UserName":
"2LZlCHH06aVMXOOgVAXM11tFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "09/05/2019 16:38:20",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "ssh2<DATA><FWH>13245</FWH></
DATA><multisession>"
},
{
"ServiceId": 114188,
"ServiceTypeId": 182,
"ServiceType": "App Toad for SQLserver",
"UserName":
"5MdDYRcxJnlQUj7Rvi0iV4kN4d2cvFZZO86j41agmGI=",
"Password": null,
"DomainName": "10.10.0.56",
"Instance": "",
"Port": "1433",
"ServerHostName": "10.10.0.56",
"ServerIp": "10.10.0.56",
"CreatedOn": "09/06/2019 13:11:10",

364
PAM API Part 1

"ValidTo": "01/01/2058 23:59:59",


"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114216,
"ServiceTypeId": 2,
"ServiceType": "MS SQL EM - Local",
"UserName":
"XMNZPp5KolgAJrQQDKjKxYkN4d2cvFZZO86j41agmGI=",
"Password": null,
"DomainName": "10.10.0.91",
"Instance": "10.10.0.91,1433",
"Port": "1433",
"ServerHostName": "10.10.0.91",
"ServerIp": "10.10.0.91",
"CreatedOn": "09/19/2019 15:17:06",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<VER>14"
},
{
"ServiceId": 114219,
"ServiceTypeId": 153,
"ServiceType": "App ReflectionX",
"UserName":
"Ea6eo0J7BizxrU6PLOzxalvwhwWwhsc1UEtLcr9v4so=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "09/23/2019 15:13:00",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114223,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"TTnf6BZrdqid9oD85NI2ExNjeKLsdISV3tkka34SQug=",
"Password": null,
"DomainName": "10.10.0.30",

365
PAM API Part 1

"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.30",
"ServerIp": "10.10.0.30",
"CreatedOn": "09/27/2019 11:26:08",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114224,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "avht/
lPTh43wpUfAhmM6obY1loN7J5sfoAvIG68n7kQ=",
"Password": null,
"DomainName": "ATSTESTDC",
"Instance": "",
"Port": "3389",
"ServerHostName": "ATSTEST",
"ServerIp": "10.10.0.71",
"CreatedOn": "09/27/2019 15:17:42",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "U5 Service",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114237,
"ServiceTypeId": 176,
"ServiceType": "App ASE Client",
"UserName":
"64KOsi11+GfD5EkW27WGP26wYO2Q1aaGpDMAFZc147E=",
"Password": null,
"DomainName": "10.10.10.10",
"Instance": "pqr",
"Port": "0000",
"ServerHostName": "10.10.10.10",
"ServerIp": "10.10.10.10",
"CreatedOn": "10/18/2019 18:35:35",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114241,
"ServiceTypeId": 37,

366
PAM API Part 1

"ServiceType": "App UNIX GUI",


"UserName": "N5NkLpH2WFf5hz//
BfAkVdgvPEcOSgGtbIunu0itH2U=",
"Password": null,
"DomainName": "ANBGLOBALDC",
"Instance": "",
"Port": "5901",
"ServerHostName": "LAP278",
"ServerIp": "10.10.2.15",
"CreatedOn": "10/22/2019 13:36:48",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114242,
"ServiceTypeId": 115,
"ServiceType": "App DameWare",
"UserName": "MefRlJ1XfzGdXomaODWjmLlfYFe8cbl/
fkf2gj85PUk=",
"Password": null,
"DomainName": "anbglobaldc",
"Instance": "",
"Port": "6129",
"ServerHostName": "LAP043",
"ServerIp": "10.10.1.88",
"CreatedOn": "10/22/2019 14:14:55",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114243,
"ServiceTypeId": 115,
"ServiceType": "App DameWare",
"UserName": "Lpu9uufm/
1QO4XfiYF+JGT+VgY1H1sRDlAoNUeJrHFs=",
"Password": null,
"DomainName": "LAP043",
"Instance": "",
"Port": "6127",
"ServerHostName": "LAP043",
"ServerIp": "10.10.1.88",
"CreatedOn": "10/22/2019 17:44:08",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",

367
PAM API Part 1

"Parameter4": ""
},
{
"ServiceId": 114245,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"3r4CXXe7dCfPD39mHu3ZBUvAja3T+XtbWI1Gs8yuJ2I=",
"Password": null,
"DomainName": "52.23.250.38",
"Instance": "",
"Port": "3389",
"ServerHostName":
"EC2-52-23-250-38.COMPUTE-1.AMAZONAWS.COM",
"ServerIp": "52.23.250.38",
"CreatedOn": "10/24/2019 17:46:15",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<NLA>"
},
{
"ServiceId": 114248,
"ServiceTypeId": 37,
"ServiceType": "App UNIX GUI",
"UserName":
"A+E8D8EGGkOq4eh+aF3sJ26wYO2Q1aaGpDMAFZc147E=",
"Password": null,
"DomainName": "LAP233",
"Instance": "",
"Port": "5900",
"ServerHostName": "LAP233",
"ServerIp": "10.10.2.131",
"CreatedOn": "11/05/2019 12:31:07",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114249,
"ServiceTypeId": 37,
"ServiceType": "App UNIX GUI",
"UserName":
"jA8wqMZWzEw598q0zpwVl26wYO2Q1aaGpDMAFZc147E=",
"Password": null,
"DomainName": "LAP330",
"Instance": "",
"Port": "5900",
"ServerHostName": "LAP330",

368
PAM API Part 1

"ServerIp": "10.10.2.50",
"CreatedOn": "11/05/2019 17:17:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114251,
"ServiceTypeId": 37,
"ServiceType": "App UNIX GUI",
"UserName":
"vNovpbFj1fRbtjAOy+qMeUNk+Zavn4lFRU9LT7DpjBw=",
"Password": null,
"DomainName": "LAP346",
"Instance": "",
"Port": "5900",
"ServerHostName": "LAP346",
"ServerIp": "10.10.1.223",
"CreatedOn": "11/06/2019 17:52:37",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114252,
"ServiceTypeId": 192,
"ServiceType": "",
"UserName":
"+eB7gdEcG+fbws6Zh04VlokN4d2cvFZZO86j41agmGI=",
"Password": null,
"DomainName": "10.10.0.56",
"Instance": "",
"Port": "1434",
"ServerHostName": "10.10.0.56",
"ServerIp": "10.10.0.56",
"CreatedOn": "11/09/2019 20:24:56",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "<MYSQL>",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114259,
"ServiceTypeId": 193,
"ServiceType": "App Cyberduck",
"UserName":
"MLbhnxaRJ7lxw4lMNChupokN4d2cvFZZO86j41agmGI=",

369
PAM API Part 1

"Password": null,
"DomainName": "10.10.0.56",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.56",
"ServerIp": "10.10.0.56",
"CreatedOn": "11/11/2019 12:44:10",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "<amazons3>",
"Parameter3": "<amazons3>",
"Parameter4": ""
},
{
"ServiceId": 114262,
"ServiceTypeId": 111,
"ServiceType": "App MobaXterm",
"UserName":
"8+okaLacqvoxiD3GKr6rsz4HRuNvDnaue5xGMssfIuQ=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "11/11/2019 15:47:16",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<VER>20.6<IMG><DATA><FWH>sshlinux</
FWH><LWH>MobaXterm</LWH></DATA>"
},
{
"ServiceId": 114271,
"ServiceTypeId": 72,
"ServiceType": "App PLSQL Developer - Oracle",
"UserName":
"E1rv98KKBOf8zM5tKgnu9DYSpuzw164dat4ac5JbAng=",
"Password": null,
"DomainName": "10.10.0.154",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.154",
"ServerIp": "10.10.0.154",
"CreatedOn": "11/13/2019 11:09:22",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<GUI>"
},

370
PAM API Part 1

{
"ServiceId": 114276,
"ServiceTypeId": 53,
"ServiceType": "App MySQL Administrator",
"UserName": "T0fi0rZC/
8rDRxzhlKqPisv747xEKHa23n0Lg7UPGxQ=",
"Password": null,
"DomainName": "10.10.0.150",
"Instance": "",
"Port": "3306",
"ServerHostName": "10.10.0.150",
"ServerIp": "10.10.0.150",
"CreatedOn": "11/15/2019 15:39:38",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<VER>1.0.19</VER>"
},
{
"ServiceId": 114281,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "pvVtXpq+UG/
17axQQHN3qXBikdAhHZ1S5PfguDr4g4k=",
"Password": null,
"DomainName": "ARCOSDEV2",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.126",
"ServerIp": "10.10.0.126",
"CreatedOn": "11/19/2019 19:35:27",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "TT",
"Parameter2": "TT",
"Parameter3": "TT",
"Parameter4": ""
},
{
"ServiceId": 114282,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"ILTobNBpc5axd7lF6auGl3BikdAhHZ1S5PfguDr4g4k=",
"Password": null,
"DomainName": "ANBGLOBALDC",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.126",
"ServerIp": "10.10.0.126",
"CreatedOn": "11/19/2019 19:38:56",
"ValidTo": "01/01/2058 23:59:59",

371
PAM API Part 1

"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114283,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "IBBAOhqlaZC/
lmh6qoNJBVU65S4DJr1CFXyHm9LWXDI=",
"Password": null,
"DomainName": "10.10.0.69",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.69",
"ServerIp": "10.10.0.69",
"CreatedOn": "11/20/2019 13:59:14",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114284,
"ServiceTypeId": 132,
"ServiceType": "App MySQL Work Bench",
"UserName":
"Hx96EDf3bdUoT64atsuKkVtFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "127.0.0.1",
"Instance": "",
"Port": "3306",
"ServerHostName": "127.0.0.1",
"ServerIp": "127.0.0.1",
"CreatedOn": "11/22/2019 12:02:36",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114287,
"ServiceTypeId": 133,
"ServiceType": "App SqlDbx",
"UserName": "xq/
T5S6s26N6vZNVAvxDR5o82VvI9MR69YWSfkqQfJw=",
"Password": null,
"DomainName": "10.10.0.91",
"Instance": "10.10.0.91,1433",

372
PAM API Part 1

"Port": "1433",
"ServerHostName": "10.10.0.91",
"ServerIp": "10.10.0.91",
"CreatedOn": "11/27/2019 17:05:43",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114288,
"ServiceTypeId": 144,
"ServiceType": "App SQL yog",
"UserName":
"eoxSQiLiyswTrHtlYGT0G0fTdZUjOhFlfwCjhcoyo5E=",
"Password": null,
"DomainName": "127.0.0.1",
"Instance": "",
"Port": "3306",
"ServerHostName": "127.0.0.1",
"ServerIp": "127.0.0.1",
"CreatedOn": "11/27/2019 17:23:45",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114289,
"ServiceTypeId": 182,
"ServiceType": "App Toad for SQLserver",
"UserName": "QAsh8mOiQwOkV/
xfrqmTV5o82VvI9MR69YWSfkqQfJw=",
"Password": null,
"DomainName": "10.10.0.91",
"Instance": "",
"Port": "1433",
"ServerHostName": "10.10.0.91",
"ServerIp": "10.10.0.91",
"CreatedOn": "11/27/2019 17:58:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114290,
"ServiceTypeId": 180,
"ServiceType": "App SQL Advantage",

373
PAM API Part 1

"UserName": "yNlIUF0JGgCd5tnC4FR/
vm6wYO2Q1aaGpDMAFZc147E=",
"Password": null,
"DomainName": "10.10.10.10",
"Instance": "test",
"Port": "1521",
"ServerHostName": "10.10.10.10",
"ServerIp": "10.10.10.10",
"CreatedOn": "11/27/2019 19:23:49",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114291,
"ServiceTypeId": 179,
"ServiceType": "App Sybase Central",
"UserName": "hmTuuV+MxqdDXg8+ghW/T37wTtK/
yuqUU6wHCIjuhnE=",
"Password": null,
"DomainName": "10.10.10.10",
"Instance": "xyz",
"Port": "0000",
"ServerHostName": "10.10.10.10",
"ServerIp": "10.10.10.10",
"CreatedOn": "11/27/2019 19:36:12",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114299,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "0qb5DCZmiSi9TVYUt/
F1aBOa41VADgj58YClN+mZ7r8=",
"Password": null,
"DomainName": "10.10.0.64",
"Instance": "",
"Port": "3389",
"ServerHostName": "SHRADDHA_T",
"ServerIp": "10.10.0.64",
"CreatedOn": "12/09/2019 15:38:17",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "TT",
"Parameter2": "TT",
"Parameter3": "TT",
"Parameter4": ""

374
PAM API Part 1

},
{
"ServiceId": 114304,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"dmLig2PkPUrwrDstY+MsBiBYKSVTm+gcABtvM+r+8AQ=",
"Password": null,
"DomainName": "10.10.0.132",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.132",
"ServerIp": "10.10.0.132",
"CreatedOn": "12/17/2019 10:51:29",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "redhat",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114305,
"ServiceTypeId": 170,
"ServiceType": "App SAN Switch",
"UserName": "9lvqK2y/
YrRyHC9X0tHHJV4b7W96UhoisGAZXLuLVMc=",
"Password": null,
"DomainName": "10.10.0.22",
"Instance": "",
"Port": "443",
"ServerHostName": "10.10.0.22",
"ServerIp": "10.10.0.22",
"CreatedOn": "12/17/2019 18:49:52",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114318,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"HPGz2QrKbl1gCjdC9047J+K4jJcVuXtiM7bxFxs1rPM=",
"Password": null,
"DomainName": "172.31.21.242",
"Instance": "",
"Port": "22",
"ServerHostName": "172.31.21.242",
"ServerIp": "172.31.21.242",
"CreatedOn": "12/26/2019 11:07:47",

375
PAM API Part 1

"ValidTo": "01/01/2058 00:00:00",


"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114320,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "on7UoSKpQVZH/
WNmCHOGF1U65S4DJr1CFXyHm9LWXDI=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "12/27/2019 14:07:29",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY><SUR>"
},
{
"ServiceId": 114329,
"ServiceTypeId": 135,
"ServiceType": "App FileZilla",
"UserName":
"s01uzkR25tZcEo16PqMXKCBYKSVTm+gcABtvM+r+8AQ=",
"Password": null,
"DomainName": "10.10.0.132",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.132",
"ServerIp": "10.10.0.132",
"CreatedOn": "01/03/2020 11:30:17",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "DA",
"Parameter2": "DA",
"Parameter3": "DA",
"Parameter4": "DA"
},
{
"ServiceId": 114351,
"ServiceTypeId": 205,
"ServiceType": "App Barracuda Firewall Admin ",
"UserName": "ti0mFbDAnbwaHzUyQ6LsbfhZoMQWz2SZezIGYOCl/
bM=",
"Password": null,
"DomainName": "10.10.0.1",

376
PAM API Part 1

"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.1",
"ServerIp": "10.10.0.1",
"CreatedOn": "01/21/2020 11:34:39",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114354,
"ServiceTypeId": 199,
"ServiceType": "App Dbeaver",
"UserName": "yw5SwGqEIVKufTOm7JZx3OZg0JBnw/
tiDOTsywsg5dM=",
"Password": null,
"DomainName": "10.10.0.56",
"Instance": "",
"Port": "1434",
"ServerHostName": "10.10.0.56",
"ServerIp": "10.10.0.56",
"CreatedOn": "01/21/2020 18:21:16",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<MSSQL>"
},
{
"ServiceId": 114355,
"ServiceTypeId": 15,
"ServiceType": "SSH Oracle SQLPlus",
"UserName":
"fJdDGuDpxY4lfbkYaXZFJzYSpuzw164dat4ac5JbAng=",
"Password": null,
"DomainName": "10.10.0.69",
"Instance": "arcon",
"Port": "1521",
"ServerHostName": "10.10.0.69",
"ServerIp": "10.10.0.69",
"CreatedOn": "01/22/2020 17:16:04",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114359,
"ServiceTypeId": 7,

377
PAM API Part 1

"ServiceType": "SSH LINUX",


"UserName":
"09anEAktzU6JjF9Cq1z73FzBZ2U0BD7HeOcIEJiYfkM=",
"Password": null,
"DomainName": "10.10.0.55",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.55",
"ServerIp": "10.10.0.55",
"CreatedOn": "01/24/2020 14:37:06",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY><sudo-su>"
},
{
"ServiceId": 114360,
"ServiceTypeId": 207,
"ServiceType": "SSH MongoDb",
"UserName": "LHgT3b0P+B+5uEutrJT8LPhZoMQWz2SZezIGYOCl/
bM=",
"Password": null,
"DomainName": "10.10.0.55",
"Instance": "test",
"Port": "27017",
"ServerHostName": "10.10.0.55",
"ServerIp": "10.10.0.55",
"CreatedOn": "01/24/2020 14:46:55",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114366,
"ServiceTypeId": 12,
"ServiceType": "Oracle QA",
"UserName":
"80veKbAK90AypzLw+Iz24PEs6AlNDEaIMfEtLXRfwQ8=",
"Password": null,
"DomainName": "10.10.0.69",
"Instance": "uat",
"Port": "1521",
"ServerHostName": "10.10.0.69",
"ServerIp": "10.10.0.69",
"CreatedOn": "01/27/2020 19:01:04",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "<CMD>",

378
PAM API Part 1

"Parameter4": "sysdba"
},
{
"ServiceId": 114367,
"ServiceTypeId": 9,
"ServiceType": "AIX",
"UserName":
"Ylfzm1chABTIs2cQjYHSFnuK8BSPOm62An2rpGd1C/U=",
"Password": null,
"DomainName": "10.10.0.128",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.127",
"ServerIp": "10.10.0.128",
"CreatedOn": "01/28/2020 11:30:05",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "11t",
"Parameter2": "11",
"Parameter3": "11",
"Parameter4": "11"
},
{
"ServiceId": 114368,
"ServiceTypeId": 207,
"ServiceType": "SSH MongoDb",
"UserName":
"eLJyjgYSZnmIvepy5o5JnVtFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.0.175",
"Instance": "test1",
"Port": "22",
"ServerHostName": "10.10.0.175",
"ServerIp": "10.10.0.175",
"CreatedOn": "01/28/2020 13:01:38",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<parameters>mysql -u {username} -p"
},
{
"ServiceId": 114369,
"ServiceTypeId": 49,
"ServiceType": "SSH Router",
"UserName":
"wHFFtGyQuzSTpmRqZOijKj4HRuNvDnaue5xGMssfIuQ=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",

379
PAM API Part 1

"CreatedOn": "01/28/2020 16:30:16",


"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114370,
"ServiceTypeId": 4,
"ServiceType": "MySQL QA",
"UserName": "5/D/
gD7vob+G0CiHIDQon1tFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.0.150",
"Instance": "arcon",
"Port": "3306",
"ServerHostName": "10.10.0.150",
"ServerIp": "10.10.0.150",
"CreatedOn": "01/29/2020 15:50:28",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114379,
"ServiceTypeId": 49,
"ServiceType": "SSH Router",
"UserName": "M+IJYUxoCuu/
YeMWvlZRtccyxEAW0TmKdCz3wM8D0qE=",
"Password": null,
"DomainName": "10.10.0.7",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.7",
"ServerIp": "10.10.0.7",
"CreatedOn": "01/31/2020 19:44:50",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114400,
"ServiceTypeId": 53,
"ServiceType": "App MySQL Administrator",
"UserName":
"YA681PMK1Hwr6vurxoBL6VtFYY7VN9pXfJRLCb8Ym54=",
"Password": null,

380
PAM API Part 1

"DomainName": "127.0.0.1",
"Instance": "",
"Port": "3306",
"ServerHostName": "127.0.0.1",
"ServerIp": "127.0.0.1",
"CreatedOn": "03/31/2020 12:17:32",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<VER>1.0</
VER><DATA><BORDERCOLOR>#00ff00</BORDERCOLOR><TITLECOLOR>#ff0000</
TITLECOLOR></DATA>"
},
{
"ServiceId": 114416,
"ServiceTypeId": 0,
"ServiceType": "SSH Telnet",
"UserName": "8t6RrPRWOgHBsOWEI+
+4y6hajLgndHYHbes4uJUaegE=",
"Password": null,
"DomainName": "10.10.0.7",
"Instance": "",
"Port": "23",
"ServerHostName": "10.10.0.7",
"ServerIp": "10.10.0.7",
"CreatedOn": "05/12/2020 12:20:04",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<pty>"
},
{
"ServiceId": 114443,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"1d0dYOkXC2RozjgdHVh1d1gDTynDZlm6Vi8mSQUUKm0=",
"Password": null,
"DomainName": "SERVICE1ANYGROUP",
"Instance": "",
"Port": "3389",
"ServerHostName": "SERVICE1ANYGROUP",
"ServerIp": "10.10.0.0.0",
"CreatedOn": "06/01/2020 10:31:27",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},

381
PAM API Part 1

{
"ServiceId": 114444,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName": "hBzithVIl6JlOAuytfyUN3TfpL/
ReZPlgZ0YB9BPbJ8=",
"Password": null,
"DomainName": "win1",
"Instance": "",
"Port": "3389",
"ServerHostName": "WIN1",
"ServerIp": "10.10.0.2",
"CreatedOn": "06/01/2020 10:56:50",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114451,
"ServiceTypeId": 235,
"ServiceType": "App HeidiSQL",
"UserName": "N1YjkTTnwQeCFgGTla4s80In1W1YDRf/
SgyJj5OJ4c8=",
"Password": null,
"DomainName": "10.10.0.210",
"Instance": "",
"Port": "3306",
"ServerHostName": "10.10.0.210",
"ServerIp": "10.10.0.210",
"CreatedOn": "06/18/2020 14:07:41",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114454,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"i+wTxXQgB0SVODCSJuMbNVzBZ2U0BD7HeOcIEJiYfkM=",
"Password": null,
"DomainName": "10.10.0.180",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.180",
"ServerIp": "10.10.0.180",
"CreatedOn": "06/19/2020 11:32:40",
"ValidTo": "01/01/2058 23:59:59",

382
PAM API Part 1

"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114481,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"4gxcbmEfjlA4HDE8dEJkluQFiTBUOagM+NvG7pJdGhg=",
"Password": null,
"DomainName": "13.232.49.179",
"Instance": "",
"Port": "22",
"ServerHostName": "13.232.49.179",
"ServerIp": "13.232.49.179",
"CreatedOn": "06/24/2020 15:16:44",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "Do Not change Password",
"Parameter2": "Test",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114577,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "LUu9A7U5bkGf/1P42LNb9/
iQWYb7u37aL7GFbuVnFk8=",
"Password": null,
"DomainName": "13.126.64.185",
"Instance": "",
"Port": "22",
"ServerHostName": "13.126.64.185",
"ServerIp": "13.126.64.185",
"CreatedOn": "09/05/2020 16:25:49",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "Testing SSHkey",
"Parameter2": "Do no use for any other test",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114579,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "O/
TWQSYVjMQ63ZgknSlatltFYY7VN9pXfJRLCb8Ym54=",
"Password": null,
"DomainName": "10.10.0.55",
"Instance": "",

383
PAM API Part 1

"Port": "22",
"ServerHostName": "10.10.0.55",
"ServerIp": "10.10.0.55",
"CreatedOn": "09/07/2020 19:08:34",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "DO NOT CHANGE PASSWORD",
"Parameter2": "checked allow password",
"Parameter3": "",
"Parameter4": "<PTY>"
},
{
"ServiceId": 114581,
"ServiceTypeId": 136,
"ServiceType": "App TeraTerm",
"UserName": "APFJUsIHhkQ2z3qyJFUnKoTVnPiAxfGAa/
RMWTzX7yM=",
"Password": null,
"DomainName": "10.10.0.132",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.132",
"ServerIp": "10.10.0.132",
"CreatedOn": "10/23/2020 13:25:56",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114588,
"ServiceTypeId": 49,
"ServiceType": "SSH Router",
"UserName": "h0QXdfqXdIfxsU76txm4v1S+LV+S4V8LbRzfLEqS/
uQ=",
"Password": null,
"DomainName": "10.10.0.7",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.7",
"ServerIp": "10.10.0.7",
"CreatedOn": "10/30/2020 16:45:29",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114605,
"ServiceTypeId": 256,
"ServiceType": "Amazon Web Services (AWS)",

384
PAM API Part 1

"UserName": "qxtyhbItMQ8mZy7/
G8yMUnZuXJO3IFgFYsyJdZX9Fdo=",
"Password": null,
"DomainName": "",
"Instance": "",
"Port": "",
"ServerHostName": "",
"ServerIp": "",
"CreatedOn": "11/24/2020 11:16:09",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "AWS HK Desc 1",
"Parameter2": "AWS HK Desc 2",
"Parameter3": "AWS HK Desc 3",
"Parameter4": "<aws>"
},
{
"ServiceId": 114607,
"ServiceTypeId": 256,
"ServiceType": "Amazon Web Services (AWS)",
"UserName": "RSuGr03b69ho0SA/
p2m21nZuXJO3IFgFYsyJdZX9Fdo=",
"Password": null,
"DomainName": "",
"Instance": "",
"Port": "",
"ServerHostName": "",
"ServerIp": "",
"CreatedOn": "11/27/2020 20:01:41",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114613,
"ServiceTypeId": 10,
"ServiceType": "IBM AS 400",
"UserName":
"xNQCwRVDsgk9zEsh3LBrKi55OtErOsHX+BCmlw5rv+Y=",
"Password": null,
"DomainName": "PUB400.COM",
"Instance": "",
"Port": "23",
"ServerHostName": "PUB400.COM",
"ServerIp": "185.113.5.134",
"CreatedOn": "12/02/2020 10:29:16",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""

385
PAM API Part 1

},
{
"ServiceId": 114655,
"ServiceTypeId": 6,
"ServiceType": "SSH UNIX",
"UserName":
"kzLh9mlyod3E6ZPU265MbyTP9NBwExM495mLvTzPW6I=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "01/19/2021 12:51:12",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114657,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName": "tvHjYwrroEF5/xMo8iJvbju+eS4Scq8S4V3GYtQH/
H0=",
"Password": null,
"DomainName": "10.10.1.17",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.1.17",
"ServerIp": "10.10.1.17",
"CreatedOn": "01/19/2021 14:45:53",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": "<PTY><GUARD>"
},
{
"ServiceId": 114660,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"UserName":
"pU9aCXzM44jX1FQD6R9UR0W6hX6jVGN7WA6ocYuIrrc=",
"Password": null,
"DomainName": "65.0.176.40",
"Instance": "",
"Port": "6622",
"ServerHostName": "65.0.176.40",
"ServerIp": "65.0.176.40",
"CreatedOn": "01/20/2021 20:00:00",

386
PAM API Part 1

"ValidTo": "01/01/2058 23:59:59",


"Parameter1": "",
"Parameter2": "",
"Parameter3": "DA",
"Parameter4": ""
},
{
"ServiceId": 114661,
"ServiceTypeId": 6,
"ServiceType": "SSH UNIX",
"UserName": "vjDRVZUHZAl8zjApY9802MPjbTgkjBxxQ/
Umq11aY+g=",
"Password": null,
"DomainName": "10.10.0.38",
"Instance": "",
"Port": "22",
"ServerHostName": "10.10.0.38",
"ServerIp": "10.10.0.38",
"CreatedOn": "01/21/2021 12:56:59",
"ValidTo": "01/01/2058 23:59:59",
"Parameter1": "",
"Parameter2": "",
"Parameter3": "",
"Parameter4": ""
},
{
"ServiceId": 114664,
"ServiceTypeId": 1,
"ServiceType": "Windows RDP",
"UserName":
"2slTnd1hZiIlLlKFkPXJjH2QDiBwuULaHi6I0esecHw=",
"Password": null,
"DomainName": "10.10.0.127",
"Instance": "",
"Port": "3389",
"ServerHostName": "10.10.0.127",
"ServerIp": "10.10.0.127",
"CreatedOn": "01/22/2021 15:36:21",
"ValidTo": "12/31/2021 23:59:59",
"Parameter1": "Test Provisioning",
"Parameter2": "Test Provisioning",
"Parameter3": "DA",
"Parameter4": "<PTY>"
}
]
}

Response Time 526 milliseconds

Post Endpoint Call NA

Supported Features NA

387
PAM API Part 1

1.3.54.1 Data Types of Request and Response

Type Parameters Data Type Description

Request GroupId int This value refers to the id of Group under which
the service belongs in ARCON PAM

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

UserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service present
in ARCON PAM

ServerHostName string This value refers to the hostname of the service


present in ARCON PAM

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

CreatedOn Date time This value refers to the date time when service
was created in ARCON PAM

ValidTo string This value refers to the date time up to which


service will be valid

Parameter1 string This value refers to the Parameter1

Parameter2 string This value refers to the Parameter2

Parameter3 string This value refers to the Parameter3

Parameter4 string This value refers to the Parameter4

388
PAM API Part 1

1.3.54.2 Code Blocks for ‘/GetActiveServicesByGroupId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras",
"x-PAM-Version": "2"
},
"data": "{\n\tGroupId:1\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByGroupId");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddHeader("x-PAM-Version","2");
request.AddParameter("application/json", "{\n\tGroupId:1\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

389
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tGroupId:1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByGroupId"

payload = "{\n\tGroupId:1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.55 GetServiceDetailsV2
This API is used to fetch details of service providing ServiceId and ServiceTypeId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetails

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

390
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"ServiceId":114535,
"UserId":35,
"ServiceTypeId":1,
"UserSessionId":1
}

391
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 04:00:57",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull Encrypted
Fields :ServiceUsername,ServicePassword and PuttyWebServiceUrl",
"Result": {
"ServiceSessionId": "12586",
"ServiceWindowTitle": "10.11.0.11@Ug6cTtE/
8PhWh7I94QDmQYiinlyYQ0/uZgri/ok4sJo=:10.xx.x.xx-WindowsRDP",
"IpAddress": "10.11.0.11",
"ServiceDomain": "2",
"HostName": "10.xx.x.xx",
"Port": "1234",
"ServiceUsername": "Ug6cTtE/8PhWh7I94QDmQYiinlyYQ0/uZgri/
ok4sJo=",
"ServicePassword": "lI2fLBntERhYsiKiLF/
JcPgw8CMPeVy2qieLtOZNZvE=",
"InstanceName": null,
"ServiceID": "114535",
"ServiceType": "WindowsRDP",
"ServiceTypeId": "1",
"ServiceSubType": null,
"Description": "10.11.0.11@Ug6cTtE/8PhWh7I94QDmQYiinlyYQ0/
uZgri/ok4sJo=:10.xx.x.xx-WindowsRDP",
"UseGatewayServer": "true",
"GatewayServerIp": "10.10.0.38",
"GatewayServerPort": "22",
"GatewayServerUsername": "root",
"GatewayServerPassword": "pass@123",
"PuttyWebServiceUrl": "tydJ54VFma/
sPH+zk90Um3ZuXJO3IFgFYsyJdZX9Fdo=",
"LaunchParameters": null,
"IsEnableVideoLog": true,
"fromdate": null,
"todate": null,
"OneTimeServiceId": 0,
"fromtime": null,
"totime": null,
"timedifference": 0,
"accesstype": 0,
"OpenInFrame": false,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": "",
"Field2": "",
"Field3": "",

392
PAM API Part 1

"Field4": "1",
"ServiceSessiontimeout": "1200000",
"EncryptedSessionId": "pAbtCQMfnRqktOfNXomHGg==",
"AcmoWebServiceURL": "http://10.10.0.91:13521/ARCOSWebAPI/
ARCOSSessionCommandLogAPI.asmx",
"APPEXE": null,
"RestrictedCommands": [
"regedit.exe",
"taskmgr.exe"
],
"RestrictedProcesses": null
}
}

Response Time 510 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.55.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present in
ARCON PAM.

Mandatory Parameter.

UserId int This value refers to the id of the ARCON PAM


User

Mandatory Parameter.

ServiceTypeId int This value refers to the Id of the service type


present in ARCON PAM

Mandatory Parameter.

UserSessionId int This value refers to the Id of the user session


present in ARCON PAM

Mandatory Parameter.

ServiceSessionId int This value refers to the Id of the service session


present in ARCON PAM

393
PAM API Part 1

Type Parameters Data Type Description

AccessType string This value refers to the type of service access


present in ARCON PAM

Response ServiceSessionId int This value refers to the id of the service session
present in ARCON PAM

ServiceWindowTitl string This value refers to the window title of the service
e present in ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

Port int This value refers to the port number of the service
present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

ServicePassword string This value is in encrypted format refers to the


password of the service present in ARCON PAM

InstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceId int This value refers to the id of the service present in


ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceSubType string This value refers to a subtype of the service


present in ARCON PAM

Description string This value refers to a description of the service


present in ARCON PAM

UseGatewayServer bool This value will be like ‘true' or 'false’

GatewayServerIP string This value refers to the IP address of the gateway


server present in ARCON PAM

GatewayServerPor int This value refers to the port number of the


t gateway server present in ARCON PAM

394
PAM API Part 1

Type Parameters Data Type Description

GatewayServerUse string This value refers to the username of the gateway


rName server present in ARCON PAM

GatewayServerPas string This value refers to the password of the gateway


sword server present in ARCON PAM

PuttyWebServiceU string This value is in encrypted format refers to the URL


rl of the web service present in ARCON PAM

LaunchParameters string This value refers to launch parameters of the


service present in ARCON PAM

IsEnableVideoLog bool This value will be like ‘true' or 'false’

fromdate DateTime

todate DateTime

OneTimeServiceId int

fromtime Timespan

totime Timespan

timedifference long

accesstype int

OpenInFrame bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string This value refers to the Field 1

Field2 string This value refers to the Field 2

Field3 string This value refers to the Field 3

Field4 string This value refers to the Field 4

ServiceSessionTim int This value refers to the timeout of the service


eout session present in ARCON PAM

EncryptedSessionI string This value refers to the id of the service session


d present in ARCON PAM

AcmoWebServiceU string
rl

APPEXE string

395
PAM API Part 1

Type Parameters Data Type Description

RestrictedComman list
ds

RestrictedProcesse list
s

1.3.55.2 Code Blocks for '/GetServiceDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"x-PAM-Version" : 2
},
"data": JSON.stringify({"ServiceId":114535,"UserId":35,"ServiceTypeId":1,"UserSess
ionId":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

396
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails"

payload = "{\r\n \"ServiceId\":114535,\r\n \"UserId\":35,\r\n


\"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.56 GetAssignedServiceListV2
This API is used to fetch a list of services assigned to an ARCON PAM user.

Type of Request POST

Endpoint /api/ServiceDetails/GetAssignedServiceList

Available in API All versions


Version

Release Version U13

397
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"UserId":35,
"ServiceTypeId":1
}

398
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jan/2021 11:40:02",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "59 - Records Found ::Encrypted
Field :ServiceUsername",
"Result": [
{
"ServiceId": "114222",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.127-Windows RDP",
"ServiceUsername": "FGVhCs92BDfhgwciQuy/5iF+KYReC7/
SjzzYOLAleZQ=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.30-Windows RDP",
"ServiceUsername":
"qUUnQZP2STin8KSaycXxtBNjeKLsdISV3tkka34SQug=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",

399
PAM API Part 1

"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.30-Windows RDP",
"ServiceUsername":
"qUUnQZP2STin8KSaycXxtBNjeKLsdISV3tkka34SQug=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.30-Windows RDP",
"ServiceUsername":
"qUUnQZP2STin8KSaycXxtBNjeKLsdISV3tkka34SQug=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,

400
PAM API Part 1

"LOBName": "MUMBAI ZONE",


"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.30-Windows RDP",
"ServiceUsername":
"qUUnQZP2STin8KSaycXxtBNjeKLsdISV3tkka34SQug=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "MUMBAI ZONE",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114331",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.150-Windows RDP",
"ServiceUsername":
"ZRaaCcaeu6aGb67aGbKuBRn9o1H7iJhnjG48uBvmfD0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,

401
PAM API Part 1

"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114418",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.64@LAMTest2:WIN2K8R2ENT_SQL-Windows RDP",
"ServiceUsername": "VBQ6G4BmRcEuuYQ6oWjtTWwxRhRgH9n/
LP4/Te45FE0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114443",
"IpAddress": "10.10.0.0.0",
"HostName": "SERVICE1ANYGROUP",
"ServiceDomain": "SERVICE1ANYGROUP",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.0.0@user1:SERVICE1ANYGROUP-Windows RDP",
"ServiceUsername": "zC/
g9M98GEIWfXdQO+5dC1gDTynDZlm6Vi8mSQUUKm0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,

402
PAM API Part 1

"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.150-Windows RDP",
"ServiceUsername": "wJgYs/QRv0sHT+FX4ztYSrmsUN/
EthM6l1s+8jRX58A=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114174",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP999:MYHOSTNAME-
Windows RDP",
"ServiceUsername": "5TrJzoXUIA5uNbvNHvMy/
41yeoy5retKd6fwekCA5Ro=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,

403
PAM API Part 1

"ReconcileStatus": null
},
{
"ServiceId": "114174",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP999:MYHOSTNAME-
Windows RDP",
"ServiceUsername": "5TrJzoXUIA5uNbvNHvMy/
41yeoy5retKd6fwekCA5Ro=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114224",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceDomain": "ATSTESTDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.71@user1008:ATSTEST-
Windows RDP",
"ServiceUsername":
"RpQ9n09A5ahF5lsX03xMZLY1loN7J5sfoAvIG68n7kQ=",
"Instance": "",
"Field1": "U5 Service",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},

404
PAM API Part 1

{
"ServiceId": "114225",
"IpAddress": "10.10.0.91",
"HostName": "ARCOS-UAT2",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:ARCOS-UAT2-Windows RDP",
"ServiceUsername": "F/
Td5MOdG3mKZjsBVgYd+hnX2W4QzfETCiAD3/0H9cI=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114319",
"IpAddress": "10.10.0.26",
"HostName": "10.10.0.26",
"ServiceDomain": "ARCOSDEV",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.26@netadmin:10.10.0.26-
Windows RDP",
"ServiceUsername":
"KikVbANYBEDoZhvDKBnX+UGwrRgVjKlRIa8nGznJrPg=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114417",

405
PAM API Part 1

"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.64@LAMTest1:WIN2K8R2ENT_SQL-Windows RDP",
"ServiceUsername": "P/
O9mqF3gQIktvs9IQrY9avWV6RKlbKfn0ZKQGAZhN8=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114444",
"IpAddress": "10.10.0.2",
"HostName": "WIN1",
"ServiceDomain": "win1",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.2@uesr1:WIN1-Windows
RDP",
"ServiceUsername": "IleeRg8UyIwh9bXc3wpgR3TfpL/
ReZPlgZ0YB9BPbJ8=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114413",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",

406
PAM API Part 1

"ServiceDomain": "ATSTESTDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.173@User1008:SERVER-
Windows RDP",
"ServiceUsername":
"n0aVVSc+rR+qVkYXIJKGvzfYlJLAEdMJbETwpZlspdo=",
"Instance": "",
"Field1": "<ATS><PIN>144538</PIN>",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114664",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceDomain": "10.10.0.127",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.127@TestProv5:10.10.0.127-Windows RDP",
"ServiceUsername": "PyqytosayVq/
b1F2nOJjYH2QDiBwuULaHi6I0esecHw=",
"Instance": "",
"Field1": "Test Provisioning",
"Field2": "Test Provisioning",
"Field3": "DA",
"Field4": "<PTY>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114180",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME001",
"ServiceDomain": "domain",
"ServiceType": "Windows RDP",

407
PAM API Part 1

"ServiceTypeId": null,
"ServiceDisplayName": "88.88.88.88@user1:HOSTNAME001-
Windows RDP",
"ServiceUsername": "0nQXq6oNShafbTB93/
Q6MVgDTynDZlm6Vi8mSQUUKm0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114182",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME002",
"ServiceDomain": "domain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "88.88.88.88@user2:HOSTNAME002-
Windows RDP",
"ServiceUsername":
"qll6W4KH+nP6aTxT6e05dr36ODp445bFiep6XrmuzZk=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114294",
"IpAddress": "10.10.0.32",
"HostName": "WIN7ULT64",
"ServiceDomain": "WIN7ULT64",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,

408
PAM API Part 1

"ServiceDisplayName": "[email protected]:WIN7ULT64-
Windows RDP",
"ServiceUsername": "fV4a9nSe/
bTmTW+9h8qVg7MNyDcK8JI95G0Q5tR0d/s=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "MUMBAI ZONE",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114294",
"IpAddress": "10.10.0.32",
"HostName": "WIN7ULT64",
"ServiceDomain": "WIN7ULT64",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "[email protected]:WIN7ULT64-
Windows RDP",
"ServiceUsername": "fV4a9nSe/
bTmTW+9h8qVg7MNyDcK8JI95G0Q5tR0d/s=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "MUMBAI ZONE",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114294",
"IpAddress": "10.10.0.32",
"HostName": "WIN7ULT64",
"ServiceDomain": "WIN7ULT64",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "[email protected]:WIN7ULT64-
Windows RDP",

409
PAM API Part 1

"ServiceUsername": "fV4a9nSe/
bTmTW+9h8qVg7MNyDcK8JI95G0Q5tR0d/s=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114297",
"IpAddress": "10.10.0.30",
"HostName": "ARCOSPOCENV",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.30@RDPONLY:ARCOSPOCENV-
Windows RDP",
"ServiceUsername": "T8/
r4oexdi6UeKHksndR2YwaeVrMQF+ZfiW6iPp4tKw=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114357",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceDomain": "anbglobaldc",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.150@WINATH_USER:10.10.0.150-Windows RDP",
"ServiceUsername": "PjpqfAjtTwWvKgMCdVlj7JhP2GNcb/
k5Reyhy9qzrnE=",

410
PAM API Part 1

"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "DA",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114412",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",
"ServiceDomain": "SERVER",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:SERVER-Windows RDP",
"ServiceUsername":
"wSGBGsWpaZWx0OFkqwL4VC60gtK68jKHKih7lMUS9TI=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "<ATS><PIN>488485</PIN>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114438",
"IpAddress": "10.10.10.10",
"HostName": "MYHOST",
"ServiceDomain": "MyDomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.10.10@testtest:MYHOST-
Windows RDP",
"ServiceUsername":
"LOJth7wHOlXz6IKilY742gMBiO487kvhhumbQUgo7K8=",
"Instance": "",
"Field1": "",

411
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114139",
"IpAddress": "8.8.8.8",
"HostName": "8.8.8.8",
"ServiceDomain": "8.8.8.8",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "8.8.8.8@test_demo:8.8.8.8-
Windows RDP",
"ServiceUsername": "jwZQ1xXU9Bbtm/
ra8HRi8oTLf4WGIf1r+vxdO7V1/K0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114282",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.126-Windows RDP",
"ServiceUsername":
"5dQ1YhvJ4PbPG7LwP2pvn3BikdAhHZ1S5PfguDr4g4k=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",

412
PAM API Part 1

"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114332",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.179@administrator:ARCOSDEVSVR4-Windows RDP",
"ServiceUsername":
"DDsBSswxirELshm0klPOvuK4jJcVuXtiM7bxFxs1rPM=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "<runasmmc>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114402",
"IpAddress": "10.10.0.171",
"HostName": "ARCOSDEVSVR3",
"ServiceDomain": "ARCOSDEVSVR3",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:ARCOSDEVSVR3-Windows RDP",
"ServiceUsername":
"zsuluSCW3AA5qxyelkuTwAFXaKkfzcQVeSlc0Vz/eCM=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,

413
PAM API Part 1

"LOBName": "DEFAULT LOB 1",


"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114435",
"IpAddress": "10.10.0.200",
"HostName": "TESTSIDSERVICE",
"ServiceDomain": "TESTSIDSERVICE",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.200@testuser10:TESTSIDSERVICE-Windows RDP",
"ServiceUsername":
"NAP5DgaBVH0Y2wDLNrq20jh8kpwWMOJNLUcxWqLqonk=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114391",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceDomain": "10.10.0.171",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.171-Windows RDP",
"ServiceUsername":
"L5ZBSedmkb9EgqrTOt+SfC60gtK68jKHKih7lMUS9TI=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,

414
PAM API Part 1

"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114446",
"IpAddress": "10.10.0.4",
"HostName": "HELLO4",
"ServiceDomain": "101.10.0.4",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.4@user10:HELLO4-Windows
RDP",
"ServiceUsername": "J+IJnkbTSD4a8sdKVVXFaO3hVwxoo/
qfSYQxux5jDD0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "DA",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114245",
"IpAddress": "52.23.250.38",
"HostName": "EC2-52-23-250-38.COMPUTE-1.AMAZONAWS.COM",
"ServiceDomain": "52.23.250.38",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"52.23.250.38@Administrator:EC2-52-23-250-38.COMPUTE-1.AMAZONAWS.C
OM-Windows RDP",
"ServiceUsername": "QNY2/VL0gtW7Lh/
t+x5bIkvAja3T+XtbWI1Gs8yuJ2I=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "<NLA>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,

415
PAM API Part 1

"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114385",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.64@administrator:WIN2K8R2ENT_SQL-Windows RDP",
"ServiceUsername": "/iO3SUfkL8gYKtCZead/
leK4jJcVuXtiM7bxFxs1rPM=",
"Instance": "",
"Field1": "1",
"Field2": "2",
"Field3": "3",
"Field4": "4",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114432",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.64@PROMPT_USER:WIN2K8R2ENT_SQL-Windows RDP",
"ServiceUsername":
"teCh6MLMw0yojeofDKiVzFU65S4DJr1CFXyHm9LWXDI=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,

416
PAM API Part 1

"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114129",
"IpAddress": "10.10.0.130",
"HostName": "10.10.0.130",
"ServiceDomain": "10.10.0.130",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.130@abhi:10.10.0.130-
Windows RDP",
"ServiceUsername": "LOBTlELxUUFQQ5vbqI9/L5if/
nTATUUiAV/U8e+ccL0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114130",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceDomain": "10.10.0.30",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "10.10.0.30@Abhi:10.10.0.30-
Windows RDP",
"ServiceUsername": "pJtgMu/
7fFYGP+OtZ1pQvCkwMHBdvmILoFDLlAFURWc=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,

417
PAM API Part 1

"ReconcileStatus": null
},
{
"ServiceId": "114183",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME003",
"ServiceDomain": "domain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "88.88.88.88@user3:HOSTNAME003-
Windows RDP",
"ServiceUsername": "jOY0dUrbQ4N2aX2tv0RyF8Zm/
HCXuQO0C62IOrYoi84=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114302",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.150@PROMPT_USER:10.10.0.150-Windows RDP",
"ServiceUsername":
"wujznQ4BA5Hf8qR9B0iriFU65S4DJr1CFXyHm9LWXDI=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},

418
PAM API Part 1

{
"ServiceId": "114415",
"IpAddress": "10.10.0.127",
"HostName": "ARCOSDEVSVR",
"ServiceDomain": "ARCOSDEVSVR",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.127@administrator:ARCOSDEVSVR-Windows RDP",
"ServiceUsername":
"nxna2pdehyRvPnpJxK23QOK4jJcVuXtiM7bxFxs1rPM=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114175",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME1",
"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP998:MYHOSTNAME1-
Windows RDP",
"ServiceUsername":
"G6bXL59lKkkHYng43ShLvHcKpK8YIzqOQXW3L0vFTHc=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114175",

419
PAM API Part 1

"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME1",
"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP998:MYHOSTNAME1-
Windows RDP",
"ServiceUsername":
"G6bXL59lKkkHYng43ShLvHcKpK8YIzqOQXW3L0vFTHc=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114176",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP997:MYHOSTNAME-
Windows RDP",
"ServiceUsername":
"mAL1yvnEGYa0bvx6YMvH+GtPVVhYCa1F77d5C7xTZ8w=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114176",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",

420
PAM API Part 1

"ServiceDomain": "Mydomain",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "99.99.99.98@RDP997:MYHOSTNAME-
Windows RDP",
"ServiceUsername":
"mAL1yvnEGYa0bvx6YMvH+GtPVVhYCa1F77d5C7xTZ8w=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114221",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.126-Windows RDP",
"ServiceUsername": "Yeaayp//A6FP5ZEGXWucmSF+KYReC7/
SjzzYOLAleZQ=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114298",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",

421
PAM API Part 1

"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.126@test_service:10.10.0.126-Windows RDP",
"ServiceUsername":
"ggw9IIMF3LgJN3LPxm58c7OutJlOdyMQT9MlMCumh4E=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114403",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceDomain": "ARCOSDEVSVR4",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.179@shailesh:ARCOSDEVSVR4-Windows RDP",
"ServiceUsername": "1463nJEqlJ4+A8/ddwuqP0bLiVR/
kHVgIgeCKHQ7pb0=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114178",
"IpAddress": "10.10.10.19",
"HostName": "ABC",
"ServiceDomain": "10.10.10.19",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,

422
PAM API Part 1

"ServiceDisplayName": "10.10.10.19@test:ABC-Windows
RDP",
"ServiceUsername":
"POC8ghe1NJh2wZe7MITAnm6wYO2Q1aaGpDMAFZc147E=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114393",
"IpAddress": "10.10.0.142",
"HostName": "10.10.0.142",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.142@administrator:10.10.0.142-Windows RDP",
"ServiceUsername":
"W29IEfybNktJv2gjaQDlFuK4jJcVuXtiM7bxFxs1rPM=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "DA",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114131",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceDomain": "10.10.0.126",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.126-Windows RDP",

423
PAM API Part 1

"ServiceUsername":
"LtqT9FrHkA4YaeMAhbKc7hfgsdaVJYIGan9+wuT4pNw=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114179",
"IpAddress": "10.10.10.19",
"HostName": "10.10.10.19",
"ServiceDomain": "10.10.10.19",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.10.19@test123:10.10.10.19-Windows RDP",
"ServiceUsername":
"O0av7WyorCanuyCOQYk0QFrnq5Ydp2BHUWPwgBI3UD8=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114647",
"IpAddress": "10.10.2.97",
"HostName": "DSK064.ANBGLOBALDC.COM",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.2.97@PROMPT_USER:DSK064.ANBGLOBALDC.COM-Windows RDP",
"ServiceUsername":
"Lrvb3hhLz9FQDDG3qgcdX1U65S4DJr1CFXyHm9LWXDI=",

424
PAM API Part 1

"Instance": "",
"Field1": ".",
"Field2": ".",
"Field3": "DA",
"Field4": "<NLA>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114534",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceDomain": "ATSTESTDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"10.10.0.71@administrator:ATSTEST-Windows RDP",
"ServiceUsername": "xEP36/oZ/
gQBXGBvmcWn+eK4jJcVuXtiM7bxFxs1rPM=",
"Instance": "",
"Field1": "modify",
"Field2": "",
"Field3": "DA",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114653",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceDomain": "ANBGLOBALDC",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.171-Windows RDP",
"ServiceUsername": "/
hdSUmnBBwXqlFyCZlg4lomcfpNgDhFdOxYWHQxs5ow=",
"Instance": "",
"Field1": "",

425
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114580",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceDomain": "10.10.0.150",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.150-Windows RDP",
"ServiceUsername": "31Xj2wt1ybbT/abHtDC/UdqKt/
HtrACcTDBVSriSdwk=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "DA",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114502",
"IpAddress": "10.10.2.54",
"HostName": "DSK015",
"ServiceDomain": "anbglobaldc",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName": "[email protected]:DSK015-
Windows RDP",
"ServiceUsername":
"pX4uXvwLSc801ZZ2NZTDkqKLDoLQHa9SPdsaZx1ixko=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",

426
PAM API Part 1

"Field4": "<FS>",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"ServiceId": "114603",
"IpAddress": "10.10.0.43",
"HostName": "10.10.0.43",
"ServiceDomain": "10.10.0.43",
"ServiceType": "Windows RDP",
"ServiceTypeId": null,
"ServiceDisplayName":
"[email protected]:10.10.0.43-Windows RDP",
"ServiceUsername":
"PjNUODe2oODb8vKVKNt6OOfeNAv07HuGs2W3Q3H3zS4=",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 0,
"LOBName": "DEFAULT LOB 1",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
}
]
}

Response Time 856 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.56.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM user

Mandatory Parameter.

427
PAM API Part 1

Type Parameters Data Type Description

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM.

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

IPAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the host name of the ARCON
PAM service

ServiceType string This value refers to the type of service of the


ARCON PAM service

ServiceDisplayNam string This value refers to the display name of the


e ARCON PAM service

ServiceUsername string This value is in encrypted format refers to the


username of the ARCON PAM service

Instance string This value refers to the instance name of the


ARCON PAM service

Field1 string This value refers field 1

Field2 string This value refers field 2

Field3 string This value refers field 3

Field4 string This value refers field 4

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

ServiceRename string

IconString string

Color string

Description string This value is in string format , refers to the


description of service

428
PAM API Part 1

Type Parameters Data Type Description

AccessType int This value refers to the access type of the service

1.3.56.2 Code Blocks for '/GetAssignedServiceList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"UserId":35,"ServiceTypeId":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetAssignedServiceList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddHeader("x-PAM-Version","2");
request.AddParameter("application/json",
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

429
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetAssignedServiceList"

payload = "{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM',
'x-PAM-Version': '2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.57 GetServiceParamConfig
This Api is userd to fetch service param config

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceParamConfig

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

430
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Query
String http://pamapi.arconnet.com/api/ServiceDetails/
Paramete GetServiceParamConfig?serviceId=9&paramConfigId=2
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jan/2021 01:28:03",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Records Found",
"Result": "1"
}

Response Time 342 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.57.1 Data Types of Request and Response

Type Parameters Data Type Description

Request serviceId int This value refers to the id of the ARCON PAM
service

Mandatory Parameter.

paramConfigId int This value refers to the id of the param config


present in service param config table in ARCON
PAM.

Mandatory Parameter.

Response Result string This value refers to the spc value from service
param config table

431
PAM API Part 1

1.3.57.2 Code Blocks for '/GetServiceParamConfig'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParamConfig?
serviceId=9&paramConfigId=2
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY",
"x-PAM-Version":2
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceParamConfig?serviceId=9&paramConfigId=2");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
request.AddHeader("x-PAM-Version":"2")
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

432
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParamConfig?
serviceId=9&paramConfigId=2")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.addHeader("x-PAM-Version",2)
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParamConfig?
serviceId=9&paramConfigId=2"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY',
'x-PAM-Version':2
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.58 AuthenticateUserV2
This API is used to validate the user for authentication in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/AuthenticateUser

Available in API All versions


Version

Release Version U10

433
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"UserName":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=",
"Password":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=",
"DomainName":"ATSTESTDC",
"IPAddress":"10.10.1.123",
"IPMacAddress":"AB:CD:34:EF:GH:12"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jan/2021 11:01:15"",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Validation Successful",
"Result": null
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.58.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value is in encrypted format refers to the


username of the ARCON PAM user

Mandatory Parameter.

434
PAM API Part 1

Type Parameters Data Type Description

Password string This value is in encrypted format refers to the


password of the ARCON PAM user

Mandatory Parameter.

DomainName string This value refers to the domain of the ARCON


PAM user

Mandatory Parameter.

IPAddress string This value refers to IP address from which the user
logged in to ARCON PAM

Mandatory Parameter.

IPMacAddress string This value refers to mac address from which the
user logged in to ARCON PAM

Mandatory Parameter.

Response Message string This value refers to a success or failure message

1.3.58.2 Code Blocks for '/AuthenticateUser'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"x-PAM-Version":2
},
"data": JSON.stringify({"UserName":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=","
Password":"GBLutLS8JYe/qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=","DomainName":"ATSTESTDC","I
PAddress":"10.10.1.123","IPMacAddress":"AB:CD:34:EF:GH:12"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

435
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


AuthenticateUser");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\r\n \"UserName\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\r\n \"Password\":\"GBLutLS8JYe/
qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserName\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\r\n \"Password\":\"GBLutLS8JYe/
qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

436
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUser"

payload = "{\r\n \"UserName\":\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",


\r\n \"Password\":\"GBLutLS8JYe/qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=\",\r\n
\"DomainName\":\"ATSTESTDC\",\r\n \"IPAddress\":\"10.10.1.123\",\r\n
\"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.59 AuthenticateUserAfterLockoutV2
This API is used to validate the user for authentication after lockout in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/AuthenticateUserAfterLockout

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

437
PAM API Part 1

Body
{
"UserName":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=",
"Password":"GBLutLS8JYe/qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=",
"DomainName":"ATSTESTDC",
"IPAddress":"10.10.1.123",
"IPMacAddress":"AB:CD:34:EF:GH:12"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jan/2021 11:41:25",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.59.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value is in encrypted format refers to the


username of the ARCON PAM user

Mandatory Parameter.

Password string This value is in encrypted format refers to the


password of the ARCON PAM user

Mandatory Parameter.

DomainName string This value refers to the domain of the ARCON


PAM user

Mandatory Parameter.

438
PAM API Part 1

Type Parameters Data Type Description

IPAddress string This value refers to IP address from which the user
logged in to ARCON PAM

Mandatory Parameter.

IPMacAddress string This value refers to mac address from which the
user logged in to ARCON PAM

Mandatory Parameter.

Response Result string This value will be like ‘true' or 'false’

1.3.59.2 Code Blocks for '/AuthenticateUserAfterLockout'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
AuthenticateUserAfterLockout",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"UserName":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=","
Password":"GBLutLS8JYe/qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=","DomainName":"ATSTESTDC","I
PAddress":"10.10.1.123","IPMacAddress":"AB:CD:34:EF:GH:12"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

439
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


AuthenticateUserAfterLockout");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
reuest.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\r\n \"UserName\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\r\n \"Password\":\"GBLutLS8JYe/
qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserName\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\r\n \"Password\":\"GBLutLS8JYe/
qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserAfterLockout")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

440
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserAfterLockout"

payload = "{\r\n \"UserName\":\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",


\r\n \"Password\":\"GBLutLS8JYe/qMY1yLjqXYjhNln6dCkarPmH3L4JD9Q=

\",\r\n \"DomainName\":\"ATSTESTDC\",\r\n \"IPAddress\":\"10.10.1.123\",\r\n


\"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.60 UpdateApplicationSessionIdByArconSessionId
This API is used to Update Application session Id by using Arcon session id in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/UpdateApplicationSessionIdByArconSessionId

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - -

441
PAM API Part 1

Query
String http://pamapi.arconnet.com/api/ServiceDetails/
Paramete UpdateApplicationSessionIdByArconSessionId?
r arconSessionId=1&appSessionId=2

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jan/2021 01:08:46",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": true
}

Response Time 315 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.60.1 Data Types of Request and Response

Type Parameters Data Type Description

Request arconSessionId long This value refers to the id of the session in


ARCON PAM

appSessionId string This value refers to the application session id in


ARCON PAM

Response Result bool Result is in boolean format ‘true' or 'false’

442
PAM API Part 1

1.3.60.2 Code Blocks for '/UpdateApplicationSessionIdByArconSessionId'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
UpdateApplicationSessionIdByArconSessionId?arconSessionId=1&appSessionId=2
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY",
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


UpdateApplicationSessionIdByArconSessionId?arconSessionId=1&appSessionId=2");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

443
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
UpdateApplicationSessionIdByArconSessionId?arconSessionId=1&appSessionId=2")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
UpdateApplicationSessionIdByArconSessionId?arconSessionId=1&appSessionId=2"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.61 AuthenticateUserPasswordLess
This API is used to Authenticate User Password less in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/AuthenticateUserPasswordLess

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

444
PAM API Part 1

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version Not Applicable -

Body
{
"UserName":"ARCOSADMIN",
"UserId":"",
"DomainName":"ARCOSAUTH",
"IPAddress":"10.10.1.123",
"IPMacAddress":"AB:CD:34:EF:GH:12",
"ProcessorID":"",
"BIOSSerialID":""
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Mar/2021 11:55:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"UserSessionId": null,
"UserId": "35",
"UserDisplayName": null,
"FAAccessType": "0",
"error": 0,
"OTP": null,
"Challenge": null,
"Executable": null,
"LaunchParameters": null,
"GroupId": null,
"GroupName": null,
"UserType": "Client"
}
}

Response Time 433 milliseconds

Post Endpoint Call NA

Supported Features NA

445
PAM API Part 1

1.3.61.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value refers to the username of the ARCON
PAM user

Mandatory Parameter.

UserId string This value refers to the UserId of the ARCON


PAM user

DomainName string This value refers to the domain of the ARCON


PAM user

Mandatory Parameter.

IPAddress string This value refers to IP address from which the user
logged in to ARCON PAM

Mandatory Parameter.

IPMacAddress string This value refers to mac address from which the
user logged in to ARCON PAM

Mandatory Parameter.

ProcessorID string This value refers to Processor Id to ARCON PAM

BIOSSerialID string This value refers to BIOSSerial id to ARCON PAM

Response UserSessionId string This value refers to the session id of the user
present in ARCON PAM

UserId int This value refers to the user id of the service


present in ARCON PAM

UserDisplayName string This value refers to the User display name of the
service type present in ARCON PAM

FAAccessType string This value refers to the FAccess Type

error string This value refers to the error

OTP string This value refers to the OTP

Challenge string This value refers to the Challenge

Executable string This value refers to the Executable

446
PAM API Part 1

Type Parameters Data Type Description

LaunchParameters string This value refers to the Launch Parameters

GroupId string This value refers to the Group Id present in


ARCON PAM

GroupName string This value refers to the Group name present in


ARCON PAM

UserType string This value refers to the user type in ARCON PAM

1.3.61.2 Code Blocks for '/AuthenticateUserPasswordLess'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
AuthenticateUserPasswordLess",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"

},
"data": JSON.stringify({"UserName":"ARCOSADMIN","UserId":"","DomainName":"ARCOSAUT
H","IPAddress":"10.10.1.123","IPMacAddress":"AB:CD:34:EF:GH:12","ProcessorID":"",
"BIOSSerialID":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

447
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


AuthenticateUserPasswordLess");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"UserName\":\"ARCOSADMIN\",\r\n
\"UserId\":\"\",\r\n \"DomainName\":\"ARCOSAUTH\",\r\n \"IPAddress\":
\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n \"ProcessorID\":
\"",\r\n \"BIOSSerialID\":\"",\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserName\":
\"ARCOSADMIN\",\r\n \"UserId\":\"",\r\n \"DomainName\":\"ARCOSAUTH\",\r\n
\"IPAddress\":\"10.10.1.123\",\r\n \"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n
\"ProcessorID\":\"",\r\n \"BIOSSerialID\":\"",\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserPasswordLess")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

448
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/AuthenticateUserPasswordLess"

payload = "{\r\n \"UserName\":\"ARCOSADMIN\",\r\n \"UserId\":\"",\r\n \"Dom


ainName\":\"ARCOSAUTH\",\r\n \"IPAddress\":\"10.10.1.123\",\r\n
\"IPMacAddress\":\"AB:CD:34:EF:GH:12\"\r\n \"ProcessorID\":\"",\r\n \"BIOSSerialID\"
:\"",\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.62 RequestServicePassword
This API is use to request the service password.

Type of Request POST

Endpoint /api/ServiceDetails/RequestServicePassword

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

449
PAM API Part 1

Body
{
"LOBProfile":"DEFAULT LOB 1",
"ServerIP":"10.10.5.40",
"ServiceType":"Windows RDP",
"UserName":"ldapusers",
"DBInstanceName":""

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Feb/2021 11:37:43",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Service password fetched successfully.",
"Result": 'OCu1X0H5ZTcw3iiedVhKH5PLGVzVv3D/
gjAWfy7D30SIml5YKvPXEdNXLiCeBC4DqOrcKENzjh4p+nTbNEKrh27fFZ937XOHmE
FkhKJ0KKZkMLq2F7pO2HP0C0xlOBBF'
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.62.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBProfile string This value refers to LOB Profile of the service
present in ARCON PAM

Mandatory Parameter.

ServerIP string This value refers to the IP address of the service


present in ARCON PAM

Mandatory Parameter.

450
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the name of the service type
present in ARCON PAM

Mandatory Parameter.

UserName string This value refers to the username of the service


present in ARCON PAM

Mandatory Parameter.

DBInstanceName string This value refers to the DB instance of the service


present in ARCON PAM

Response Result string This value refers to the password of the reuested
service

1.3.62.2 Code Blocks for '/RequestServicePassword'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/RequestServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"LOBProfile":"DEFAULT LOB 1","ServerIP":"10.10.5.40","Serv
iceType":"Windows RDP","UserName":"ldapusers","DBInstanceName":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

451
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


RequestServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddHeader("x-PAM-Version","2");
request.AddParameter("application/json", "{\r\n \"LOBProfile\":"DEFAULT LOB 1",
\r\n \"ServerIP\":"10.10.5.40",\r\n \"ServiceType\":\"Windows RDP\",\r\n
\"UserName\":\"ldapusers\"\r\n \"DBInstanceName\":\""\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"LOBProfile\":"DEFAULT
LOB 1",\r\n \"ServerIP\":"10.10.5.40",\r\n \"ServiceType\":\"Windows RDP\",
\r\n \"UserName\":\"ldapusers\"\r\n \"DBInstanceName\":\""\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/RequestServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

452
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/RequestServicePassword"

payload = "{\r\n \"LOBProfile\":"DEFAULT LOB 1",\r\n \"ServerIP\":"10.10.5.40"


,\r\n \"ServiceType\":\"Windows RDP\",\r\n \"UserName\":\"ldapusers\"\r\n
\"DBInstanceName\":\""\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs',
'x-PAM-Version': '2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.63 GetUserGroupHistoryVideoLog
This Api is used to fetch User group history video log from Arcon PAM

Type of Request POST

Endpoint /api/ServiceDetails/GetUserGroupHistoryVideoLog

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - - -

Body
{
"log_id":"1",
"pamurl":"http://localhost:12356"
}

453
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Feb/2021 12:23:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "IFGxe4LQpUXLfjiJwI8uig==
jvzsBK9JBXDfrSrRS8SnagwPRa9gC0wk1W+x1U+s9dY= ta/
gOrPFmfIE1+ZqdP93FA==
BlvFEPnR+3liIuHxXCNs+jWCUQ7Uoffl2lVCIAPp1WXYpIXhk4c9sRBzgFtQvVWH
MSVTcDdpY7hclW8x52EJ8TLG5Q172xO6FXnYMnKFDeYBk1eMPaonZ9PSUPuouR5t
mIacmRt48pu6VGcuMekodtXIyHJHy9GSaIYZDga3l0b8KmI1VxDccdMUeakcvsINe+
5w5Z4Wh3y0iPXRqjTRI/
r6lMWCDpfUiKKus5xC0XQ+JuMn7CduKYRpPHQMTi8rWvVPZFGKSagjCzfoVe8Jz63i
3+uDNfzaBpumIMqZGMQkiMrCUUEfETle0HQrmFU65AaVsp9VoHMuAIyrXFG6GA==
KSy69AzlQL0I9yUnAz/kHA== KSy69AzlQL0I9yUnAz/kHA== 0 0 0 0
KSy69AzlQL0I9yUnAz/kHA== oaW4Bhz1495ZvmZDlK58nQ==
cNDACnRN4Mtk1Q1Nv+xgbPJnmOuGGkBdQSrpfnMOdbLX8gfdgXjR6kP5HEQfrNqxz7
xZeXgmI4Mi0ONmYtdXfud/
GTW0K7oVom81H94F1USfvNaETmk6RD8uyIQCq3b9sUBUeONSkUt41VpWQN4Mng=="
}

Response Time 116 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.63.1 Data Types of Request and Response

Type Parameters Data Type Description

Request log_id string This value refers to log id of the service present in
ARCON PAM

pamurl string This value refers to the URL of PAM

Response Result string Result is in encrypted format

454
PAM API Part 1

1.3.63.2 Code Blocks for '/GetUserGroupHistoryVideoLog'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistoryVideoLog",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"log_id":"1","pamurl":"http://localhost:12356"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetUserGroupHistoryVideoLog");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"log_id\":"1",\r\n
\"pamurl\":"http://localhost:12356",\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

455
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"log_id\":"1",\r\n
\"pamurl\":"http://localhost:12356",\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistoryVideoLog")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetUserGroupHistoryVideoLog"

payload = "{\r\n \"log_id\":"1",\r\n \"pamurl\":"http://localhost:12356",


\r\n }"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs',
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.64 GetUserPasswordLessLogin
This Api is used to get the password less login to user

Type of Request POST

Endpoint /api/ServiceDetails/GetUserPasswordLessLogin

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

456
PAM API Part 1

Request Params • • • •

Headers Content-Type application/json Mandatory •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

Body
{
"UserId":"35"
}

457
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "02/Feb/2021 12:14:16",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"ServiceSessionId": null,
"ServiceWindowTitle": null,
"IpAddress": null,
"ServiceDomain": "178.249.3.21",
"HostName": null,
"Port": null,
"ServiceUsername": "arcos007",
"ServicePassword": "dmRnZjIjZW9obA==",
"InstanceName": null,
"ServiceID": null,
"ServiceType": null,
"ServiceTypeId": null,
"ServiceSubType": null,
"Description": null,
"UseGatewayServer": null,
"GatewayServerIp": null,
"GatewayServerPort": null,
"GatewayServerUsername": null,
"GatewayServerPassword": null,
"PuttyWebServiceUrl": null,
"LaunchParameters": null,
"IsEnableVideoLog": false,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": null,
"Field2": null,
"Field3": null,
"Field4": null,
"ServiceSessiontimeout": null,
"RestrictedCommands": null,
"RestrictedProcesses": null
}
}

Response Time 2136 milliseconds

Post Endpoint Call NA

Supported Features NA

458
PAM API Part 1

1.3.64.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId string This value refers to the id of the ARCON PAM
User

Mandatory Parameter.

Response ServiceSessionId string This value refers to the id of the service session
present in ARCON PAM

ServiceWindowTitl string This value refers to the window title of the service
e present in ARCON PAM

IpAddress string This value refers to the IP address of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

Port string This value refers to the port number of the service
present in ARCON PAM

ServiceUsername string This value is in encrypted format refers to the


username of the service present in ARCON PAM

ServicePassword string This value is in encrypted format refers to the


password of the service present in ARCON PAM

InstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceID string This value refers to the id of the service present in


ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceTypeId string This value refers to the id of the service type


present in ARCON PAM

ServiceSubType string This value refers to a subtype of the service


present in ARCON PAM

Description string This value refers to a description of the service


present in ARCON PAM

UseGatewayServer string This value will be like ‘true' or 'false’

459
PAM API Part 1

Type Parameters Data Type Description

GatewayServerIp string This value refers to the IP address of the gateway


server present in ARCON PAM

GatewayServerPor string This value refers to the port number of the


t gateway server present in ARCON PAM

GatewayServerUse string This value refers to the username of the gateway


rname server present in ARCON PAM

GatewayServerPas string This value refers to the password of the gateway


sword server present in ARCON PAM

PuttyWebServiceU string This value is in encrypted format refers to the URL


rl of the web service present in ARCON PAM

LaunchParameters string This value refers to launch parameters of the


service present in ARCON PAM

IsEnableVideoLog bool This value will be like ‘true' or 'false’

IsUserLockToCons bool This value will be like ‘true' or 'false’


ole

IsKeyEnabled bool This value will be like ‘true' or 'false’

Field1 string This value refers to the Field1

Field2 string This value refers to the Field2

Field3 string This value refers to the Field3

Field4 string This value refers to the Field4

ServiceSessiontime string This value refers to the timeout of the service


out session present in ARCON PAM

RestrictedComman list
ds

RestrictedProcesse list
s

460
PAM API Part 1

1.3.64.2 Code Blocks for ‘/GetUserPasswordLessLogin’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetUserPasswordLessLogin",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
"data": "{\n\UserId:"35"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetUserPasswordLessLogin");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("application/json", "{\n\tUserId:"35"\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

461
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:"35"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetUserPasswordLessLogin")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetUserPasswordLessLogin"

payload = "{\n\tUserId:"35"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.65 RaiseSAR
This API is used to raise the service access request in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/RaiseSAR

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

462
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - - -

Body
{
"UseValueForMapping":"1",
"LOBName":"DEFAULT LOB 1",
"UserName":"ARCOSADMIN",
"ServiceIP":"10.00.0.00",
"ServiceUserName":"",
"ServiceTypeID":1,
"DomainName":"10.00.0.00",
"HostName":"WIN2K8R2ENT_SQL.ANBGLOBALDC.COM",
"DBInstanceName":"",
"AccessType":1,
"TagValue":""
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "02/Feb/2021 02:48:32",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Service Access Request Raised Successfully.",
"Result": true
}

Response Time 325 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.65.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UseValueForMappi string This value refers to LOB Profile of the service
ng present in ARCON PAM

Mandatory Parameter.

463
PAM API Part 1

Type Parameters Data Type Description

LOBName string This value refers to the name of LOB under which
the service belongs in ARCON PAM

Mandatory Parameter.

UserName string This value refers to the username of the service


present in ARCON PAM

Mandatory Parameter.

ServiceIP string This value refers to the Ip of the service present in


ARCON PAM

Mandatory Parameter.

ServiceUserName string This value is in encrypted format refers to the


username of the ARCON PAM service

ServiceTypeID int This value refers to the id of the service type


present in ARCON PAM

Mandatory Parameter.

DomainName string This value refers to the domain of the ARCON


PAM user

Mandatory Parameter.

HostName string This value refers to the hostname of the service


present in ARCON PAM

Mandatory Parameter.

DBInstanceName string This value refers to the instance name of the


ARCON PAM service

AccessType int This value is in integer format refers to the access


type of the service present in ARCON PAM

Mandatory Parameter.

464
PAM API Part 1

Type Parameters Data Type Description

TagValue string

Response Result string This value is in boolean ‘true' or 'false’

1.3.65.2 Code Blocks for '/RaiseSAR'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/RaiseSAR",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]0Zjs"
},
"data": JSON.stringify({"UseValueForMapping":"1","LOBName":"DEFAULT LOB 1","UserNa
me":"ARCOSADMIN","ServiceIP":"10.00.0.00","ServiceUserName":"","ServiceTypeID":1,
"DomainName":"10.00.0.00","HostName":"WIN2K8R2ENT_SQL.ANBGLOBALDC.COM",
"DBInstanceName":"","AccessType":1,"TagValue":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/RaiseSAR")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs");
request.AddParameter("application/json", "{\r\n \"UseValueForMapping\":"1",\r\n
\"LOBName\":"DEFAULT LOB 1",\r\n \"UserName\":\"ARCOSADMIN\",\r\n
\"ServiceIP\":\"10.00.0.00\"\r\n \"ServiceUserName\":\""\r\n \"ServiceTypeID\":
\"1\"\r\n \"DomainName\":\"10.00.0.00\"\r\n \"HostName\":
\"WIN2K8R2ENT_SQL.ANBGLOBALDC.COM\"\r\n \"DBInstanceName\":\""\r\n \"AccessType\":
\"1\"\r\n \"TagValue\":\""\r\n }", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

465
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UseValueForMapping\":"1"
,\r\n \"LOBName\":"DEFAULT LOB 1",\r\n \"UserName\":\"ARCOSADMIN\",\r\n
\"ServiceIP\":\"10.00.0.00\"\r\n \"ServiceUserName\":\""\r\n \"ServiceTypeID\":
\"1\"\r\n \"DomainName\":\"10.00.0.00\"\r\n \"HostName\":
\"WIN2K8R2ENT_SQL.ANBGLOBALDC.COM\"\r\n \"DBInstanceName\":\""\r\n \"AccessType\":
\"1\"\r\n \"TagValue\":\""\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/RaiseSAR")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]0Zjs")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/RaiseSAR"

payload = "{\r\n \"UseValueForMapping\":"1",\r\n \"LOBName\":"DEFAULT LOB 1",


\r\n \"UserName\":\"ARCOSADMIN\",\r\n \"ServiceIP\":\"10.00.0.00\"\r\n
\"ServiceUserName\":\""\r\n \"ServiceTypeID\":\"1\"\r\n \"DomainName\":
\"10.00.0.00\"\r\n \"HostName\":\"WIN2K8R2ENT_SQL.ANBGLOBALDC.COM\"\r\n
\"DBInstanceName\":\""\r\n \"AccessType\":\"1\"\r\n \"TagValue\":\""\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]0Zjs'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.66 GetOrSet2FAInRA
This Api is use to get or set 2 Factor Authentication in RA.

Type of Request POST

Endpoint /api/ServiceDetails/GetOrSet2FAInRA

466
PAM API Part 1

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... -


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserName": "ARCOSADMIN",
"IsEnable":true,
"ActionType":"insert",
"ModifiedBy":"ARCOSADMIN"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "15/Mar/2021 09:26:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"IsEnable": false,
"ModifiedBy": null,
"ModifiedOn": null,
}
}

Response Time 214 milliseconds

Post Endpoint Call NA

Supported Features NA

467
PAM API Part 1

1.3.66.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value refers to the username of the user
present in ARCON PAM

IsEnabled bool This value is in boolean format , which is ‘true' or


'false’

ActionType string This value refers to the action type , which is


taken from reuest

ModifiedBy string This value refers to the id of the ARCON PAM


user who modified RDP service

Response IsEnabled bool This value is in boolean format , which is ‘true' or


'false’

ModifiedBy string This value refers to the id of the ARCON PAM


user who modified

ModifiedOn string This value refers to the time when modified

1.3.66.2 Code Blocks for ‘/GetOrSet2FAInRA’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetOrSet2FAInRA",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]2Ras"
},
"data": "{\n\tUserName:"ARCOSADMIN",\n\tIsEnabled:true\n,\n\tActionType:"insert"\n
,\n\tModifiedBy:"ARCOSADMIN"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

468
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetOrSet2FAInRA");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]2Ras");
request.AddParameter("application/json", "{\n\tUserName:"ARCOSADMIN",
\n\tIsEnabled:true\n,\n\tActionType:"insert"\n,\n\tModifiedBy:"ARCOSADMIN"\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserName:"ARCOSADMIN",
\n\tIsEnabled:true\n,\n\tActionType:"insert"\n,\n\tModifiedBy:"ARCOSADMIN"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetOrSet2FAInRA")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]2Ras")
.build();
Response response = client.newCall(request).execute();

469
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetOrSet2FAInRA"

payload = "{\n\tUserName:"ARCOSADMIN",\n\tIsEnabled:true\n,\n\tActionType:"insert"\n
,\n\tModifiedBy:"ARCOSADMIN"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.67 ValidateServiceReference
This Api is use to validate Service reference.

Type of Request POST

Endpoint /api/ServiceDetails/ValidateServiceReference

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

470
PAM API Part 1

Body
{
"UserName":"",
"UserId":"",
"ScenarioName":"",
"TicketNo":"",
"ServerIPAddress":"",
"IsValidateServerIp":"",
"UserGroup":"",
"IsReferenceOption1":"",
"IsIPAddressReferenceOption1":"",
"ReferenceMethodOption1":"",
"AllowedMaxAttempts":"";
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "15/Mar/2021 03:59:28",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "Success"
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.3.67.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserName string This value refers to the name of the ARCON PAM
User

UserId string This value refers to the id of the ARCON PAM


User

ScenarioName string This value refers to ScenarioName

TicketNo string This value refers to the number of the service


ticket

ServerIPAddress string This value refers to the Ip address of the service


present in ARCON PAM.

IsValidateServerIp string This value is boolean ‘true' or 'false’

471
PAM API Part 1

Type Parameters Data Type Description

UserGroup string

IsReferenceOption string This value is boolean ‘true' or 'false’


1

IsIPAddressReferen string This value is boolean ‘true' or 'false’


ceOption1

ReferenceMethod string This value is boolean ‘true' or 'false’


Option1

AllowedMaxAttem string
pts

Response Result string This value is in string format that is “Success“ or


“Error“

1.3.67.2 Code Blocks for '/ValidateServiceReference'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/ValidateServiceReference",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]SKtg"
},
"data": JSON.stringify({"UserName":"","UserId":"","ScenarioName":"","TicketNo":"","
ServerIPAddress":"","IsValidateServerIp":"","UserGroup":"","IsReferenceOption1":"",
"IsIPAddressReferenceOption1":"","ReferenceMethodOption1":"","AllowedMaxAttempts":""
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

472
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


ValidateServiceReference");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]SKtg");
request.AddParameter("application/json", "\t{\n \"UserName\":\"\",\n
\"UserId\":\"\",\n \"ScenarioName\":\"\",\n \"TicketNo\":\"\"\n ,\n
\"ServerIPAddress\":\"\"\n ,\n \"IsValidateServerIp\":\"\"\n ,\n
\"UserGroup\":\"\"\n ,\n \"IsReferenceOption1\":\"\"\n ,\n
\"IsIPAddressReferenceOption1\":\"\"\n ,\n \"ReferenceMethodOption1\":\"\"\n\t,\n
\"AllowedMaxAttempts\":\"\"\n\t}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n \"UserName\":\"\",\n
\"UserId\":\"\",\n \"ScenarioName\":\"\",\n \"TicketNo\":\"\"\n ,\n
\"ServerIPAddress\":\"\"\n ,\n \"IsValidateServerIp\":\"\"\n ,\n
\"UserGroup\":\"\"\n ,\n \"IsReferenceOption1\":\"\"\n ,\n
\"IsIPAddressReferenceOption1\":\"\"\n ,\n \"ReferenceMethodOption1\":\"\"\n\t,\n
\"AllowedMaxAttempts\":\"\"\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/ValidateServiceReference")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]SKtg")
.build();
Response response = client.newCall(request).execute();

473
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/ValidateServiceReference"

payload="\t{\n \"UserName\":\"\",\n \"UserId\":\"\",\n \"ScenarioName\":


\"\",\n \"TicketNo\":\"\"\n ,\n \"ServerIPAddress\":\"\"\n ,\n
\"IsValidateServerIp\":\"\"\n ,\n \"UserGroup\":\"\"\n ,\n
\"IsReferenceOption1\":\"\"\n ,\n \"IsIPAddressReferenceOption1\":\"\"\n ,\n
\"ReferenceMethodOption1\":\"\"\n\t,\n \"AllowedMaxAttempts\":\"\"\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]SKtg'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.3.68 GetServiceDetailsByServiceIdForBot
This API is used to fetch details of service providing ServiceId and ServiceTypeId in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetails

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

474
PAM API Part 1

Body
{
"ServiceId":114535,
"UserId":35,
"ServiceTypeId":1,
"UserSessionId":1
}

475
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jan/2021 04:00:57",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull Encrypted
Fields :ServiceUsername,ServicePassword and PuttyWebServiceUrl",
"Result": {
"ServiceSessionId": "12586",
"ServiceWindowTitle": "10.11.0.11@Ug6cTtE/
8PhWh7I94QDmQYiinlyYQ0/uZgri/ok4sJo=:10.xx.x.xx-WindowsRDP",
"IpAddress": "10.11.0.11",
"ServiceDomain": "2",
"HostName": "10.xx.x.xx",
"Port": "1234",
"ServiceUsername": "Ug6cTtE/8PhWh7I94QDmQYiinlyYQ0/uZgri/
ok4sJo=",
"ServicePassword": "lI2fLBntERhYsiKiLF/
JcPgw8CMPeVy2qieLtOZNZvE=",
"InstanceName": null,
"ServiceID": "114535",
"ServiceType": "WindowsRDP",
"ServiceTypeId": "1",
"ServiceSubType": null,
"Description": "10.11.0.11@Ug6cTtE/8PhWh7I94QDmQYiinlyYQ0/
uZgri/ok4sJo=:10.xx.x.xx-WindowsRDP",
"UseGatewayServer": "true",
"GatewayServerIp": "10.10.0.38",
"GatewayServerPort": "22",
"GatewayServerUsername": "root",
"GatewayServerPassword": "pass@123",
"PuttyWebServiceUrl": "tydJ54VFma/
sPH+zk90Um3ZuXJO3IFgFYsyJdZX9Fdo=",
"LaunchParameters": null,
"IsEnableVideoLog": true,
"fromdate": null,
"todate": null,
"OneTimeServiceId": 0,
"fromtime": null,
"totime": null,
"timedifference": 0,
"accesstype": 0,
"OpenInFrame": false,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": "",
"Field2": "",
"Field3": "",

476
PAM API Part 1

"Field4": "1",
"ServiceSessiontimeout": "1200000",
"EncryptedSessionId": "pAbtCQMfnRqktOfNXomHGg==",
"AcmoWebServiceURL": "http://10.10.0.91:13521/ARCOSWebAPI/
ARCOSSessionCommandLogAPI.asmx",
"APPEXE": null,
"RestrictedCommands": [
"regedit.exe",
"taskmgr.exe"
],
"RestrictedProcesses": null
}
}

Response Time 510 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.68.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present in
ARCON PAM.

Mandatory Parameter.

UserId int This value refers to the id of the ARCON PAM


User

Mandatory Parameter.

ServiceTypeId int This value refers to the Id of the service type


present in ARCON PAM

Mandatory Parameter.

UserSessionId int This value refers to the Id of the user session


present in ARCON PAM

Mandatory Parameter.

ServiceSessionId int This value refers to the Id of the service session


present in ARCON PAM

477
PAM API Part 1

Type Parameters Data Type Description

AccessType string This value refers to the type of service access


present in ARCON PAM

Response ServiceSessionId int This value refers to the id of the service session
present in ARCON PAM

ServiceWindowTitl string This value refers to the window title of the service
e present in ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

Port int This value refers to the port number of the service
present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

ServicePassword string This value is in encrypted format refers to the


password of the service present in ARCON PAM

InstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceId int This value refers to the id of the service present in


ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceSubType string This value refers to a subtype of the service


present in ARCON PAM

Description string This value refers to a description of the service


present in ARCON PAM

UseGatewayServer bool This value will be like ‘true' or 'false’

GatewayServerIP string This value refers to the IP address of the gateway


server present in ARCON PAM

GatewayServerPor int This value refers to the port number of the


t gateway server present in ARCON PAM

478
PAM API Part 1

Type Parameters Data Type Description

GatewayServerUse string This value refers to the username of the gateway


rName server present in ARCON PAM

GatewayServerPas string This value refers to the password of the gateway


sword server present in ARCON PAM

PuttyWebServiceU string This value is in encrypted format refers to the URL


rl of the web service present in ARCON PAM

LaunchParameters string This value refers to launch parameters of the


service present in ARCON PAM

IsEnableVideoLog bool This value will be like ‘true' or 'false’

fromdate DateTime

todate DateTime

OneTimeServiceId int

fromtime Timespan

totime Timespan

timedifference long

accesstype int

OpenInFrame bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string This value refers to the Field 1

Field2 string This value refers to the Field 2

Field3 string This value refers to the Field 3

Field4 string This value refers to the Field 4

ServiceSessionTim int This value refers to the timeout of the service


eout session present in ARCON PAM

EncryptedSessionI string This value refers to the id of the service session


d present in ARCON PAM

AcmoWebServiceU string
rl

APPEXE string

479
PAM API Part 1

Type Parameters Data Type Description

RestrictedComman list
ds

RestrictedProcesse list
s

1.3.68.2 Code Blocks for '/GetServiceDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer
eyJ0XAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3Ey
ZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXNz
IjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJm
ZjMzIiwiZXhwIjoxNjQ3MDg4NzQ1LCJuYmYiOjE2NDcwMDIzNDV9.Sguq8R8A5OXQPknlumOezbTRIZ5jaqg
sUs-9SlVCv4c",
"Cookie": "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot"
},
"data": JSON.stringify({
"ServiceId": 114955,
"ServiceGroupId": 520,
"ApiUserName": "APIUser",
"LOBId": 1
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

480
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceId\":114535,\r\n
\"UserId\":35,\r\n \"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

481
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetails"

payload = "{\r\n \"ServiceId\":114535,\r\n \"UserId\":35,\r\n


\"ServiceTypeId\":1,\r\n \"UserSessionId\":1\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.69 GetFilteredAssignedServiceListWithPaging
This API is used to fetch a list of services assigned to an ARCON PAM user.

Type of Request POST

Endpoint /api/ServiceDetails/GetFilteredAssignedServiceListWithPaging

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/x-www- Mandatory -


form-urlencoded

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

482
PAM API Part 1

Body
{
"UserId":"35","ServiceTypeId":"7",
"PageNumber":1,
"PageSize":10
}

483
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 01:52:28",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Displaying 10 Records out of 67",
"Result": [
{
"OfflineServiceId": null,
"ServiceId": "114164",
"ActualServiceId": null,
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceDomain": "10.10.0.69",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "10.10.0.69@oracle:10.10.0.69-
SSH LINUX",
"ServiceUsername": "oracle",
"Instance": "",
"Field1": "MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Field2": "",
"Field3": "",
"Field4": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114168",
"ActualServiceId": null,
"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceDomain": "10.10.1.214",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "10.10.1.214@root:10.10.1.214-
SSH LINUX",
"ServiceUsername": "root",
"Instance": "",
"Field1": "",

484
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "<pty>",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114177",
"ActualServiceId": null,
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceDomain": "Mydomain",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "99.99.99.98@RDP999:MYHOSTNAME-
SSH LINUX",
"ServiceUsername": "RDP999",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114201",
"ActualServiceId": null,
"IpAddress": "10.11.10.190",
"HostName": "10.11.10.190",
"ServiceDomain": "10.11.10.190",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName":
"10.11.10.190@preeti:10.11.10.190-SSH LINUX",
"ServiceUsername": "preeti",
"Instance": "",
"Field1": "",

485
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114202",
"ActualServiceId": null,
"IpAddress": "10.10.170.36",
"HostName": "10.10.170.36",
"ServiceDomain": "10.10.170.36",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName":
"10.10.170.36@preeti:10.10.170.36-SSH LINUX",
"ServiceUsername": "preeti",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114203",
"ActualServiceId": null,
"IpAddress": "10.10.170.100",
"HostName": "10.10.170.100",
"ServiceDomain": "10.10.170.100",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName":
"10.10.170.100@preeti:10.10.170.100-SSH LINUX",
"ServiceUsername": "preeti",
"Instance": "",
"Field1": "",

486
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114247",
"ActualServiceId": null,
"IpAddress": "10.10.1.183",
"HostName": "LOCALHOST",
"ServiceDomain": "localdomain",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "10.10.1.183@kaiser:LOCALHOST-
SSH LINUX",
"ServiceUsername": "kaiser",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "<PTY>",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114254",
"ActualServiceId": null,
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceDomain": "10.10.0.38",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "10.10.0.38@mahesh1:10.10.0.38-
SSH LINUX",
"ServiceUsername": "mahesh1",
"Instance": "",
"Field1": "",

487
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114283",
"ActualServiceId": null,
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceDomain": "10.10.0.69",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName":
"10.10.0.69@PROMPT_USER:10.10.0.69-SSH LINUX",
"ServiceUsername": "PROMPT_USER",
"Instance": "",
"Field1": "",
"Field2": "",
"Field3": "DA",
"Field4": "<PTY>",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
},
{
"OfflineServiceId": null,
"ServiceId": "114303",
"ActualServiceId": null,
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceDomain": "10.10.0.38",
"ServiceType": "SSH LINUX",
"ServiceTypeId": "7",
"ServiceDisplayName": "10.10.0.38@root:10.10.0.38-SSH
LINUX",
"ServiceUsername": "root",
"Instance": "",
"Field1": "APREINOKIAOSL1OSS110.10.0.38SSH",

488
PAM API Part 1

"Field2": "",
"Field3": "",
"Field4": "<pty><filesize>5</filesize>",
"LOBId": 1,
"LOBName": "DEFAULT LOB 2",
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"AccessType": 0,
"ReconcileStatus": null
}
]
}

Response Time 892 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.3.69.1 Data Types of Request and Response

Type Parameters Data Type Description

UserId int This value refers to the id of the ARCON PAM


user

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM
Request
Wildcard string wildcard contains either Serviceusername or ip or
field1 or field2 or field 3 only one value is present
at one time

PageNumber int This value refers to the what is the start no. of
page

PageSize int This value shows how many records we are


showing

Response ServiceId int This value refers to the id of the service present
in ARCON PAM

IPAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the host name of the ARCON
PAM service

489
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the type of service of the


ARCON PAM service

ServiceDisplayNam string This value refers to the display name of the


e ARCON PAM service

ServiceUsername string This value refers to the username of the ARCON


PAM service

Instance string This value refers to the instance name of the


ARCON PAM service

Field1 string This value refers to the field 1 entered while


creation of service

Field2 string This value refers to the field 2 entered while


creation of service

Field3 string This value refers to the field 3 entered while


creation of service

Field4 string This value refers to the field 4 entered while


creation of service

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

ServiceRename string

IconString string

Color string

Description string

AccessType int This value refers to the access type of the service

490
PAM API Part 1

1.3.69.2 Code Blocks for '/GetFilteredAssignedServiceListWithPaging'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetFilteredAssignedServiceListWithPaging",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
"data": JSON.stringify({"UserId":35,"ServiceTypeId":1,"PageNumber":1,"PageSize":10
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetFilteredAssignedServiceListWithPaging");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddParameter("application/json",
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n,\n\t\"PageNumber\":1\n,
\n\t\"PageSize\":10\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

491
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n,\n\t\"PageNumber\":1\n,
\n\t\"PageSize\":10\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/
GetFilteredAssignedServiceListWithPaging")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/
GetFilteredAssignedServiceListWithPaging"

payload = "{\n\t\"UserId\":35,\n\t\"ServiceTypeId\":1\n,\n\t\"PageNumber\":1\n,
\n\t\"PageSize\":10\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.70 GetServiceParameters
This API is used to fetch service details of service providing serviceid in ARCON PAM.

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetails

Available in API All versions


Version

492
PAM API Part 1

Release Version U10

Pre Endpoint Call /arconToken

Request Params serviceid 114925 - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 03:09:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Records Found",
"Result": [
{
"ssp_sso_services_id": 114925,
"ssp_stv_id": 0,
"ssp_allow_pwd_change": false,
"ssp_min_pwd_age": 0,
"ssp_max_pwd_age": 6,
"ssp_useglobal_pwd_policy": false,
"ssp_pwd_policy": 2,
"ssp_freefield1": "0",
"ssp_freefield2": "0",
"ssp_freefield3": "0",
"ssp_freefield4": "",
"ssp_freefield5": "0",
"ssp_freefield6": "1",
"ssp_freefield7": "",
"ssp_freefield8": "",
"ssp_last_pwd_change_on": "09/17/2021 18:12:06",
"ssp_current_pwd_age": 0,
"ssp_created_by": "ARCOSADMIN",
"ssp_created_on": "09/17/2021 18:12:06",
"ssp_modified_by": "ARCOSADMIN",
"ssp_modified_on": "09/17/2021 18:12:27",
"ssp_allow_pwd_change_OnDisconnect": null,
"ssp_allow_autoheal": false,
"ssp_allow_Reconciliation": false
}
]
}

Response Time 4.63 milliseconds

493
PAM API Part 1

Post Endpoint Call All API's

1.3.70.1 Data Types of Request and Response

Type Parameters Data Type Description

Request serviceid long This value refers to the id of the


service present in ARCON PAM.

Mandatory Parameter.

Response ssp_sso_services_id int This value refers to the id of the


service id present in ARCON PAM

ssp_stv_id int This value refers to the stv id of the


service present in ARCON PAM

ssp_allow_pwd_change boolean This value refers whether to allow


to change the password of the
service present in ARCON PAM

ssp_min_pwd_age int This value refers to the minimum


password age of the service present
in ARCON PAM

ssp_max_pwd_age int This value refers to the maximum


password age of the service present
in ARCON PAM

ssp_useglobal_pwd_policy boolean This value refers to whether to use


global password of the service
present in ARCON PAM

ssp_pwd_policy int This value refers to password policy


of the service present in ARCON
PAM

ssp_freefield1 string This value refers to freefield1 of the


service present in ARCON PAM

ssp_freefield2 string This value refers to freefield2 of the


service present in ARCON PAM

ssp_freefield3 string This value refers to freefield3 of the


service present in ARCON PAM

ssp_freefield4 string This value refers to freefield4 of the


service present in ARCON PAM

ssp_freefield5 string This value refers to freefield5 of the


service present in ARCON PAM

494
PAM API Part 1

Type Parameters Data Type Description

ssp_freefield6 string This value refers to freefield6 of the


service present in ARCON PAM

ssp_freefield7 string This value refers to freefield7 of the


service present in ARCON PAM

ssp_freefield8 string This value refers to freefield8 of the


service present in ARCON PAM

ssp_last_pwd_change_on datetime This value is refers to the last


password changed date and time in
ARCON PAM

ssp_current_pwd_age int This value is refers to the password


duration in ARCON PAM

ssp_created_by string This value refers to the service


created by the user present in
ARCON PAM

ssp_created_on datetime This value refers to the datetime


that the service created in ARCON
PAM

ssp_modified_by string This value refers to the user that


the service datails modified present
in ARCON PAM

ssp_modified_on string This value refers to a description of


the service present in ARCON PAM

ssp_allow_pwd_change_OnDisconnect bool This value refers to allow change


the pasword of the service even on
disconnection in ARCON PAM

ssp_allow_autoheal bool This value refers to allow or


disallow to autoheal present in
ARCON PAM

ssp_allow_Reconciliation bool This value refers to allow/disallow


to reconciliation present in ARCON
PAM

495
PAM API Part 1

1.3.70.2 Code Blocks for '/GetServiceParameters'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParameters?
serviceid=114925",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"Cookie": "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceParameters?serviceid=114925");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

496
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParameters?
serviceid=114925")
.method("POST", body)
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests
url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceParameters?
serviceid=114925"

payload={}
headers = {
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'Cookie': 'ASP.NET_SessionId=bxfkid05gb02aascx11vls0j'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.3.71 GetServiceAWSRolesDetails
This service returns all the details required to connect to target device with restricted commands process

Type of Request POST

Endpoint GetServiceAWSRolesDetails

Available in API U16


Version

Pre Endpoint Call /arconToken

Request Params roleId 1298 - -

497
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 05:58:08",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"Saum_Role_Name": "ConnectorSTSRole",
"Saum_Role_Arn": "arn:aws:iam::330615228918:role/
ConnectorSTSRole"
}
}

Response Time 1083 milliseconds

Post Endpoint Call All API's

Data Types of Request and Response

Type Parameters Data Type Description

Request roleId int This value refers to the id of the role present in
ARCON PAM.

Mandatory Parameter.

Response Saum_Role_Name string This value refers to role name present in ARCON
PAM

Saum_Role_Arn string This value refers to the resource name in AWS


service present in ARCON PAM

498
PAM API Part 1

1.3.71.1 Code Blocks for '/GetServiceAWSRolesDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRolesDetails?
roleId=1298",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"Cookie": "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceAWSRolesDetails?roleId=1298");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j");
var body = @"";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

499
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRolesDetails?
roleId=1298")
.method("POST", body)
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRolesDetails?
roleId=1298"

payload = ""
headers = {
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'Cookie': 'ASP.NET_SessionId=bxfkid05gb02aascx11vls0j'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.3.72 GetServiceAWSRoles
This service is used to get all the details required to connect to target device with restricted commands process
etc of a service

Type of Request POST

Endpoint GetServiceAWSRoles

Available in API U16


Version

Pre Endpoint Call /arconToken

500
PAM API Part 1

Request Params serviceId 114605 - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 06:39:50",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"Saum_Role_Id": 746,
"Saur_Role_Name": "keyRole2"
}
]
}

Response Time 190 milliseconds

Post Endpoint Call All API's

Data Types of Request and Response

Type Parameters Data Type Description

Request serviceId int This value refers to the id of the service present
in ARCON PAM.

Mandatory Parameter.

Response Saum_Role_Id int This value refers to role Id present in ARCON


PAM

Saur_Role_Name string This value refers to the role name that present in
ARCON PAM

501
PAM API Part 1

1.3.72.1 Code Blocks for '/GetServiceAWSRoles'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRoles?
serviceId=114605",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE",
"Cookie": "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceAWSRoles?serviceId=114605");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j");
var body = @"";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

502
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRoles?
serviceId=114605")
.method("POST", body)
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.addHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceAWSRoles?
serviceId=114605"

payload = ""
headers = {
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE',
'Cookie': 'ASP.NET_SessionId=bxfkid05gb02aascx11vls0j'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.3.73 GetServiceDetailsByServiceId
This API is used to fetch the service details

Type of Request POST

Endpoint /api/ServiceDetails/GetServiceDetailsByServiceId

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

503
PAM API Part 1

Request Params • serviceId • 61307 • •

Headers Content-Type application/json Mandatory •

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version • Not Applicable •

504
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 07:22:17",
"Success": true,
"ErrorCode": "203-SDC-GSDBSID",
"ErrorMessage": null,
"Message": null,
"Result": {
"ServiceSessionId": null,
"ServiceWindowTitle":
"10.10.0.38@DummyUser12211:10.10.0.38-SSHLINUX",
"IpAddress": "10.10.0.38",
"ServiceDomain": "10.10.0.38",
"HostName": "10.10.0.38",
"Port": "22",
"ServiceUsername": "DummyUser12211",
"ServicePassword": "",
"InstanceName": "",
"ServiceID": "61307",
"ServiceType": "SSHLINUX",
"ServiceTypeId": "7",
"ServiceSubType": null,
"Description": "10.10.0.38@DummyUser12211:10.10.0.38-
SSHLINUX",
"UseGatewayServer": null,
"GatewayServerIp": null,
"GatewayServerPort": null,
"GatewayServerUsername": null,
"GatewayServerPassword": null,
"PuttyWebServiceUrl": "",
"LaunchParameters": null,
"IsEnableVideoLog": false,
"IsUserLockToConsole": false,
"IsKeyEnabled": false,
"Field1": "",
"Field2": "",
"Field3": "",
"Field4": "0",
"ServiceSessiontimeout": null,
"RestrictedCommands": null,
"RestrictedProcesses": null,
"IsImageBasedSSO": false,
"ImageId": null,
"UseServiceId": null,
"RDPOptions": false,
"DynamicPort": "False",
"AwsIamArn": null,
"AwsAccessKey": null,
"AwsSecretKey": null,

505
PAM API Part 1

"AWSRoleARN": null,
"AWSRole": null,
"AWSRegion": null,
"SslAtsId": null,
"AtsPreferencePath": null
}
}

Response Time 923 milliseconds

Post Endpoint Call All API's

1.3.73.1 Data Types of Request and Response

Type Parameters Data Type Description

Request serviceId int This value refers to the id of the service in


ARCON PAM

Response ServiceSessionId int This value refers to the session id of the ARCON
PAM service

ServiceWindowTitl string This value refers to the Service Window Title


e

IpAddress string This value refers to the IP address of the ARCON


PAM service

ServiceDomain string This value refers to the domain name of the


ARCON PAM service

HostName string This value refers to the hostname of the ARCON


PAM service

Port int This value refers to the port number of the


ARCON PAM service

ServiceUserName string This value refers to the username of the ARCON


PAM service

ServicePassword string This value refers to the password of the ARCON


PAM service

InstanceName string This value refers to the instance name of the


ARCON PAM service

ServiceId int This value refers to the id of the ARCON PAM


service

ServiceType string This value refers to the type of the ARCON PAM
service

506
PAM API Part 1

Type Parameters Data Type Description

ServiceTypeId int This value refers to the id of the service type in


ARCON PAM

ServiceSubType string This value refers to a subtype of the service in


ARCON PAM

Description string This value refers to the description of the


ARCON PAM service

UseGatewayServer bool This value refers to whether to user gateway


server to access service

GatewayServerIp string This value refers to the IP address of the gateway


server

GatewayServerPort int This value refers to the port number of the


gateway server

GatewayServerUse string This value refers to the username of the gateway


rname server

GatewayServerPas string This value refers to the password of the gateway


sword server

PuttyWebServiceU string
rl

LaunchParameters string

IsEnableVideoLog bool

IsUserLockToCons bool
ole

IsKeyEnabled bool

Field1 string

Field2 string

Field3 string

Field4 string

ServiceSessionTime int This value refers to the timeout of the login


out session of the ARCON PAM service

RestrictedComman string
ds

RestrictedProcesse string
s

507
PAM API Part 1

Type Parameters Data Type Description

IsImageBasedSSO bool

ImageId int

UseServiceId int

RDPOptions bool

DynamicPort bool

AwsIamArn string This value refers to the Amazon resource name

AwsAccessKey string

AwsSecretKey string

AWSRoleARN string

AWSRole string

AWSRegion string

SslAtsId string

AtsPreferencePath string

1.3.73.2 Code Blocks for ‘/GetServiceDetailsByServiceId’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/
GetServiceDetailsByServiceId?serviceId=61307",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer eyJ0[... Removed for brevity ....]2Ras",
"Cookie": "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

508
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetServiceDetailsByServiceId?serviceId=61307");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]2Ras");
request.AddHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j");
var body = @"";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsByServiceId?
serviceId=61307")
.method("POST", body)
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]2Ras")
.addHeader("Cookie", "ASP.NET_SessionId=bxfkid05gb02aascx11vls0j")
.build();
Response response = client.newCall(request).execute();

509
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetServiceDetailsByServiceId?
serviceId=61307"

payload = ""
headers = {
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]2Ras',
'Cookie': 'ASP.NET_SessionId=bxfkid05gb02aascx11vls0j'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.3.74 GetActiveServicesByFilter
This Api is use to get service ID and other details depending on filters provided.

Type of Request POST

Endpoint /api/ServiceDetails/GetActiveServicesByFilter

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

510
PAM API Part 1

Body
{
"ServerIp": "10.10.1.111",
"ServiceUserName:tuser985;,
"DomainName:LNXRH4_ARCONSRV;,
"DBInstanceName:"";

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "08/feb/2021 04:42:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ServiceId": 11435,
"ServiceTypeId": 7,
"ServiceType": "SSH LINUX",
"username": "tuser985",
"Password": null,
DomainName:LNXRH4_ARCONSRV,
"Instance":"",
"Port":"",
"ServerHostName":"LNXRH4_ARCONSRV",
"ServerIp":"192.168.0.240",
"CreatedOn":"10/11/2010 03:17:39",
"ValidTo":"01/01/2058 03:17:39",
"Parameter1":"",
"Parameter2":"",
"Parameter3":"",
"Parameter4":"1",
}
]
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

511
PAM API Part 1

1.3.74.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIp string This value refers to the IP address of the service
in ARCON PAM

ServiceUserName string This value refers to the username of the service in


ARCON PAM

DomainName string This value refers to the domain name of the


service in ARCON PAM

DBInstanceName string This value refers to the instance of the service


present in ARCON PAM

Response ServiceId int This value refers to the IP address of the service
present in ARCON PAM

ServiceTypeId int This value refers to the username of the service


present in ARCON PAM

ServiceType string This value refers to the password of the service


present in ARCON PAM

Username string This value refers to the passkey of the target


device in ARCON PAM

Password string This value will be like ‘true' or 'false’

Domainname string This value refers to the success or failure


message

Instance string This value refers to the instance of the service


present in ARCON PAM

Port string This value refers to the port of the service in


ARCON PAM

ServerHostName string This value refers to the host name of the service
in ARCON PAM

ServerIp string This value refers to the IP address of the service


in ARCON PAM

CreatedOn datetime This value refers to the date time when service
was created in ARCON PAM

ValidTo datetime This value refers to the date time up to which


service will be valid

Parameter1 string This value refers to the Parameter1

Parameter2 string This value refers to the Parameter2

512
PAM API Part 1

Type Parameters Data Type Description

Parameter3 string This value refers to the Parameter3

Parameter4 string This value refers to the Parameter4

1.3.74.2 Code Blocks for ‘/GetSingleTargetDevicePassKey’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByFilter",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9VOc"
},
"data": JSON.stringify({"ServerIP":"192.168.0.240","ServiceUserName":"tuser985","D
omainName":"LNXRH4_ARCONSRV","DBInstanceName":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServiceDetails/


GetActiveServicesByFilter");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc");
request.AddParameter("application/json", "{\n\t\"ServerIP\":\"192.168.0.240\",
\n\t\"ServiceUserName\":\"tuser985\",\n\t\"DomainName\":\"LNXRH4_ARCONSRV\",
\n\t\"DBInstanceName\":"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

513
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"ServerIP\":
\"192.168.0.240\",\n\t\"ServiceUserName\":\"tuser985\",\n\t\"DomainName\":
\"LNXRH4_ARCONSRV\",\n\t\"DBInstanceName\":"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByFilter")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServiceDetails/GetActiveServicesByFilter"

payload = "{\n\t\"ServerIP\":\"192.168.0.240\",\n\t\"ServiceUserName\":\"tuser985\",
\n\t\"DomainName\":\"LNXRH4_ARCONSRV\",\n\t\"DBInstanceName\":"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9VOc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.3.75 LogOutSessionById
This API is used to logout from session by passing ServiceId and SessionId of the active session, used in session
monitoring.
0

Type of Request POST

Endpoint /api/ServiceDetails/LogOutSessionById

Available in API Version All versions

Release Version U4

514
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params • • • •

Headers Content-Type application/x- Mandatory •


www-form-
urlencoded

Authorization Bearer eyJ0[... Mandatory •


Removed for
brevity ....]INjTU
8

x-PAM-Version • Not Applicable •

Body Request JSON

{
"ServiceId":16932,
"SessionId":132422
}

Response Response JSON

{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "26/Apr/2019 06:41:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Record updated successfully.",
"Result": true
}

Response Time 20 milliseconds

Post Endpoint Call None

Supported Features NA

0
1.3.75.1 Data Types of Request and Response
0

Type Parameters Data Type

Request ServiceId int

515
PAM API Part 1

Type Parameters Data Type

SessionId int

Response "Message": "Record updated successfully.",


"Result": true

0
1.3.75.2 Code Blocks for 'ServiceDetails/LogOutSessionById'
0
C# Sample Code - (Using RestSharp)

516
PAM API Part 1

var client = new RestClient("http://


10.00.0.00:0000/api/ServiceDetails/
LogOutSessionById");
var request = new RestRequest(Method.PO
ST);
request.AddHeader("cache-control", "no-
cache");
request.AddHeader("Connection", "keep-
alive");
request.AddHeader("Cookie",
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap");
request.AddHeader("Content-Length", "42
");
request.AddHeader("Accept-Encoding", "g
zip, deflate");
request.AddHeader("Host",
"10.00.0.00:0000");
request.AddHeader("Postman-Token", "c01
c1dad-
e026-4289-8a91-1dd7bac06bf....XXXXa-662
a-47fe-8052-b3507a6c878f");
request.AddHeader("Cache-Control", "no-
cache");
request.AddHeader("Accept", "*/*");
request.AddHeader("User-Agent", "Postma
nRuntime/7.19.0");
request.AddHeader("Authorization",
"Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs");
request.AddHeader("Content-Type", "appl
ication/json");
request.AddParameter("undefined",
"{\r\"ServiceId\":16932,\r\"SessionId\"
:132422\r}\r",
ParameterType.RequestBody);
IRestResponse response =
client.Execute(request);

Java Code Sample - (Using OK HTTP)

517
PAM API Part 1

OkHttpClient client = new OkHttpClient(


);

MediaType mediaType =
MediaType.parse("application/json");
RequestBody body =
RequestBody.create(mediaType,
"{\r\"ServiceId\":16932,\r\"SessionId\"
:132422\r}\r");
Request request = new Request.Builder()
.url("http://10.00.0.00:0000/api/
ServiceDetails/LogOutSessionById")
.post(body)
.addHeader("Content-Type", "application
/json")
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs")
.addHeader("User-Agent", "PostmanRuntim
e/7.19.0")
.addHeader("Accept", "*/*")
.addHeader("Cache-Control", "no-cache")
.addHeader("Postman-Token", "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,36dbcf52-2
5fe-4e6e-847b-132e8b4c943f")
.addHeader("Host", "10.00.0.00:0000")
.addHeader("Accept-Encoding", "gzip,
deflate")
.addHeader("Content-Length", "42")
.addHeader("Cookie",
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap")
.addHeader("Connection", "keep-alive")
.addHeader("cache-control", "no-cache")
.build();

Response response =
client.newCall(request).execute();

Python Sample Code - (Using http.client Python 3)

518
PAM API Part 1

import http.client

conn = http.client.HTTPConnection(
"10,00,0,00")

payload =
"{\r\"ServiceId\":16932,\r\"SessionId\"
:132422\r}\r"

headers = {
'Content-Type': "application/json",
'Authorization': "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs",
'User-Agent': "PostmanRuntime/
7.19.0",
'Accept': "*/*",
'Cache-Control': "no-cache",
'Postman-Token': "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,1a8ccbfe-
eb73-47c6-81d7-193f00ae6cb6",
'Host': "10.00.0.00:0000",
'Accept-Encoding': "gzip, deflate",
'Content-Length': "42",
'Cookie':
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap",
'Connection': "keep-alive",
'cache-control': "no-cache"
}

conn.request("POST",
"api,ServiceDetails,LogOutSessionById",
payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))

Python Sample Code - (Using Python Request)

519
PAM API Part 1

import requests

url = "http://10.00.0.00:0000/api/
ServiceDetails/LogOutSessionById"

payload =
"{\r\"ServiceId\":16932,\r\"SessionId\"
:132422\r}\r"
headers = {
'Content-Type': "application/json",
'Authorization': "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs",
'User-Agent': "PostmanRuntime/
7.19.0",
'Accept': "*/*",
'Cache-Control': "no-cache",
'Postman-Token': "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,e535fec4-
a24e-49f6-9a7a-7f65199210a0",
'Host': "10.00.0.00:0000",
'Accept-Encoding': "gzip, deflate",
'Content-Length': "42",
'Cookie':
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap",
'Connection': "keep-alive",
'cache-control': "no-cache"
}

response = requests.request("POST",
url, data=payload, headers=headers)

print(response.text)

1.4 User Details


A User is an entity that has the authority to use an application. Users shall be of two types such as Client User
and Admin User. The Client type of User shall be responsible only for checking reports and accessing services.
The Client User will not have admin privileges to perform any admin activity in Server Manager whereas the
Admin User shall be able to perform all the activities in ARCON PAM.
While Logging into ARCON PAM, the Admin/Client type of User shall select the respective domains (AD
Domain/ Local Domain) for authentication. The Users authenticated from Active Directory shall be called
Domain Users whereas, the Users authenticated from local Domain are known as Local User.

520
PAM API Part 1

• Domain User: A domain user is a user whose username and password are stored on a domain controller
rather than the computer through which the User is logging into. When you log in as a Domain User, the
computer asks the domain controller what privileges are assigned to you. When the computer receives
an appropriate response from the domain controller, it logs you in with the permissions and restrictions.
• Local User: A local User is one whose username and encrypted password are stored on the computer
itself. When you log in as a local user, the computer checks its own list of Users and its own password file
to see if you are allowed to log into the standalone computer.

 Before consuming API’s in UserDetails section, a JWT Token must be generated and passed in the
header for all API’s given below.
Code samples given use third-party libraries, as given by 'Postman Rest Client' which are as follows:
1. For C# using Rest-Sharp, https://www.nuget.org/packages/RestSharp/105.2.3
2. For Java using OK HTTP: https://square.github.io/okhttp/
3. For Python
a. Using HTTP client: https://docs.python.org/3/library/http.client.html
b. Using requests: https://pypi.org/project/requests/

ARCON does not take any responsibility for any bugs/vulnerabilities in the third-party libraries
neither does ARCON recommend usage for these third-party libraries. Similar code can be done in
native languages respectively for achieving the same results.

1.4.1 UserDetailsV2
A User is an entity that has the authority to use an application. Users shall be of two types such as Client User
and Admin User. The Client type of User shall be responsible only for checking reports and accessing services.
The Client User will not have admin privileges to perform any admin activity in Server Manager whereas the
Admin User shall be able to perform all the activities in ARCON PAM.
While Logging into ARCON PAM, the Admin/Client type of User shall select the respective domains (AD
Domain/ Local Domain) for authentication. The Users authenticated from Active Directory shall be called
Domain Users whereas, the Users authenticated from local Domain are known as Local User.
• Domain User: A domain user is a user whose username and password are stored on a domain controller
rather than the computer through which the User is logging into. When you log in as a Domain User, the
computer asks the domain controller what privileges are assigned to you. When the computer receives
an appropriate response from the domain controller, it logs you in with the permissions and restrictions.
• Local User: A local User is one whose username and encrypted password are stored on the computer
itself. When you log in as a local user, the computer checks its own list of Users and its own password file
to see if you are allowed to log into the standalone computer.

 Before consuming API’s in the UserDetailsV2 section, a JWT Token must be generated and passed in
the header for all API’s given below.
Code samples given use third-party libraries, as given by 'Postman Rest Client' which are as follows:
1. For C# using Rest-Sharp, https://www.nuget.org/packages/RestSharp/105.2.3
2. For Java using OK HTTP: https://square.github.io/okhttp/
3. For Python
a. Using HTTP client: https://docs.python.org/3/library/http.client.html
b. Using requests: https://pypi.org/project/requests/

521
PAM API Part 1

ARCON does not take any responsibility for any bugs/vulnerabilities in the third-party libraries
neither does ARCON recommend usage for these third-party libraries. Similar code can be done in
native languages respectively for achieving the same results.

1.4.1.1 Get User List


This API is used to fetch a list of Users from a particular User Group.

Type of Request POST

Endpoint /api/UserDetailsV2/GetUserList

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserGroupID": 64
}

522
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 01:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "5 Records Found",
"Result": [
{
"UserId": 35,
"UserDisplayName": "D N_1",
"UserName": "UN_1"
},
{
"UserId": 82,
"UserDisplayName": "D N_2",
"UserName": "UN_2"
},
{
"UserId": 150,
"UserDisplayName": "D N_3",
"UserName": "UN_3"
},
{
"UserId": 202,
"UserDisplayName": "D N_4",
"UserName": "UN_4"
},
{
"UserId": 221,
"UserDisplayName": "D N_5",
"UserName": "UN_5"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.1.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupID int This value refers to the id of the user group
present in ARCON PAM

523
PAM API Part 1

Type Parameters Data Type Description

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

UserName string This value refers to the user name of the user
present in ARCON PAM
1.4.1.1.2 Code Blocks for '/GetUserList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetailsV2/GetUserList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54"
},
"data": JSON.stringify({"UserGroupId":64}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetailsV2/


GetUserList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddParameter("application/json", "{\n \"UserGroupId\":64\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

524
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"UserGroupId\":64\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetailsV2/GetUserList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetailsV2/GetUserList"

payload = "{\n \"UserGroupId\":64\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.2 GetUserListByNameV2
This API is used to fetch a list of users by UserId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserListByName

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

525
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"UserId":23255,
"UserName":"i2dnug7T4aoHHEMazgkfdIzoFpXxA6HjrwohKZaFlxI="
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Feb/2021 06:23:57",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found : Ecnrypted Columns :UserName",
"Result": [
{
"UserId": 23255,
"UserDisplayName": "SACHIN34",
"UserName": "SACHIN",
"UserGroupId": "",
"UserGroupName": "",
"DomainId": 2,
"DomainName": "ARCOSAUTH",
"Usertype": "Client",
"validtilldate": "01/02/2058 23:59:59"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.1.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

UserName string This value is in encrypted format refers to the


username of the ARCON PAM user

526
PAM API Part 1

Type Parameters Data Type Description

Response UserId int This value refers to the id of the ARCON PAM
user

UserDisplayName string This value refers to the display name of the


ARCON PAM user

UserName string This value refers to the username of the ARCON


PAM user

UserGroupId int This value refers to the id of the user group


present in ARCON PAM

UserGroupName string This value refers to the name of the user group
present in ARCON PAM

DomainId int This value refers to the id of the domain present


in ARCON PAM

DomainName string This value refers to the name of the domain


present in ARCON PAM

UserType string This value refers to the name of the user type
present in ARCON PAM

ValidTillDate DateTime This value refers to the valid date of ARCON


PAM user
1.4.1.2.2 Code Blocks for '/GetUserListByName'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserListByName",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]1Gho",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"UserId":23255,"UserName":"i2dnug7T4aoHHEMazgkfdIzoFpXxA6H
jrwohKZaFlxI="}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

527
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserListByName");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]1Gho");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\r\n \"UserId\":23255,\r\n
\"UserName\":\"i2dnug7T4aoHHEMazgkfdIzoFpXxA6HjrwohKZaFlxI=\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":23255,\r\n
\"UserName\":\"i2dnug7T4aoHHEMazgkfdIzoFpXxA6HjrwohKZaFlxI=\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserListByName")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]1Gho")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

528
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserListByName"

payload = "{\r\n \"UserId\":23255,\r\n \"UserName\":


\"i2dnug7T4aoHHEMazgkfdIzoFpXxA6HjrwohKZaFlxI=\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]1Gho',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.3 SetUserDetailsV2
This API is used to create a new User.

Type of Request POST

Endpoint /api/UserDetails/SetUserDetails

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

529
PAM API Part 1

Body
{
"LOBID": 3,
"UserGroupId": 64,
"DomainName": "DomainName",
"UserDisplayName": "Display Name",
"UserId": "5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=",
"Password": "password12",
"UserTypeId": 2,
"DualFactorTypeId": 1,
"MobileNo": 9876543211,
"EmailId": "[email protected]"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Feb/2021 03:10:38",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Inserted Successfully",
"Result": [
{
"UserId": 23305,
"UserName": "User12",
"DomainName": "DomainName"
}
]
}

Response Time 531 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.1.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID int This value refers to the id of the LOB present in
ARCON PAM

Mandatory Parameter.

530
PAM API Part 1

Type Parameters Data Type Description

UserGroupId string This value refers to the id of the user group


present in ARCON PAM

Mandatory Parameter.

DomainName string This value refers to the domain name for the user

Mandatory Parameter.

UserDisplayName string This value refers to the display name of the user

Mandatory Parameter.

UserId string This value is in encrypted format refers to the user


name used to login

Mandatory Parameter.

Password string This value refers to the password of the user

Mandatory Parameter.

UserTypeId bool This value refers to the id of the user type present
in ARCON PAM

Mandatory Parameter.

DualFactorTypeId int? This value refers to the id of the dual-factor type


present in ARCON PAM

MobileNo string This value refers to the mobile no of the user

EmailId string This value refers to the email id of the user

Mandatory Parameter.

Response ResultMessage string This value refers to the success or failure message

UserId int This value refers to the id of the user present in


ARCON PAM

UserName string This value refers to the username used to login

531
PAM API Part 1

Type Parameters Data Type Description

DomainName string This value refers to the domain name of the user
1.4.1.3.2 Code Blocks for '/SetUserDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUserDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]zzSA",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"LOBId":3,"UserGroupId":64,"DomainName":"DomainName","User
DisplayName":"Display Name","UserId":"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=","
Password":"password12","UserTypeId":2,"DualFactorTypeId":1,"MobileNo":9876543211,
"EmailId":"[email protected]"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]zzSA");
request.AddHeader("x-PAM-Version","2");
request.AddParameter("application/json", "{\n\t\"LOBId\":3,\n \"UserGroupId\":64,\n
\"DomainName\":\"DomainName\",\n \"UserDisplayName\":\"Display Name\",\n \"UserId\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\n \"Password\":\"password12\",\n
\"UserTypeId\":2,\n \"DualFactorTypeId\":1,\n \"MobileNo\":9876543211,\n
\"EmailId\":\"[email protected]\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

532
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"LOBId\":3,\n
\"UserGroupId\":64,\n \"DomainName\":\"DomainName\",\n \"UserDisplayName\":\"Display
Name\",\n \"UserId\":\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\n
\"Password\":\"password12\",\n \"UserTypeId\":2,\n \"DualFactorTypeId\":1,\n
\"MobileNo\":9876543211,\n \"EmailId\":\"[email protected]\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]zzSA")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserDetails"

payload = "{\n\t\"LOBId\":3,\n \"UserGroupId\":64,\n \"DomainName\":\"DomainName\",


\n \"UserDisplayName\":\"Display Name\",\n \"UserId\":
\"5O+viJvvQd9BIUuqvxH8To+0WVY9z3OMFxkrXAZVyTw=\",\n \"Password\":\"password12\",\n
\"UserTypeId\":2,\n \"DualFactorTypeId\":1,\n \"MobileNo\":9876543211,\n
\"EmailId\":\"[email protected]\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]zzSA',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.4 GetAssignedServiceListToUsrV2
This API is used to fetch all services mapped to ARCON PAM users by providing UserId.

Type of Request POST

Endpoint /api/UserDetails/GetAssignedServiceListToUsr

533
PAM API Part 1

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 2 -

Body
{
"UserId":35
}

534
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 01:11:04",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "215 Records Found Encrpted
Fields :ServiceUserName",
"Result": [
{
"ServiceId": "10447",
"IpAddress": "178.249.3.21",
"HostName": "178.249.3.21",
"ServiceUserName":
"ffLjEvZ6OezoUlDCPKYexKJk4uztN7ANzzWSFYwOjzI=",
"Port": "992",
"ServiceType": "IBM AS 400",
"ServiceDomain": "178.249.3.21"
},
{
"ServiceId": "10448",
"IpAddress": "96.47.200.189",
"HostName": "96.47.200.189",
"ServiceUserName":
"g6DcbZL4vLDCUgceE2aagmLNdEsvJaJdJcvBK8zsKfw=",
"Port": "1433",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "96.47.200.189"
},
{
"ServiceId": "10449",
"IpAddress": "10.10.0.205",
"HostName": "10.10.0.205",
"ServiceUserName":
"oWKw6DFbvCfNc9vHbhS4bGR6F8zxz1xCuJWqdqKXsZA=",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.205"
},
{
"ServiceId": "10450",
"IpAddress": "192.168.0.240",
"HostName": "LNXRH4_ARCONSRV",
"ServiceUserName":
"Y0Cjr8dqlHMKz0u3iCwAtVtFYY7VN9pXfJRLCb8Ym54=",
"Port": "5902",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LNXRH4_ARCONSRV"
},

535
PAM API Part 1

{
"ServiceId": "64157",
"IpAddress": "10.10.1.105",
"HostName": "LAP254",
"ServiceUserName":
"rFCGHwmGHc0Xq3YeIRBMdWm2ZLBbKJGX1Xt/2vnvRxk=",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP254"
},
{
"ServiceId": "74393",
"IpAddress": "10.10.0.126",
"HostName": "ARCOSDEV2",
"ServiceUserName":
"PGstAkk2mtovhxIIHYpj3t840arwtcwUu4x6Ut6Ys2o=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV2"
},
{
"ServiceId": "74437",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName":
"uBzDU7f8gtek2NNWlGWhxBMJuz0B7Sge8A7XhHaIAds=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "108212",
"IpAddress": "10.10.0.126",
"HostName": "ARCOSDEV2",
"ServiceUserName": "6HGrh/
qnrRGMHaxyl0Q7r0UwnKxHNU14Oj3ToJqevBc=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{
"ServiceId": "113372",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"BEqVEwFHQ4LIteunj0yEW9PaZVYdIeKA4kYSHbtX6Kg=",
"Port": "22",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "113380",

536
PAM API Part 1

"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"ufZGxPrbW6rTVonj5DgUNzYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "App Dbeaver",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "113442",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName":
"cHRyQIx9YjEHa8UcISCqHsqeVSrgBagofhEmO8lxcJc=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.204"
},
{
"ServiceId": "113932",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"9xR9mXH0so+DIqA3JDfJ05RLaggAxgiciX0HQfRvj/s=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "113933",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "8vV02xJcIY+y7zXD/B/
FQpRLaggAxgiciX0HQfRvj/s=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ANB"
},
{
"ServiceId": "113934",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "COy4apLY4bOr8v5XcqZ/
epRLaggAxgiciX0HQfRvj/s=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "113935",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",

537
PAM API Part 1

"ServiceUserName": "lLstXNz44nUP6a/
0nes3ZJRLaggAxgiciX0HQfRvj/s=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114112",
"IpAddress": "10.10.5.40",
"HostName": "10.10.5.40",
"ServiceUserName":
"1PXJiqDjOJ+YyJgiZdVxdqjhbvyXeA1MlqYyIuFrLWM=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.40"
},
{
"ServiceId": "114113",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName":
"a9UBGgxDqypiOMJdHC2skuIa8gHGTg3htVLYAKSDjfI=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175"
},
{
"ServiceId": "114119",
"IpAddress": "10.10.2.42",
"HostName": "10.10.2.42",
"ServiceUserName":
"FPoosFx5utgQBpscPDnq5FtFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.42"
},
{
"ServiceId": "114129",
"IpAddress": "10.10.0.162",
"HostName": "WIN2K12QATEST",
"ServiceUserName":
"a+PrMJyHhQviihiuT0SI8eK4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K12QATEST"
},
{
"ServiceId": "114130",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceUserName":
"2MDEyY9uYAq4ag6wFLetRykwMHBdvmILoFDLlAFURWc=",

538
PAM API Part 1

"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114131",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName":
"Rty7FfpCfBPC5gzlSurKdRfgsdaVJYIGan9+wuT4pNw=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{
"ServiceId": "114132",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "G7NZiOS/
SyF30VVaku2WfftAECEIH85DCZGsPgdZt+U=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114133",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"kneQNJkiuIJwCCNF8ef0DqZzRM7wufa18dtkWj8CFkk=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114134",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"I6Qi8fsx3pDvN9CCm9Md0TYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114135",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "Beni/
3/4ZCsJcjevLljpK2R6F8zxz1xCuJWqdqKXsZA=",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",

539
PAM API Part 1

"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114139",
"IpAddress": "8.8.8.8",
"HostName": "8.8.8.8",
"ServiceUserName": "X336DpgmZ/
9IQwStlF1hqoTLf4WGIf1r+vxdO7V1/K0=",
"Port": "5555",
"ServiceType": "Windows RDP",
"ServiceDomain": "8.8.8.8"
},
{
"ServiceId": "114146",
"IpAddress": "10.10.0.127",
"HostName": "ARCOSDEVSVR.ANBGLOBALDC.COM",
"ServiceUserName": "ocN1XxtJdb9Wv5B/qOAd6kSAwwGa32u+s/
1mGfbysdQ=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114148",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"POj5dAuvTTYREG1t2Ik8amVYV4xYCxR0l81/xW2YTg4=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "92V9ofrfX5agloHwGF/dzbmsUN/
EthM6l1s+8jRX58A=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114150",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "PfNA9VtTU8iuSpT3g/
pzgsqeVSrgBagofhEmO8lxcJc=",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.204"
},

540
PAM API Part 1

{
"ServiceId": "114151",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "nN20jTzFRyC5zax/
nVB86ltFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114157",
"IpAddress": "10.10.1.135",
"HostName": "10.10.1.135",
"ServiceUserName": "BURN1iyJxVQw0k5jdr3bq9dPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.135"
},
{
"ServiceId": "114158",
"IpAddress": "10.10.5.6",
"HostName": "10.10.5.6",
"ServiceUserName": "86Rgke5rpqQywEE5pSVcO9dPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.6"
},
{
"ServiceId": "114159",
"IpAddress": "10.10.5.401",
"HostName": "10.10.5.401",
"ServiceUserName": "C9LLfzKtrB8zGb+2xHU/tddPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.401"
},
{
"ServiceId": "114162",
"IpAddress": "10.10.3.106",
"HostName": "LAP088",
"ServiceUserName": "a/NkwFDszAb7SmiuNh511pILF4j/
x4OTxAOgnagV6vw=",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP088"
},
{
"ServiceId": "114163",

541
PAM API Part 1

"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "J+9JuVrQjph7U/
eXGl35yluORsO4cPfFHSl0tjEws8w=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"zwjfJn9zL6hk+KR83uj25JRLaggAxgiciX0HQfRvj/s=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114165",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"0sEQxYjVJgQEStcGNiBTNJRLaggAxgiciX0HQfRvj/s=",
"Port": "1521",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114174",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName": "VOh7pgHzB/
ASGqquni9Owo1yeoy5retKd6fwekCA5Ro=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114175",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME1",
"ServiceUserName": "/
LADzIcfJ+qV8duxkOupfHcKpK8YIzqOQXW3L0vFTHc=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114176",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",

542
PAM API Part 1

"ServiceUserName": "q2zH/
+pAJFuNeHXTwxbkY2tPVVhYCa1F77d5C7xTZ8w=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114177",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName":
"qDHS60FsmBL3JsuhUEBQko1yeoy5retKd6fwekCA5Ro=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114178",
"IpAddress": "10.10.10.19",
"HostName": "ABC",
"ServiceUserName":
"mb8d0cBE8GmWB3ychmbaGG6wYO2Q1aaGpDMAFZc147E=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.10.19"
},
{
"ServiceId": "113483",
"IpAddress": "10.10.2.33",
"HostName": "LAP172",
"ServiceUserName":
"b2dC5jCTMkfVCHaB3rbT6j+VgY1H1sRDlAoNUeJrHFs=",
"Port": "",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP172"
},
{
"ServiceId": "114179",
"IpAddress": "10.10.10.19",
"HostName": "10.10.10.19",
"ServiceUserName":
"NQUfLxlwpLSJ0/5MW7g5M1rnq5Ydp2BHUWPwgBI3UD8=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.10.19"
},
{
"ServiceId": "114180",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME001",
"ServiceUserName": "Y7cz2tc4r+LArRB/
4KiEmlgDTynDZlm6Vi8mSQUUKm0=",

543
PAM API Part 1

"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114182",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME002",
"ServiceUserName":
"14O0grBdKiCdLEyQijOMsb36ODp445bFiep6XrmuzZk=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114183",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME003",
"ServiceUserName": "bxH4sVbdpBAIGcHQu373PMZm/
HCXuQO0C62IOrYoi84=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114186",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "GkaUmjpG48X2V9c/
nljj6ltFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "App SecureCRT",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114188",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"5uB6S1SAJtGv8hn34G1bYIkN4d2cvFZZO86j41agmGI=",
"Port": "1433",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114192",
"IpAddress": "10.10.0.136",
"HostName": "10.10.0.136",
"ServiceUserName": "LmVHwi3214lr8M7U6/
eJYSUvsuxEaM5LYcPQCN+x828=",
"Port": "22",
"ServiceType": "SSH LINUX",

544
PAM API Part 1

"ServiceDomain": "10.10.0.136"
},
{
"ServiceId": "114193",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"HrvsOKMqOGeXDhwWghJHQT4HRuNvDnaue5xGMssfIuQ=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114201",
"IpAddress": "10.11.10.190",
"HostName": "10.11.10.190",
"ServiceUserName": "1Tjr9K0q57lXwq4Yifpuz9dPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.11.10.190"
},
{
"ServiceId": "114202",
"IpAddress": "10.10.170.36",
"HostName": "10.10.170.36",
"ServiceUserName": "O3g/OIhEeis4W+dHkrJp9tdPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.170.36"
},
{
"ServiceId": "114203",
"IpAddress": "10.10.170.100",
"HostName": "10.10.170.100",
"ServiceUserName": "YoVwduKuujI/sIutvCwajNdPgBLxzd/
Zybj5nAhgLwA=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.170.100"
},
{
"ServiceId": "114216",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName":
"GlExrlDYgooTSciSly4GmYkN4d2cvFZZO86j41agmGI=",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.91"
},

545
PAM API Part 1

{
"ServiceId": "114219",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "k/
hdev7AX8MIWWKrXK4R2FvwhwWwhsc1UEtLcr9v4so=",
"Port": "22",
"ServiceType": "App ReflectionX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114221",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "cjSN0BNlIn5amg/moaqWpSF+KYReC7/
SjzzYOLAleZQ=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114222",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "VhIonK6MUfeRw0ihEgMSUCF+KYReC7/
SjzzYOLAleZQ=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceUserName":
"9qnP0nDbUc8nGFO9S+i1BRNjeKLsdISV3tkka34SQug=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114224",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName":
"BR97g1dtH2eJVwZM7EcgLTHJGjSGMuVa019Fg+nflqI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114225",

546
PAM API Part 1

"IpAddress": "10.10.0.91",
"HostName": "ARCOS-UAT2",
"ServiceUserName":
"CCJMy+zNXVAIXqvLqxWeVRnX2W4QzfETCiAD3/0H9cI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114226",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"kRpKLKH1GMZZytZUBcXijIkN4d2cvFZZO86j41agmGI=",
"Port": "1434",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114237",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "A/
1JxPo97rfM5xj7mrjNZW6wYO2Q1aaGpDMAFZc147E=",
"Port": "0000",
"ServiceType": "App ASE Client",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114238",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "nkmFTN/Q/ch/
xYe+1rtSPDYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "Oracle QA",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114239",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "w4+5//
pSENmu0kxtn7TD3WR6F8zxz1xCuJWqdqKXsZA=",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114240",
"IpAddress": "10.10.2.131",
"HostName": "LAP233",

547
PAM API Part 1

"ServiceUserName": "ff+3PAQ7/
T38Ir8vQGLnLz+VgY1H1sRDlAoNUeJrHFs=",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP233"
},
{
"ServiceId": "114241",
"IpAddress": "10.10.2.15",
"HostName": "LAP278",
"ServiceUserName": "Bi3uEo/LTSI+TJ0k/
hfQ1NgvPEcOSgGtbIunu0itH2U=",
"Port": "5901",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114242",
"IpAddress": "10.10.1.88",
"HostName": "LAP043",
"ServiceUserName": "F/o2D49cjOebzrEYSJl1X7lfYFe8cbl/
fkf2gj85PUk=",
"Port": "6129",
"ServiceType": "App DameWare",
"ServiceDomain": "anbglobaldc"
},
{
"ServiceId": "114243",
"IpAddress": "10.10.1.88",
"HostName": "LAP043",
"ServiceUserName":
"9YFKji5oJ1khoq4SiMtPpT+VgY1H1sRDlAoNUeJrHFs=",
"Port": "6127",
"ServiceType": "App DameWare",
"ServiceDomain": "LAP043"
},
{
"ServiceId": "114245",
"IpAddress": "52.23.250.38",
"HostName": "EC2-52-23-250-38.COMPUTE-1.AMAZONAWS.COM",
"ServiceUserName":
"NoH0mUKaBM8z33Hyy2R42EvAja3T+XtbWI1Gs8yuJ2I=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "52.23.250.38"
},
{
"ServiceId": "114247",
"IpAddress": "10.10.1.183",
"HostName": "LOCALHOST",
"ServiceUserName":
"be+LtKRbSuN3r3Jtz9JFkOyYgg6IRCGHiu+xlAidNxI=",

548
PAM API Part 1

"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "localdomain"
},
{
"ServiceId": "114248",
"IpAddress": "10.10.2.131",
"HostName": "LAP233",
"ServiceUserName":
"bbZoi8Y1NCDS3g2m0t5q826wYO2Q1aaGpDMAFZc147E=",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP233"
},
{
"ServiceId": "114249",
"IpAddress": "10.10.2.50",
"HostName": "LAP330",
"ServiceUserName":
"t3IkrdeGIf1bfnvj5jpiUG6wYO2Q1aaGpDMAFZc147E=",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP330"
},
{
"ServiceId": "114251",
"IpAddress": "10.10.1.223",
"HostName": "LAP346",
"ServiceUserName":
"rBYE3gKhsxQyQ1ucOpKqjUNk+Zavn4lFRU9LT7DpjBw=",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP346"
},
{
"ServiceId": "114252",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"lJzsROcemBdCmnpCEGuH2okN4d2cvFZZO86j41agmGI=",
"Port": "1434",
"ServiceType": "",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114253",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName":
"7ZqfymuN0D4HJfhQjtb7ZddbWd936ZxDGplO4iL+v64=",
"Port": "22",
"ServiceType": "App Cyberduck",

549
PAM API Part 1

"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114254",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"Ys63iczVO+8ihm36zz+CWU2I7NJ+5bH5IorAeE7g3w8=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114257",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",
"ServiceUserName":
"h6ZKTkF7rlrYzYDJ0ujutmTibB8AIit+tv2b5SKGHNw=",
"Port": "9443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114258",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName": "eyxKDO/
tXlOVCk8d0FuKmV4b7W96UhoisGAZXLuLVMc=",
"Port": "8987",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6"
},
{
"ServiceId": "114260",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",
"ServiceUserName":
"CCLAjJL1Nx5xjRZ+VAAXBPhZoMQWz2SZezIGYOCl/bM=",
"Port": "9800",
"ServiceType": "App Huawei iManager N2000",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114262",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"5l4mdYZWIusvKCjxSsI7x1tFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "App MobaXterm",
"ServiceDomain": "10.10.0.38"
},

550
PAM API Part 1

{
"ServiceId": "114263",
"IpAddress": "10.10.0.2",
"HostName": "10.10.0.2",
"ServiceUserName": "BOzQn2T+VTnm0jM0YvZez/
hZoMQWz2SZezIGYOCl/bM=",
"Port": "6000",
"ServiceType": "App Huawei LMT Client",
"ServiceDomain": "10.10.0.2"
},
{
"ServiceId": "114264",
"IpAddress": "10.10.0.31",
"HostName": "10.10.0.31",
"ServiceUserName": "uqYBF/
HiKoYthQw9gJKWuPhZoMQWz2SZezIGYOCl/bM=",
"Port": "6000",
"ServiceType": "App Huawei LMT Client",
"ServiceDomain": "10.10.0.31"
},
{
"ServiceId": "114265",
"IpAddress": "10.10.0.162",
"HostName": "10.10.0.162",
"ServiceUserName": "mZ7aqdnodJPPsvMGPSk0wyWV/
L8WaOe8YssUyd8HZNw=",
"Port": "50000",
"ServiceType": "App IBM Data Studio",
"ServiceDomain": "10.10.0.162"
},
{
"ServiceId": "114271",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"bYsP7qAtv+ymir7DFUwaJDYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "App PLSQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114273",
"IpAddress": "10.10.0.13",
"HostName": "10.10.0.13",
"ServiceUserName":
"a8b0j36bKPdBeBjsbFKxJm6wYO2Q1aaGpDMAFZc147E=",
"Port": "443",
"ServiceType": "App SAN Switch",
"ServiceDomain": "10.10.0.13"
},
{
"ServiceId": "114275",

551
PAM API Part 1

"IpAddress": "10.10.0.100",
"HostName": "10.10.0.100",
"ServiceUserName":
"sTtrHcbfzf0S5n9okbZaCrEORDxhPDkzmAHNVd/VmHo=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.100"
},
{
"ServiceId": "114276",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"IkWJ68TP2WSX8GiLy9XmEcv747xEKHa23n0Lg7UPGxQ=",
"Port": "3306",
"ServiceType": "App MySQL Administrator",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114278",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "D9PDwqgLtt+bjJfu15/
nxokN4d2cvFZZO86j41agmGI=",
"Port": "1433",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114280",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "coze+zSgCpqEWN/
p4f2JXbEORDxhPDkzmAHNVd/VmHo=",
"Port": "22",
"ServiceType": "",
"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114281",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName":
"0aToe+Br7d1cjWbfhdCZrnBikdAhHZ1S5PfguDr4g4k=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV2"
},
{
"ServiceId": "114282",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",

552
PAM API Part 1

"ServiceUserName": "4cZIofNzuzKwyQ9/o7t/
GXBikdAhHZ1S5PfguDr4g4k=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114283",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"coaBOqoOanvG12fgltuvOlU65S4DJr1CFXyHm9LWXDI=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114284",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",
"ServiceUserName":
"9FGBZ7kxsTgEA2oc26P4rFtFYY7VN9pXfJRLCb8Ym54=",
"Port": "3306",
"ServiceType": "App MySQL Work Bench",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114285",
"IpAddress": "10.10.0.64",
"HostName": "10.10.0.64",
"ServiceUserName":
"oQop4bHz+cGwwD46c67w1kgbJDiD4KIik9H0COx2qCE=",
"Port": "5000",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.64"
},
{
"ServiceId": "114286",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"A5l+AKvhW0zDTzopnDB+SjYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114287",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName":
"2QJL4Ub0aXmOlEsgQ+59AJo82VvI9MR69YWSfkqQfJw=",

553
PAM API Part 1

"Port": "1433",
"ServiceType": "App SqlDbx",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114288",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",
"ServiceUserName":
"fF77NCRJL7Ro8Q5HL4TOgkfTdZUjOhFlfwCjhcoyo5E=",
"Port": "3306",
"ServiceType": "App SQL yog",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114289",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName":
"S9T9Sc9eoJdE6RhF0x0osJo82VvI9MR69YWSfkqQfJw=",
"Port": "1433",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114290",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName":
"1INIV+k5JYA9rYXDG8JFgm6wYO2Q1aaGpDMAFZc147E=",
"Port": "1521",
"ServiceType": "App SQL Advantage",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114291",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "PMTRWT62UUYRWK3wyjj09X7wTtK/
yuqUU6wHCIjuhnE=",
"Port": "0000",
"ServiceType": "App Sybase Central",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114293",
"IpAddress": "10.10.0.56",
"HostName": "ARCODATABASE",
"ServiceUserName":
"Mxjl0ddTZY84RizHFS9UY85lIHlTmMdlZM5gXkmvJBo=",
"Port": "3389",
"ServiceType": "Windows RDP",

554
PAM API Part 1

"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114294",
"IpAddress": "10.10.0.32",
"HostName": "WIN7ULT64",
"ServiceUserName":
"GgvU3xsD4pkaZiL4G9API7MNyDcK8JI95G0Q5tR0d/s=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN7ULT64"
},
{
"ServiceId": "114295",
"IpAddress": "10.10.0.171",
"HostName": "ARCOSDEVSVR3",
"ServiceUserName":
"RORgWqiV4K+Z7Vy6mRxQhy60gtK68jKHKih7lMUS9TI=",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "ARCOSDEVSVR3"
},
{
"ServiceId": "114297",
"IpAddress": "10.10.0.30",
"HostName": "ARCOSPOCENV",
"ServiceUserName":
"ciszsljoHOcF8wRNEAePNowaeVrMQF+ZfiW6iPp4tKw=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114298",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName":
"hlKBiR6xZZc4+EHXs4rFP7OutJlOdyMQT9MlMCumh4E=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114301",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName":
"Um0SsC0EPuW8VClrBCrNwokN4d2cvFZZO86j41agmGI=",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},

555
PAM API Part 1

{
"ServiceId": "114302",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"PRGKAY3n0vnxvNA+D3BZXFU65S4DJr1CFXyHm9LWXDI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"1uGHRHol8reem06AYlvuzVtFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114304",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName":
"jSrxrgte+YtjyvjhJl46wyBYKSVTm+gcABtvM+r+8AQ=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114305",
"IpAddress": "10.10.0.22",
"HostName": "10.10.0.22",
"ServiceUserName": "dY61/siW8MXbzR/
yImQz2F4b7W96UhoisGAZXLuLVMc=",
"Port": "443",
"ServiceType": "App SAN Switch",
"ServiceDomain": "10.10.0.22"
},
{
"ServiceId": "114309",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"jTc6yKvoOHMLvXf0jBFLxPhZoMQWz2SZezIGYOCl/bM=",
"Port": "18190",
"ServiceType": "App Check Point",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114312",

556
PAM API Part 1

"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"2TOlPiOrGmujS7r2aGqqehnX2W4QzfETCiAD3/0H9cI=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114318",
"IpAddress": "172.31.21.242",
"HostName": "172.31.21.242",
"ServiceUserName": "T2CB88QgU/
4MAFaw0IEm3uK4jJcVuXtiM7bxFxs1rPM=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "172.31.21.242"
},
{
"ServiceId": "114319",
"IpAddress": "10.10.0.26",
"HostName": "10.10.0.26",
"ServiceUserName":
"pxvBGGwFWtChtdMrAMrpMkGwrRgVjKlRIa8nGznJrPg=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV"
},
{
"ServiceId": "114320",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"Nu2Pjqc95rueEEl2q43iDFU65S4DJr1CFXyHm9LWXDI=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114324",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName":
"JXOjPmz53ujKPXf3z4E5raGSOQ4nhsWBvm1iknreq6M=",
"Port": "443",
"ServiceType": "App ArcSight Console",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114325",
"IpAddress": "10.10.0.64",
"HostName": "10.10.0.64",

557
PAM API Part 1

"ServiceUserName":
"O3pcPQKZBDHsp3CFpjjFFkgbJDiD4KIik9H0COx2qCE=",
"Port": "5000",
"ServiceType": "Sybase QA",
"ServiceDomain": "10.10.0.64"
},
{
"ServiceId": "114329",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName":
"5VW8D1ZzWaTt0xqWANvN2CBYKSVTm+gcABtvM+r+8AQ=",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114330",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName":
"lCtrKejoVkisGexnqsi2DhV7DSnCkWF6ZuLiwcx8rCg=",
"Port": "3252",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114331",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"mw7rRqt5aaJbBfjwmuLhcxn9o1H7iJhnjG48uBvmfD0=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114332",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceUserName": "+WoQD4FmYw0/
SoPMtk54T+K4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114337",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "dnV6lDIZXm0fHSqUDL9upQfHh2/
QTDsCgCNWroCrn5U=",

558
PAM API Part 1

"Port": "3200",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114338",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"nO1PkPIEqtZJ6zGHjGf2YW6wYO2Q1aaGpDMAFZc147E=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114342",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"Y9QOWGqmzUcBkCvi1X1RXEH4ipKRmdKcIw5io27Sy9c=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114348",
"IpAddress": "10.10.1.87",
"HostName": "10.10.1.87",
"ServiceUserName": "/
pxD+sakq2Q7n5UHepm6rSHwPhs7Fm7P5rnvv1/8u2M=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.87"
},
{
"ServiceId": "114349",
"IpAddress": "10.10.1.95",
"HostName": "LAP342",
"ServiceUserName":
"+XdbC1Ng3NwjRzLsWW5R6D+VgY1H1sRDlAoNUeJrHFs=",
"Port": "",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP342"
},
{
"ServiceId": "114350",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "UmwyFq/
K0IO95vDyKu8Eav7r1LWL6s+8NCDv71WZhgYBxul/qgRghw0jPHJZ1v9H",
"Port": "1434",
"ServiceType": "MS SQL QA",

559
PAM API Part 1

"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114352",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"BlvjD0LmUUCJEyIbsBiaGm6wYO2Q1aaGpDMAFZc147E=",
"Port": "23",
"ServiceType": "IBM AS 400",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114353",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "95BhAA/
EPPHp9wig7bp5y7SEYS8ntC+vx+zN3kljUbc=",
"Port": "3252",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114354",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "ePalKb6FcxECZofN6H29keZg0JBnw/
tiDOTsywsg5dM=",
"Port": "1434",
"ServiceType": "App Dbeaver",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114355",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"Y7KPkJYfxSYsaCDUi7g1HDYSpuzw164dat4ac5JbAng=",
"Port": "1521",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114357",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "bzwPU94rq/3FTQWPujv9aZhP2GNcb/
k5Reyhy9qzrnE=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "anbglobaldc"
},

560
PAM API Part 1

{
"ServiceId": "114358",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"c4rhwq7Q8qXDrarmhw3ZsFvwhwWwhsc1UEtLcr9v4so=",
"Port": "22",
"ServiceType": "App SolaceRouter",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114359",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName":
"ahuFevZeuUHCQy8wqX1NJlzBZ2U0BD7HeOcIEJiYfkM=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55"
},
{
"ServiceId": "114360",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "uuR4HStXiDdqtJzC/
1EfRPhZoMQWz2SZezIGYOCl/bM=",
"Port": "27017",
"ServiceType": "SSH MongoDb",
"ServiceDomain": "10.10.0.55"
},
{
"ServiceId": "114361",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName":
"BouHilJ6i9CxwOxBcROyaVU65S4DJr1CFXyHm9LWXDI=",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114364",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "DneRtD2Vh0L+O0cdpdhk/
1U65S4DJr1CFXyHm9LWXDI=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114367",

561
PAM API Part 1

"IpAddress": "10.10.0.128",
"HostName": "10.10.0.127",
"ServiceUserName":
"auhVCJMYU8eddxp0HXE2cHuK8BSPOm62An2rpGd1C/U=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "10.10.0.128"
},
{
"ServiceId": "114368",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "45/
DvvYXzLI20eIaPRKEy1tFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH MongoDb",
"ServiceDomain": "10.10.0.175"
},
{
"ServiceId": "114369",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "qW0yH/
tnXDUXI56jZBaDYz4HRuNvDnaue5xGMssfIuQ=",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114370",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"tHvjSMuh4pxzPHbkHnKFxVtFYY7VN9pXfJRLCb8Ym54=",
"Port": "3306",
"ServiceType": "MySQL QA",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114372",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "8cqFlR5iFABgiEn/njT7hnAWCIo/
Pxh7d4aEDY8ZWyc=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20"
},
{
"ServiceId": "114373",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",

562
PAM API Part 1

"ServiceUserName":
"3bTEGHG37vz9LpeknAlx93GZpVusv41zpEqIyB1B3SY=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20"
},
{
"ServiceId": "114374",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"ADgD+7+lr5chtN9GAtVrBlU65S4DJr1CFXyHm9LWXDI=",
"Port": "3389",
"ServiceType": "App X-RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114375",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "GV/
49HOBNks6K1NzQFCYgtFuPZwVpAFFBgF4EhdYdXK12oJ0vZ654bp3ZfwCrgr2",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114376",
"IpAddress": "10.10.0.11",
"HostName": "10.10.0.11",
"ServiceUserName":
"iMXkg5kp+7DKym8JFqxIxW6wYO2Q1aaGpDMAFZc147E=",
"Port": "9002",
"ServiceType": "App VMware vSphere Client",
"ServiceDomain": "10.10.0.11"
},
{
"ServiceId": "114377",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"O0cAzrb+Goljl5j4wZcwemR6F8zxz1xCuJWqdqKXsZA=",
"Port": "1521",
"ServiceType": "Oracle QA",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114378",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "PT5Q70/Rl+DzX1Ui0GPcsZhP2GNcb/
k5Reyhy9qzrnE=",

563
PAM API Part 1

"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114379",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName": "AOQU+Ro+ryqP/
+JmYNJREscyxEAW0TmKdCz3wM8D0qE=",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114382",
"IpAddress": "10.10.0.246",
"HostName": "10.10.0.246",
"ServiceUserName":
"CCqgo8WilzgPsvvYnN7C006E2Hg+m8RnSJ+fkSrC8dQ=",
"Port": "23",
"ServiceType": "Telnet ROUTER",
"ServiceDomain": "10.10.0.246"
},
{
"ServiceId": "114383",
"IpAddress": "10.10.1.0",
"HostName": "10.10.1.0",
"ServiceUserName":
"RzKFir8fCMYikiRk3tGQm9dbWd936ZxDGplO4iL+v64=",
"Port": "1521",
"ServiceType": "App SAPHana",
"ServiceDomain": "10.10.1.0"
},
{
"ServiceId": "114384",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"fExMzRaTCqvkhsuQv99ylbEORDxhPDkzmAHNVd/VmHo=",
"Port": "8987",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114385",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "vEZAKnRk+vEK9CGV/
mRffeK4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",

564
PAM API Part 1

"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114386",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName":
"gb8+0lodAaaSPPhnTyBpVltFYY7VN9pXfJRLCb8Ym54=",
"Port": "3306",
"ServiceType": "App SQL yog",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114387",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"PMFGsxNh+U2wLYySESUssaGSOQ4nhsWBvm1iknreq6M=",
"Port": "22",
"ServiceType": "SSH Mysql",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114389",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "km9tBWMLbRUV/ek3U7/
viVvwhwWwhsc1UEtLcr9v4so=",
"Port": "4711",
"ServiceType": "App McAfee Proxy",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114391",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceUserName":
"m9Qf+OYaIEOLIyk6pJlDYi60gtK68jKHKih7lMUS9TI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.171"
},
{
"ServiceId": "114393",
"IpAddress": "10.10.0.142",
"HostName": "10.10.0.142",
"ServiceUserName":
"ozAYR+dkZ4MdV3saL68u6OK4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},

565
PAM API Part 1

{
"ServiceId": "114395",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "PBwE1PY84/9vQImCcd/
OxB5gAsoMCSdWkd1VcuU/NGQ=",
"Port": "443",
"ServiceType": "App Cisco ASDM",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114400",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",
"ServiceUserName":
"B64r5w12s51BpTP2+aK8PFtFYY7VN9pXfJRLCb8Ym54=",
"Port": "3306",
"ServiceType": "App MySQL Administrator",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114402",
"IpAddress": "10.10.0.171",
"HostName": "ARCOSDEVSVR3",
"ServiceUserName": "zQ6AxMqz/
H7bGiHwZObDAwFXaKkfzcQVeSlc0Vz/eCM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR3"
},
{
"ServiceId": "114403",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceUserName": "G8icbOdFJ6RtZZ9oWifzLkbLiVR/
kHVgIgeCKHQ7pb0=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR4"
},
{
"ServiceId": "114404",
"IpAddress": "10.10.0.26",
"HostName": "ARCOSDEV.ANBGLOBALDC.COM",
"ServiceUserName":
"ajZ7VfZLEmc9Xh9gyMnq4UGwrRgVjKlRIa8nGznJrPg=",
"Port": "3389",
"ServiceType": "App X-RDP",
"ServiceDomain": "ARCOSDEV"
},
{
"ServiceId": "114405",

566
PAM API Part 1

"IpAddress": "204.79.197.200",
"HostName": "WWW.BING.COM",
"ServiceUserName":
"hEaQxFokwyWIr6vkIPXFhm6wYO2Q1aaGpDMAFZc147E=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "bing.com"
},
{
"ServiceId": "114406",
"IpAddress": "13.107.21.200",
"HostName": "AWS",
"ServiceUserName":
"cHd+6nLENWZGfA1akmfmvm6wYO2Q1aaGpDMAFZc147E=",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "console.aws.com"
},
{
"ServiceId": "114407",
"IpAddress": "172.217.27.196",
"HostName": "WWW.GOOGLE.COM",
"ServiceUserName":
"idF4+EM36vnmzxo8NfQDbUOat5thqDuVBry7suLbhKc=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "google.com"
},
{
"ServiceId": "114408",
"IpAddress": "10.10.0.3",
"HostName": "10.10.0.3",
"ServiceUserName":
"2n3MWSYWaBbaUwZtkItx2LEORDxhPDkzmAHNVd/VmHo=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.3"
},
{
"ServiceId": "114409",
"IpAddress": "10.10.0.4",
"HostName": "10.10.0.4",
"ServiceUserName":
"Sz2IGdLA2RgQMPuEfWWmc7EORDxhPDkzmAHNVd/VmHo=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.4"
},
{
"ServiceId": "114410",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",

567
PAM API Part 1

"ServiceUserName": "NaPmHZkk88pNwKNihrR0foTVnPiAxfGAa/
RMWTzX7yM=",
"Port": "5525",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114411",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName":
"aJq0VXhHAtNi+NwgS8Smh3rXzAH67JK25f/Mixs30/
uF+pHtWn3ijlUDAiegogKR",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6"
},
{
"ServiceId": "114412",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",
"ServiceUserName": "8t7tXkLT/
Bxb7/6E1G6Bdi60gtK68jKHKih7lMUS9TI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "SERVER"
},
{
"ServiceId": "114413",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",
"ServiceUserName": "f3W7sc1TY4BzN1J+8QsG/
DfYlJLAEdMJbETwpZlspdo=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114414",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "U2s79NTVL4f/ThkLBXC28kbLiVR/
kHVgIgeCKHQ7pb0=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114415",
"IpAddress": "10.10.0.127",
"HostName": "ARCOSDEVSVR",

568
PAM API Part 1

"ServiceUserName": "l/
5SsSrWvDW1XLJ7odjJOeK4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR"
},
{
"ServiceId": "114416",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName":
"MNgzrSUOlYESmXu+MLRejqhajLgndHYHbes4uJUaegE=",
"Port": "23",
"ServiceType": "SSH Telnet",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114417",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "/Z3tmeymOH+u19/1Rcn/
w6vWV6RKlbKfn0ZKQGAZhN8=",
"Port": "",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114418",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "gfqUpqY94UfRNvhddzN+QWwxRhRgH9n/
LP4/Te45FE0=",
"Port": "",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114419",
"IpAddress": "10.10.0.200",
"HostName": "TESTSERVICE",
"ServiceUserName":
"9zsNErVsCWoAcdWZyINXCyLBPvW1Ycbu+16npvxjDnk=",
"Port": "34",
"ServiceType": "AIX",
"ServiceDomain": "testservice"
},
{
"ServiceId": "114422",
"IpAddress": "10.10.0.400",
"HostName": "10.10.0.400",
"ServiceUserName":
"bkhMfBvgxcspu9guK1rwMiLBPvW1Ycbu+16npvxjDnk=",

569
PAM API Part 1

"Port": "23",
"ServiceType": "AIX",
"ServiceDomain": "testdomain"
},
{
"ServiceId": "114425",
"IpAddress": "10.10.10.210",
"HostName": "testhost1",
"ServiceUserName":
"nYRJrdyFBJqk8C0VPEiLt0W6hX6jVGN7WA6ocYuIrrc=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2"
},
{
"ServiceId": "114429",
"IpAddress": "10.10.10.310",
"HostName": "testhost1",
"ServiceUserName":
"NL3CZccwjzDxhUD8qVokv0W6hX6jVGN7WA6ocYuIrrc=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2"
},
{
"ServiceId": "114432",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName":
"pkCRPEtXnwm3DgODU+pFHFU65S4DJr1CFXyHm9LWXDI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114433",
"IpAddress": "10.10.1.53",
"HostName": "10.10.1.53",
"ServiceUserName":
"UMaUTSgXxq0hAJIZGcG4DnCr24EeCihqAQBy8FqVqaY=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114434",
"IpAddress": "52.66.165.32",
"HostName": "52.66.165.32",
"ServiceUserName":
"iMFwRhnDUWFi3dcpeVxrOm6wYO2Q1aaGpDMAFZc147E=",
"Port": "22",
"ServiceType": "SSH LINUX",

570
PAM API Part 1

"ServiceDomain": "52.66.165.32"
},
{
"ServiceId": "114435",
"IpAddress": "10.10.0.200",
"HostName": "TESTSIDSERVICE",
"ServiceUserName": "u9B20F+MgURaC/
1jqnlKpjh8kpwWMOJNLUcxWqLqonk=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "TESTSIDSERVICE"
},
{
"ServiceId": "114436",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName":
"xy2a9GZmCZMeGtJMbaxQfUqQIv87kXmZS5d8ooYGhlE=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114437",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName":
"uGNmJrxI5l2VB+LWwbVfJAOwZKpmJxsQzZZbZrSYEiE=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114438",
"IpAddress": "10.10.10.10",
"HostName": "MYHOST",
"ServiceUserName":
"Xn1bZeavHTi8gS5YLK0QgAMBiO487kvhhumbQUgo7K8=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "MyDomain"
},
{
"ServiceId": "114443",
"IpAddress": "10.10.0.0.0",
"HostName": "SERVICE1ANYGROUP",
"ServiceUserName":
"yahTFRrZ+T0xNPhLYFJubVgDTynDZlm6Vi8mSQUUKm0=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "SERVICE1ANYGROUP"
},

571
PAM API Part 1

{
"ServiceId": "114444",
"IpAddress": "10.10.0.2",
"HostName": "WIN1",
"ServiceUserName": "YjGHida77FNaBsyF8C9gSHTfpL/
ReZPlgZ0YB9BPbJ8=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "win1"
},
{
"ServiceId": "114446",
"IpAddress": "10.10.0.4",
"HostName": "HELLO4",
"ServiceUserName": "bUGvWsfh+ALR4JOBQB24ge3hVwxoo/
qfSYQxux5jDD0=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "101.10.0.4"
},
{
"ServiceId": "114451",
"IpAddress": "10.10.0.210",
"HostName": "10.10.0.210",
"ServiceUserName": "ZSK5CLUDIDhVrQ58m1pWdkIn1W1YDRf/
SgyJj5OJ4c8=",
"Port": "3306",
"ServiceType": "App HeidiSQL",
"ServiceDomain": "10.10.0.210"
},
{
"ServiceId": "114454",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName":
"sqODnsWJAIwQEtccXwV21lzBZ2U0BD7HeOcIEJiYfkM=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180"
},
{
"ServiceId": "114455",
"IpAddress": "10.10.0.0",
"HostName": "10.10.0.0",
"ServiceUserName": "/UTIl64Lhzj2t2kZO2mcWJXcxZhZ/
sYHeMQ6u9RgNrw=",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.0"
},
{
"ServiceId": "114502",

572
PAM API Part 1

"IpAddress": "10.10.2.54",
"HostName": "DSK015",
"ServiceUserName":
"Ps1zY5QeAGVwECBjIvz4aaKLDoLQHa9SPdsaZx1ixko=",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "anbglobaldc"
},
{
"ServiceId": "114534",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName":
"R7Wa23zjRR4YNfdR+5JQU+K4jJcVuXtiM7bxFxs1rPM=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114540",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName":
"hQl2MLTnu1I+Ug67i+f46qRCPD23JdIxTVqqjdhNc4Q=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114566",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName": "A3AqCl0Dgna/
dEEvqNw8GHNMtCd99oUxVvRyl1Y+/44=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114580",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "jGpRYVAtMxtUdmnaiHx/W9qKt/
HtrACcTDBVSriSdwk=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114581",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",

573
PAM API Part 1

"ServiceUserName": "jOvxwMVQPa9t42TxFZIHsYTVnPiAxfGAa/
RMWTzX7yM=",
"Port": "22",
"ServiceType": "App TeraTerm",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114582",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "DK8WpIPFeWKm3ZKhPs9IXUbLiVR/
kHVgIgeCKHQ7pb0=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114588",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName":
"bekjr9cxNsbgVI278bYeGlS+LV+S4V8LbRzfLEqS/uQ=",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114603",
"IpAddress": "10.10.0.43",
"HostName": "10.10.0.43",
"ServiceUserName":
"ObZeH426kAi4MHGeEVlySufeNAv07HuGs2W3Q3H3zS4=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.43"
},
{
"ServiceId": "114605",
"IpAddress": "",
"HostName": "",
"ServiceUserName":
"eVLIsxtHSSHqTcRvy8Zsy3ZuXJO3IFgFYsyJdZX9Fdo=",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"ServiceDomain": ""
},
{
"ServiceId": "114607",
"IpAddress": "",
"HostName": "",
"ServiceUserName": "PBjhgj62bl23NGa6zDd/
FHZuXJO3IFgFYsyJdZX9Fdo=",

574
PAM API Part 1

"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"ServiceDomain": ""
},
{
"ServiceId": "114613",
"IpAddress": "185.113.5.134",
"HostName": "PUB400.COM",
"ServiceUserName":
"PYzdHHKHqnGTZx81u7GzQy55OtErOsHX+BCmlw5rv+Y=",
"Port": "23",
"ServiceType": "IBM AS 400",
"ServiceDomain": "PUB400.COM"
},
{
"ServiceId": "114617",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "DOBcmuaedl3unmAxKcveiEbLiVR/
kHVgIgeCKHQ7pb0=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114639",
"IpAddress": "10.10.2.97",
"HostName": "10.10.2.97",
"ServiceUserName": "s49f0Qnl+
+bLwOOOPyg3J8UqawskKxJyZvsOdujJkng=",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.2.97"
},
{
"ServiceId": "114647",
"IpAddress": "10.10.2.97",
"HostName": "DSK064.ANBGLOBALDC.COM",
"ServiceUserName": "O3svtL6dUVPYZ/
x279WNKlU65S4DJr1CFXyHm9LWXDI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114653",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceUserName":
"XOEBCLeDXuW6NaMQiieb94mcfpNgDhFdOxYWHQxs5ow=",
"Port": "3389",
"ServiceType": "Windows RDP",

575
PAM API Part 1

"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114657",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "cC55bwS6sf/
4yyV60CebODu+eS4Scq8S4V3GYtQH/H0=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17"
},
{
"ServiceId": "114660",
"IpAddress": "65.0.176.40",
"HostName": "65.0.176.40",
"ServiceUserName": "Ln/
n1Q2KiiuolRhZlaJLa0W6hX6jVGN7WA6ocYuIrrc=",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "65.0.176.40"
},
{
"ServiceId": "114664",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "kFeFrnaEt21J/
KnP47gNan2QDiBwuULaHi6I0esecHw=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.127"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.1.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service assigned
to the ARCON PAM user

576
PAM API Part 1

Type Parameters Data Type Description

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Port int This value refers to the port of the service present
in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM
1.4.1.4.2 Code Blocks for '/GetAssignedServiceListToUsr'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8",
"x-PAM-Version":"2"
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

577
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAssignedServiceListToUsr");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddHeader("x-PAM-Version":"2");
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

578
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8',
'x-PAM-Version':2
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.5 GetNotAssignedServiceListToUsrV2
This API is used to fetch all services which are not mapped to ARCON PAM user by providing UserId.

Type of Request POST

Endpoint /api/UserDetails/GetNotAssignedServiceListToUsr

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35
}

579
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 01:09:18",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "38 Records Found Encrpted
Fields :ServiceUserName",
"Result": [
{
"ServiceId": "114140",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.382",
"ServiceUserName":
"auVwEP5pTQ8AiHPgGZg0TeA4n7bBfzcHjA1ivmnttbs=",
"Port": "0000",
"ServiceType": "App ASE Client",
"ServiceDomain": "10.10.0.38d"
},
{
"ServiceId": "114168",
"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceUserName":
"lBAmsTnaerh+SpVO5Wjp01tFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.214"
},
{
"ServiceId": "114255",
"IpAddress": "10.10.0.11",
"HostName": "10.10.0.11",
"ServiceUserName":
"FGZX7yN96lvSp5mhy6W9JfhZoMQWz2SZezIGYOCl/bM=",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.11"
},
{
"ServiceId": "114259",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "77a/0y/
uSDbj97Q8UDm6LokN4d2cvFZZO86j41agmGI=",
"Port": "22",
"ServiceType": "App Cyberduck",
"ServiceDomain": "10.10.0.56"
},

580
PAM API Part 1

{
"ServiceId": "114268",
"IpAddress": "exach2-
scan.in1.ocm.s1581380.oraclecloudatcustomer.com",
"HostName": "10.10.0.126",
"ServiceUserName":
"TxOueTmxjvtuWY3JdpGTv+Xg+PvxvUbT7FTnIeOcvo0=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{
"ServiceId": "114299",
"IpAddress": "10.10.0.64",
"HostName": "SHRADDHA_T",
"ServiceUserName":
"K8Z1LlICP5dAZe3UpOfLlBOa41VADgj58YClN+mZ7r8=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.64"
},
{
"ServiceId": "114351",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",
"ServiceUserName":
"CZ05uDMQU0eIdE6Ua4K4SvhZoMQWz2SZezIGYOCl/bM=",
"Port": "22",
"ServiceType": "App Barracuda Firewall Admin ",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114388",
"IpAddress": "LOCALHOST",
"HostName": "LOCALHOST",
"ServiceUserName":
"eQcdvEbiDINmPNjX53ZV5qGSOQ4nhsWBvm1iknreq6M=",
"Port": "3306",
"ServiceType": "App Mysql Connector",
"ServiceDomain": "LOCALHOST"
},
{
"ServiceId": "114390",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName":
"BRiagJ9qLWjmFMWTKf5qrNdbWd936ZxDGplO4iL+v64=",
"Port": "22",
"ServiceType": "App 3Par Mgmt",
"ServiceDomain": "10.10.0.10"
},
{

581
PAM API Part 1

"ServiceId": "114421",
"IpAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName":
"RRkFAXk05617eAK3ghhnVUW6hX6jVGN7WA6ocYuIrrc=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2"
},
{
"ServiceId": "114453",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "H27KO6zLLuZgq7M+Mt/oKPxf/A/
je8+0TyKY8BCHqUU=",
"Port": "3252",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114481",
"IpAddress": "13.232.49.179",
"HostName": "13.232.49.179",
"ServiceUserName":
"OV4bDXJA4V1dzyPICzAlU+QFiTBUOagM+NvG7pJdGhg=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.232.49.179"
},
{
"ServiceId": "114535",
"IpAddress": "10.11.0.11",
"HostName": "10.xx.x.xx",
"ServiceUserName": "6iHHqFBEUJJYbw708lsNWIiinlyYQ0/
uZgri/ok4sJo=",
"Port": "1234",
"ServiceType": "Windows RDP",
"ServiceDomain": "2"
},
{
"ServiceId": "114542",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName":
"rsmr6ZGkbnkG552Nxhvxne17tvT+Wtin7b5gkQSH1vk=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114546",
"IpAddress": "10.10.0.200",

582
PAM API Part 1

"HostName": "TEST",
"ServiceUserName":
"24YvIHwEPhsbPiH5cvBBDMwYTRjKufV4r4fnlZZr1Vk=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114552",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName":
"buXHlOgtVtbvPo0wwng+PIcdXXQIv8CBhoGk/9/D4KA=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114564",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName": "1xFsy9WDEQ/
6nfe4lQmDtjboiZvDLP97uh0HduzA7n8=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114570",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName":
"Df61hHywc2AOP48R8XFjtvDxYkOM0m7KX6nl2+qokKs=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114572",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName": "ZsVcca4fo+k3kX/
iFL+sjFntg4Sm8TOVExlpZhG8Vq0=",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114576",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",

583
PAM API Part 1

"ServiceUserName":
"PXgjmCKfMOeNpx7lWh9UHS60gtK68jKHKih7lMUS9TI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTpass"
},
{
"ServiceId": "114577",
"IpAddress": "13.126.64.185",
"HostName": "13.126.64.185",
"ServiceUserName":
"pShLpAtbQAvxzKcWIgz+RviQWYb7u37aL7GFbuVnFk8=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.126.64.185"
},
{
"ServiceId": "114578",
"IpAddress": "10.10.0.111",
"HostName": "QA",
"ServiceUserName":
"Vf1lygVAAs7kJKPwP+jsSQKuFRFlTc333ZbG9dXAgGs=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "QA"
},
{
"ServiceId": "114579",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName":
"5yKo6BsTvXOfS9tmTIl1gVtFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55"
},
{
"ServiceId": "114583",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "L5O4xJCa+HXPc/
rt2QyEO1tFYY7VN9pXfJRLCb8Ym54=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114584",
"IpAddress": "10.10.0.211",
"HostName": "10.10.0.211",
"ServiceUserName": "exsA4lqfMQ/
DQFJenKlQ3y60gtK68jKHKih7lMUS9TI=",

584
PAM API Part 1

"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.211"
},
{
"ServiceId": "114602",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"YTTuSaHpwGRg3fd+KvT0mCTP9NBwExM495mLvTzPW6I=",
"Port": "1521",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114604",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "OJuUJ/4o13GH8tt+SI/
CwFFrXMoijJvBN4HukhtSoZQ=",
"Port": "3306",
"ServiceType": "MySQL QA",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114610",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "oUslT4AKc8h2q6sQ4APwPEbLiVR/
kHVgIgeCKHQ7pb0=",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180"
},
{
"ServiceId": "114611",
"IpAddress": "10.10.0.210",
"HostName": "DESKTOP-SVLF2LO",
"ServiceUserName":
"mr8VNt7wZjnTdZnBUpExci60gtK68jKHKih7lMUS9TI=",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "DESKTOP-SVLF2LO"
},
{
"ServiceId": "114616",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"O0leizorCdClBTSQ9cS7C2HSXdDNpJINFRYo8LyOBPs=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",

585
PAM API Part 1

"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114619",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "QZHvjQCzlm8dqbQQaFooXAYkQgTx2/
cQUwoSCDbz3FM=",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114634",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName":
"YjUiJWOYk17HYQDlLUS43L9ZlsrSP7WyIuz6owcBLCo=",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114643",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"Ignhtu3THXOobopCM87Lk5cXFWufF3MMNrNP6Apu9CA=",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114645",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName":
"fXjVkQqRkNWSwqNrwz2sFAYRKF9xtmPgims00IHoQFY=",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114652",
"IpAddress": "10.10.0.246",
"HostName": "10.10.0.246",
"ServiceUserName":
"PATPDGumtS6kgSU7cUrBtSTP9NBwExM495mLvTzPW6I=",
"Port": "22",
"ServiceType": "SSH Switch",
"ServiceDomain": "10.10.0.246"
},

586
PAM API Part 1

{
"ServiceId": "114655",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName":
"gBJVNOgcJWHobCJpz4IrdiTP9NBwExM495mLvTzPW6I=",
"Port": "22",
"ServiceType": "SSH UNIX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114661",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "YoKIcbLRLaqJuD1s8JB/YcPjbTgkjBxxQ/
Umq11aY+g=",
"Port": "22",
"ServiceType": "SSH UNIX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114669",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName":
"Zp0Gm5zb9veqR+H8ZSsuC7HJBUo0rbgZkZ2xcnhF8UE=",
"Port": "1521",
"ServiceType": "Oracle QA",
"ServiceDomain": "10.10.0.69"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.1.5.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Mandatory Parameter.

Response ServiceId int This value refers to the id of the service assigned
to the ARCON PAM user

587
PAM API Part 1

Type Parameters Data Type Description

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Port int This value refers to the port of the service present
in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM
1.4.1.5.2 Code Blocks for '/GetNotAssignedServiceListToUsr'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8",
"x-PAM-Version":"2"
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

588
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetNotAssignedServiceListToUsr");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
request.AddParameter("x-PAM-Version","2");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

589
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.6 GetLOBListV2
This API is used to fetch a list of LOBs from ARCON PAM.

Type of Request GET

Endpoint /api/UserDetails/GetLOBList

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 Not Applicable -

590
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 01:07:51",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "19 Records Found",
"Result": [
{
"LobId": 1,
"LobName": "DEFAULT LOB 1"
},
{
"LobId": 2,
"LobName": "MUMBAI ZONE"
},
{
"LobId": 3,
"LobName": "DEFAULT TEST LOB"
},
{
"LobId": 4,
"LobName": "DUBAI REGION"
},
{
"LobId": 5,
"LobName": "ONBOARD"
},
{
"LobId": 6,
"LobName": "DEBOARDING"
},
{
"LobId": 8,
"LobName": "DEVEN"
},
{
"LobId": 9,
"LobName": "LOBTEST"
},
{
"LobId": 10,
"LobName": "LOADTEST_LOB"
},
{
"LobId": 11,
"LobName": "TESTLOB"
},
{

591
PAM API Part 1

"LobId": 12,
"LobName": "運用管理者"
},
{
"LobId": 13,
"LobName": "SSO"
},
{
"LobId": 14,
"LobName": "ABC"
},
{
"LobId": 15,
"LobName": "9318TESTING"
},
{
"LobId": 16,
"LobName": "9318T2"
},
{
"LobId": 17,
"LobName": "9318T3"
},
{
"LobId": 19,
"LobName": "TEST_KARISHMA"
},
{
"LobId": 20,
"LobName": "HIRENTEST"
},
{
"LobId": 21,
"LobName": "YASHTEST"
}
]
}

Response Time 280 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.1.6.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response LobId long This value refers to the id of the LOB present in
ARCON PAM

592
PAM API Part 1

Type Parameters Data Type Description

LobName string This value refers to the name of the LOB present
in ARCON PAM
1.4.1.6.2 Code Blocks for ‘/GetLOBList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetLOBList",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]oOrQ",
"x-PAM-Version":"2"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetLOBList")


;
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]oOrQ");
request.AddParameter("application/json", "\t{\n\t\n\t}",
ParameterType.RequestBody);
request.AddParameter("x-PAM-Version","2");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

593
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetLOBList")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]oOrQ")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetLOBList"

payload = "\t{\n\t\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]oOrQ',
'x-PAM-Version':'2'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.7 GetUserGroupListV2
This API is used to fetch a list of all user groups in ARCON PAM.

Request GET

Endpoint /api/UserDetails/GetUserGroupList

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

594
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Query
String http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList?
Paramete LOBID=1
r

595
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 01:06:22",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "16 Records Found",
"Result": [
{
"UserGroupId": 7,
"UserGroupName": "WINDOWS ADMINS"
},
{
"UserGroupId": 8,
"UserGroupName": "LINUXADMINS"
},
{
"UserGroupId": 10,
"UserGroupName": "USERGROUP1"
},
{
"UserGroupId": 21,
"UserGroupName":
"UAT_ONBOARD_GRP1DSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSP"
},
{
"UserGroupId": 30,
"UserGroupName": "IT Admin"
},
{
"UserGroupId": 32,
"UserGroupName": "USER ONBOARDING
PRODDGXDGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGL"
},
{
"UserGroupId": 34,
"UserGroupName": "ARCOSUSER"
},
{
"UserGroupId": 39,
"UserGroupName": "DEMO USERS"
},
{
"UserGroupId": 17,
"UserGroupName": "Bulk_User"
},
{

596
PAM API Part 1

"UserGroupId": 41,
"UserGroupName": "Andheri"
},
{
"UserGroupId": 1652,
"UserGroupName": "SHAIL USERS"
},
{
"UserGroupId": 11,
"UserGroupName": "VASANT_UG"
},
{
"UserGroupId": 6,
"UserGroupName": "ADMINS"
},
{
"UserGroupId": 1691,
"UserGroupName": "JIT User Group Raise Request -294"
},
{
"UserGroupId": 1693,
"UserGroupName": "NISHANT GROUP"
},
{
"UserGroupId": 1694,
"UserGroupName": "TEST_201"
}
]
}

Response Time 108 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.1.7.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of the LOB profile
present in ARCON PAM

Mandatory Parameter.

Response UserGroupId int This value refers to the id of the user group
present in ARCON PAM

UserGroupName string This value refers to the name of the user group
present in ARCON PAM

597
PAM API Part 1

1.4.1.7.2 Code Blocks for '/GetUserGroupList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8",
"x-PAM-Version":"2"
},
"data": "{\n\tLOBId:1\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserGroupList?LOBID=1");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tLOBId:1\n}",
ParameterType.RequestBody);
request.AddParameter("x-PAM-Version","2");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

598
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList?LOBID=2")
.method("GET", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8") .addHeader("x-PAM-Version":"2") .build();
Response response = client.newCall(request).execute()

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList"

payload = "{\n\tLOBId:1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8',
'x-PAM-Version':'2'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.1.8 GetUserListV2
This API is used to fetch a list of Users from a particular User Group.

Type of Request POST

Endpoint /api/UserDetails/GetUserList

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

599
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"UserGroupID": 64
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 12:42:06",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found : Ecnrypted Columns :UserName",
"Result": [
{
"UserId": 23305,
"UserDisplayName": "DISPLAY NAME",
"UserName": "17vL9J2JPcGuVAB6ZJv4pwmONR/YQ72c95XU2+
+wqtQ="
}
]
}

Response Time 100 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.1.8.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupID int This value refers to the id of the user group
present in ARCON PAM

Mandatory Parameter.

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

600
PAM API Part 1

Type Parameters Data Type Description

UserName string This value is in encrypted format refers to the user


name of the user present in ARCON PAM
1.4.1.8.2 Code Blocks for '/GetUserList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"UserGroupId":64}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetUserList")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddHeader("x-PAM-Version","2");
questq
request.AddParameter("application/json", "{\n \"UserGroupId\":64\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

601
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"UserGroupId\":64\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserList"

payload = "{\n \"UserGroupId\":64\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.2 UserDetailsV3
A User is an entity that has the authority to use an application. Users shall be of two types such as Client User
and Admin User. The Client type of User shall be responsible only for checking reports and accessing services.
The Client User will not have admin privileges to perform any admin activity in Server Manager whereas the
Admin User shall be able to perform all the activities in ARCON PAM.
While Logging into ARCON PAM, the Admin/Client type of User shall select the respective domains (AD
Domain/ Local Domain) for authentication. The Users authenticated from Active Directory shall be called
Domain Users whereas, the Users authenticated from local Domain are known as Local User.
• Domain User: A domain user is a user whose username and password are stored on a domain controller
rather than the computer through which the user is logging into. When you log in as a Domain User, the
computer asks the domain controller what privileges are assigned to you. When the computer receives
an appropriate response from the domain controller, it logs you in with the permissions and restrictions.

602
PAM API Part 1

• Local User: A local User is one whose username and encrypted password are stored on the computer
itself. When you log in as a local user, the computer checks its own list of Users and its own password file
to see if you are allowed to log into the standalone computer.

 Before consuming API’s in the UserDetailsV3 section, a JWT Token must be generated and passed in
the header for all API’s given below.
Code samples given use third-party libraries, as given by 'Postman Rest Client' which are as follows:
1. For C# using Rest-Sharp, https://www.nuget.org/packages/RestSharp/105.2.3
2. For Java using OK HTTP: https://square.github.io/okhttp/
3. For Python
a. Using HTTP client: https://docs.python.org/3/library/http.client.html
b. Using requests: https://pypi.org/project/requests/

ARCON does not take any responsibility for any bugs/vulnerabilities in the third-party libraries
neither does ARCON recommend usage for these third-party libraries. Similar code can be done in
native languages respectively for achieving the same results.

1.4.2.1 GetAssignedServiceListToUsrV3
This API is used to fetch all services mapped to ARCON PAM users by providing UserId.

Type of Request GET

Endpoint /api/UserDetails/GetAssignedServiceListToUsr

Available in API All versions


Version

Release Version U13

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 3 -

Query
String http://localhost:12356/api/UserDetails/
Paramete GetAssignedServiceListToUsr?UserId=35
r

603
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 02:16:26",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "215 Records Found",
"Result": [
{
"ServiceId": "10447",
"IpAddress": "178.249.3.21",
"HostName": "178.249.3.21",
"ServiceUserName": "arcos007",
"Port": "992",
"ServiceType": "IBM AS 400",
"ServiceDomain": "178.249.3.21"
},
{
"ServiceId": "10448",
"IpAddress": "96.47.200.189",
"HostName": "96.47.200.189",
"ServiceUserName": "SINGHS",
"Port": "1433",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "96.47.200.189"
},
{
"ServiceId": "10449",
"IpAddress": "10.10.0.205",
"HostName": "10.10.0.205",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.205"
},
{
"ServiceId": "10450",
"IpAddress": "192.168.0.240",
"HostName": "LNXRH4_ARCONSRV",
"ServiceUserName": "root",
"Port": "5902",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LNXRH4_ARCONSRV"
},
{
"ServiceId": "64157",
"IpAddress": "10.10.1.105",
"HostName": "LAP254",
"ServiceUserName": "satyendra.singh",

604
PAM API Part 1

"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP254"
},
{
"ServiceId": "74393",
"IpAddress": "10.10.0.126",
"HostName": "ARCOSDEV2",
"ServiceUserName": "Pratap.patil",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV2"
},
{
"ServiceId": "74437",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "ABHI",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "108212",
"IpAddress": "10.10.0.126",
"HostName": "ARCOSDEV2",
"ServiceUserName": "TESTPRATAP",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{
"ServiceId": "113372",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys as sysdba",
"Port": "22",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "113380",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "scott",
"Port": "1521",
"ServiceType": "App Dbeaver",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "113442",
"IpAddress": "10.10.0.204",

605
PAM API Part 1

"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.204"
},
{
"ServiceId": "114112",
"IpAddress": "10.10.5.40",
"HostName": "10.10.5.40",
"ServiceUserName": "ldapusers",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.40"
},
{
"ServiceId": "114113",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "manoj",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175"
},
{
"ServiceId": "114129",
"IpAddress": "10.10.0.162",
"HostName": "WIN2K12QATEST",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K12QATEST"
},
{
"ServiceId": "114130",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceUserName": "Abhi",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114131",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "moin.ansari",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{

606
PAM API Part 1

"ServiceId": "114132",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "SSHU4",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114133",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "timebased",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114134",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "scott",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114135",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App SQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114139",
"IpAddress": "8.8.8.8",
"HostName": "8.8.8.8",
"ServiceUserName": "test_demo",
"Port": "5555",
"ServiceType": "Windows RDP",
"ServiceDomain": "8.8.8.8"
},
{
"ServiceId": "114146",
"IpAddress": "10.10.0.127",
"HostName": "ARCOSDEVSVR.ANBGLOBALDC.COM",
"ServiceUserName": "Moiz.jawadwala",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"

607
PAM API Part 1

},
{
"ServiceId": "114148",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "vinodp",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "varun.gupta",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114150",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.204"
},
{
"ServiceId": "114151",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114157",
"IpAddress": "10.10.1.135",
"HostName": "10.10.1.135",
"ServiceUserName": "preeti",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.135"
},
{
"ServiceId": "114158",
"IpAddress": "10.10.5.6",
"HostName": "10.10.5.6",
"ServiceUserName": "preeti",
"Port": "22",

608
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.5.6"
},
{
"ServiceId": "114159",
"IpAddress": "10.10.5.401",
"HostName": "10.10.5.401",
"ServiceUserName": "preeti",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.401"
},
{
"ServiceId": "114162",
"IpAddress": "10.10.3.106",
"HostName": "LAP088",
"ServiceUserName": "desktopuser",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP088"
},
{
"ServiceId": "114163",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "test11",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114165",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "1521",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114174",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",

609
PAM API Part 1

"ServiceUserName": "RDP999",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114175",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME1",
"ServiceUserName": "RDP998",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114202",
"IpAddress": "10.10.170.36",
"HostName": "10.10.170.36",
"ServiceUserName": "preeti",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.170.36"
},
{
"ServiceId": "114203",
"IpAddress": "10.10.170.100",
"HostName": "10.10.170.100",
"ServiceUserName": "preeti",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.170.100"
},
{
"ServiceId": "114216",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "arcossqladmin",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114219",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "Root",
"Port": "22",
"ServiceType": "App ReflectionX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114221",

610
PAM API Part 1

"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "Pratap.Patil",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114222",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "Pratap.Patil",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114223",
"IpAddress": "10.10.0.30",
"HostName": "10.10.0.30",
"ServiceUserName": "Siddhesh.K",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114224",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "qa.admin",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114225",
"IpAddress": "10.10.0.91",
"HostName": "ARCOS-UAT2",
"ServiceUserName": "suhas.dingankar",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114226",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "arcossqladmin",
"Port": "1434",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.56"
},

611
PAM API Part 1

{
"ServiceId": "114240",
"IpAddress": "10.10.2.131",
"HostName": "LAP233",
"ServiceUserName": "ANB",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP233"
},
{
"ServiceId": "114241",
"IpAddress": "10.10.2.15",
"HostName": "LAP278",
"ServiceUserName": "nishkarsh.jain",
"Port": "5901",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114242",
"IpAddress": "10.10.1.88",
"HostName": "LAP043",
"ServiceUserName": "diti.modi",
"Port": "6129",
"ServiceType": "App DameWare",
"ServiceDomain": "anbglobaldc"
},
{
"ServiceId": "114243",
"IpAddress": "10.10.1.88",
"HostName": "LAP043",
"ServiceUserName": "ANB",
"Port": "6127",
"ServiceType": "App DameWare",
"ServiceDomain": "LAP043"
},
{
"ServiceId": "114245",
"IpAddress": "52.23.250.38",
"HostName": "EC2-52-23-250-38.COMPUTE-1.AMAZONAWS.COM",
"ServiceUserName": "Administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "52.23.250.38"
},
{
"ServiceId": "114247",
"IpAddress": "10.10.1.183",
"HostName": "LOCALHOST",
"ServiceUserName": "kaiser",
"Port": "22",
"ServiceType": "SSH LINUX",

612
PAM API Part 1

"ServiceDomain": "localdomain"
},
{
"ServiceId": "114248",
"IpAddress": "10.10.2.131",
"HostName": "LAP233",
"ServiceUserName": "test",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP233"
},
{
"ServiceId": "114249",
"IpAddress": "10.10.2.50",
"HostName": "LAP330",
"ServiceUserName": "test",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP330"
},
{
"ServiceId": "114251",
"IpAddress": "10.10.1.223",
"HostName": "LAP346",
"ServiceUserName": "not_needed",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "LAP346"
},
{
"ServiceId": "114252",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "arcossqladmin",
"Port": "1434",
"ServiceType": "",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114253",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "abc",
"Port": "22",
"ServiceType": "App Cyberduck",
"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114201",
"IpAddress": "10.11.10.190",
"HostName": "10.11.10.190",
"ServiceUserName": "preeti",

613
PAM API Part 1

"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.11.10.190"
},
{
"ServiceId": "114193",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "sshlinux",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114192",
"IpAddress": "10.10.0.136",
"HostName": "10.10.0.136",
"ServiceUserName": "hardik",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.136"
},
{
"ServiceId": "114188",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "arcossqladmin",
"Port": "1433",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114186",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App SecureCRT",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114183",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME003",
"ServiceUserName": "user3",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114182",
"IpAddress": "88.88.88.88",

614
PAM API Part 1

"HostName": "HOSTNAME002",
"ServiceUserName": "user2",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114180",
"IpAddress": "88.88.88.88",
"HostName": "HOSTNAME001",
"ServiceUserName": "user1",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "domain"
},
{
"ServiceId": "114179",
"IpAddress": "10.10.10.19",
"HostName": "10.10.10.19",
"ServiceUserName": "test123",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.10.19"
},
{
"ServiceId": "114178",
"IpAddress": "10.10.10.19",
"HostName": "ABC",
"ServiceUserName": "test",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.10.19"
},
{
"ServiceId": "114177",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName": "RDP999",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "Mydomain"
},
{
"ServiceId": "114176",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName": "RDP997",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "Mydomain"
},
{

615
PAM API Part 1

"ServiceId": "114119",
"IpAddress": "10.10.2.42",
"HostName": "10.10.2.42",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.42"
},
{
"ServiceId": "113935",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "113934",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "113933",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ANB"
},
{
"ServiceId": "113932",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114287",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "soumya.das",
"Port": "1433",
"ServiceType": "App SqlDbx",
"ServiceDomain": "10.10.0.91"

616
PAM API Part 1

},
{
"ServiceId": "114288",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",
"ServiceUserName": "RooT",
"Port": "3306",
"ServiceType": "App SQL yog",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114289",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "soumya.das",
"Port": "1433",
"ServiceType": "App Toad for SQLserver",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114290",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "test",
"Port": "1521",
"ServiceType": "App SQL Advantage",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114291",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "check1",
"Port": "0000",
"ServiceType": "App Sybase Central",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114293",
"IpAddress": "10.10.0.56",
"HostName": "ARCODATABASE",
"ServiceUserName": "SUHAS.DINGANKAR",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114294",
"IpAddress": "10.10.0.32",
"HostName": "WIN7ULT64",
"ServiceUserName": "Siddesh.k",
"Port": "3389",

617
PAM API Part 1

"ServiceType": "Windows RDP",


"ServiceDomain": "WIN7ULT64"
},
{
"ServiceId": "114295",
"IpAddress": "10.10.0.171",
"HostName": "ARCOSDEVSVR3",
"ServiceUserName": "shailesh.local",
"Port": "45046",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "ARCOSDEVSVR3"
},
{
"ServiceId": "114297",
"IpAddress": "10.10.0.30",
"HostName": "ARCOSPOCENV",
"ServiceUserName": "RDPONLY",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.30"
},
{
"ServiceId": "114298",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "test_service",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114301",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "arcossqladmin",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114302",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "PROMPT_USER",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "113483",
"IpAddress": "10.10.2.33",
"HostName": "LAP172",

618
PAM API Part 1

"ServiceUserName": "ANB",
"Port": "",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP172"
},
{
"ServiceId": "114258",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName": "neelima",
"Port": "8987",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6"
},
{
"ServiceId": "114257",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",
"ServiceUserName": "ArconUser",
"Port": "9443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114254",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "mahesh1",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114312",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "suhas.dingankar",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114318",
"IpAddress": "172.31.21.242",
"HostName": "172.31.21.242",
"ServiceUserName": "administrator",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "172.31.21.242"
},
{
"ServiceId": "114319",

619
PAM API Part 1

"IpAddress": "10.10.0.26",
"HostName": "10.10.0.26",
"ServiceUserName": "netadmin",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV"
},
{
"ServiceId": "114320",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "PROMPT_USER",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114324",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "user",
"Port": "443",
"ServiceType": "App ArcSight Console",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114325",
"IpAddress": "10.10.0.64",
"HostName": "10.10.0.64",
"ServiceUserName": "sa",
"Port": "5000",
"ServiceType": "Sybase QA",
"ServiceDomain": "10.10.0.64"
},
{
"ServiceId": "114329",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName": "mahesh",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114330",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "Pravin",
"Port": "3252",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},

620
PAM API Part 1

{
"ServiceId": "114331",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "maheshwar.m",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114332",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114337",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "arconqa",
"Port": "3200",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114338",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "test",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114239",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114238",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "scott",
"Port": "1521",
"ServiceType": "Oracle QA",

621
PAM API Part 1

"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114237",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "test",
"Port": "0000",
"ServiceType": "App ASE Client",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114260",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",
"ServiceUserName": "admin",
"Port": "9800",
"ServiceType": "App Huawei iManager N2000",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114262",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App MobaXterm",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114353",
"IpAddress": "10.10.0.60",
"HostName": "10.10.0.60",
"ServiceUserName": "RFC_MOB5",
"Port": "3252",
"ServiceType": "App SAP Logon",
"ServiceDomain": "10.10.0.60"
},
{
"ServiceId": "114354",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "Saurabh.koli",
"Port": "1434",
"ServiceType": "App Dbeaver",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114355",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "scott",

622
PAM API Part 1

"Port": "1521",
"ServiceType": "SSH Oracle SQLPlus",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114357",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "WINATH_USER",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "anbglobaldc"
},
{
"ServiceId": "114358",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "Root",
"Port": "22",
"ServiceType": "App SolaceRouter",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114359",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "shabbir",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55"
},
{
"ServiceId": "114360",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "admin",
"Port": "27017",
"ServiceType": "SSH MongoDb",
"ServiceDomain": "10.10.0.55"
},
{
"ServiceId": "114361",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "PROMPT_USER",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114263",
"IpAddress": "10.10.0.2",

623
PAM API Part 1

"HostName": "10.10.0.2",
"ServiceUserName": "admin",
"Port": "6000",
"ServiceType": "App Huawei LMT Client",
"ServiceDomain": "10.10.0.2"
},
{
"ServiceId": "114264",
"IpAddress": "10.10.0.31",
"HostName": "10.10.0.31",
"ServiceUserName": "admin",
"Port": "6000",
"ServiceType": "App Huawei LMT Client",
"ServiceDomain": "10.10.0.31"
},
{
"ServiceId": "114265",
"IpAddress": "10.10.0.162",
"HostName": "10.10.0.162",
"ServiceUserName": "db2admin",
"Port": "50000",
"ServiceType": "App IBM Data Studio",
"ServiceDomain": "10.10.0.162"
},
{
"ServiceId": "114271",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "scott",
"Port": "1521",
"ServiceType": "App PLSQL Developer - Oracle",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114273",
"IpAddress": "10.10.0.13",
"HostName": "10.10.0.13",
"ServiceUserName": "test",
"Port": "443",
"ServiceType": "App SAN Switch",
"ServiceDomain": "10.10.0.13"
},
{
"ServiceId": "114305",
"IpAddress": "10.10.0.22",
"HostName": "10.10.0.22",
"ServiceUserName": "neelima",
"Port": "443",
"ServiceType": "App SAN Switch",
"ServiceDomain": "10.10.0.22"
},
{

624
PAM API Part 1

"ServiceId": "114309",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "admin",
"Port": "18190",
"ServiceType": "App Check Point",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114342",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "suhastest1",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114348",
"IpAddress": "10.10.1.87",
"HostName": "10.10.1.87",
"ServiceUserName": "neelb2",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.87"
},
{
"ServiceId": "114349",
"IpAddress": "10.10.1.95",
"HostName": "LAP342",
"ServiceUserName": "ANB",
"Port": "",
"ServiceType": "ARCON Desk Insight",
"ServiceDomain": "LAP342"
},
{
"ServiceId": "114350",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "siddhesh.korgaonkar",
"Port": "1434",
"ServiceType": "MS SQL QA",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114352",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "test",
"Port": "23",
"ServiceType": "IBM AS 400",
"ServiceDomain": "10.10.0.38"

625
PAM API Part 1

},
{
"ServiceId": "114275",
"IpAddress": "10.10.0.100",
"HostName": "10.10.0.100",
"ServiceUserName": "neelima.jain",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.100"
},
{
"ServiceId": "114276",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "ROOT",
"Port": "3306",
"ServiceType": "App MySQL Administrator",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114278",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "arcossqladmin",
"Port": "1433",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114280",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "neelima.jain",
"Port": "22",
"ServiceType": "",
"ServiceDomain": "10.10.0.10"
},
{
"ServiceId": "114281",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "shabbir.j",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEV2"
},
{
"ServiceId": "114282",
"IpAddress": "10.10.0.126",
"HostName": "10.10.0.126",
"ServiceUserName": "shabbir.j",
"Port": "3389",

626
PAM API Part 1

"ServiceType": "Windows RDP",


"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114387",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "user",
"Port": "22",
"ServiceType": "SSH Mysql",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114389",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "Root",
"Port": "4711",
"ServiceType": "App McAfee Proxy",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114391",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceUserName": "shailesh.local",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.171"
},
{
"ServiceId": "114393",
"IpAddress": "10.10.0.142",
"HostName": "10.10.0.142",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114395",
"IpAddress": "10.10.10.10",
"HostName": "10.10.10.10",
"ServiceUserName": "aab",
"Port": "443",
"ServiceType": "App Cisco ASDM",
"ServiceDomain": "10.10.10.10"
},
{
"ServiceId": "114400",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",

627
PAM API Part 1

"ServiceUserName": "root",
"Port": "3306",
"ServiceType": "App MySQL Administrator",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114402",
"IpAddress": "10.10.0.171",
"HostName": "ARCOSDEVSVR3",
"ServiceUserName": "shailesh.local2",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR3"
},
{
"ServiceId": "114403",
"IpAddress": "10.10.0.179",
"HostName": "ARCOSDEVSVR4",
"ServiceUserName": "shailesh",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR4"
},
{
"ServiceId": "114404",
"IpAddress": "10.10.0.26",
"HostName": "ARCOSDEV.ANBGLOBALDC.COM",
"ServiceUserName": "netadmin",
"Port": "3389",
"ServiceType": "App X-RDP",
"ServiceDomain": "ARCOSDEV"
},
{
"ServiceId": "114283",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "PROMPT_USER",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114284",
"IpAddress": "127.0.0.1",
"HostName": "127.0.0.1",
"ServiceUserName": "root",
"Port": "3306",
"ServiceType": "App MySQL Work Bench",
"ServiceDomain": "127.0.0.1"
},
{
"ServiceId": "114285",

628
PAM API Part 1

"IpAddress": "10.10.0.64",
"HostName": "10.10.0.64",
"ServiceUserName": "sa",
"Port": "5000",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.64"
},
{
"ServiceId": "114286",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "scott",
"Port": "1521",
"ServiceType": "App Embarcadero DBArtisan",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114410",
"IpAddress": "10.10.0.91",
"HostName": "10.10.0.91",
"ServiceUserName": "arcosadmin",
"Port": "5525",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.91"
},
{
"ServiceId": "114411",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName": "[email protected]",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6"
},
{
"ServiceId": "114412",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",
"ServiceUserName": "shailesh.local",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "SERVER"
},

629
PAM API Part 1

{
"ServiceId": "114413",
"IpAddress": "10.10.0.173",
"HostName": "SERVER",
"ServiceUserName": "User1008",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114414",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114415",
"IpAddress": "10.10.0.127",
"HostName": "ARCOSDEVSVR",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSDEVSVR"
},
{
"ServiceId": "114304",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName": "mahesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114373",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "Anita.Shetty",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20"
},
{
"ServiceId": "114374",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "PROMPT_USER",
"Port": "3389",
"ServiceType": "App X-RDP",

630
PAM API Part 1

"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114375",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "maheshwar.matalwar",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114422",
"IpAddress": "10.10.0.400",
"HostName": "10.10.0.400",
"ServiceUserName": "testuser2",
"Port": "23",
"ServiceType": "AIX",
"ServiceDomain": "testdomain"
},
{
"ServiceId": "114425",
"IpAddress": "10.10.10.210",
"HostName": "testhost1",
"ServiceUserName": "testuser",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2"
},
{
"ServiceId": "114429",
"IpAddress": "10.10.10.310",
"HostName": "testhost1",
"ServiceUserName": "testuser",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2"
},
{
"ServiceId": "114432",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "PROMPT_USER",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114433",
"IpAddress": "10.10.1.53",
"HostName": "10.10.1.53",
"ServiceUserName": "ADB_01",

631
PAM API Part 1

"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114434",
"IpAddress": "52.66.165.32",
"HostName": "52.66.165.32",
"ServiceUserName": "test",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "52.66.165.32"
},
{
"ServiceId": "114435",
"IpAddress": "10.10.0.200",
"HostName": "TESTSIDSERVICE",
"ServiceUserName": "testuser10",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "TESTSIDSERVICE"
},
{
"ServiceId": "114436",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName": "ADB_03",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114437",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName": "ADB_04",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114438",
"IpAddress": "10.10.10.10",
"HostName": "MYHOST",
"ServiceUserName": "testtest",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "MyDomain"
},
{
"ServiceId": "114376",
"IpAddress": "10.10.0.11",

632
PAM API Part 1

"HostName": "10.10.0.11",
"ServiceUserName": "test",
"Port": "9002",
"ServiceType": "App VMware vSphere Client",
"ServiceDomain": "10.10.0.11"
},
{
"ServiceId": "114377",
"IpAddress": "10.10.0.154",
"HostName": "10.10.0.154",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "Oracle QA",
"ServiceDomain": "10.10.0.154"
},
{
"ServiceId": "114378",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "WINATH_USER",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114379",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName": "en",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114364",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "PROMPT_USER",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114367",
"IpAddress": "10.10.0.128",
"HostName": "10.10.0.127",
"ServiceUserName": "testserv1",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "10.10.0.128"
},
{

633
PAM API Part 1

"ServiceId": "114368",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH MongoDb",
"ServiceDomain": "10.10.0.175"
},
{
"ServiceId": "114369",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "sshlinux",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114370",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "root",
"Port": "3306",
"ServiceType": "MySQL QA",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114372",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "DAVID",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20"
},
{
"ServiceId": "114382",
"IpAddress": "10.10.0.246",
"HostName": "10.10.0.246",
"ServiceUserName": "suhas",
"Port": "23",
"ServiceType": "Telnet ROUTER",
"ServiceDomain": "10.10.0.246"
},
{
"ServiceId": "114383",
"IpAddress": "10.10.1.0",
"HostName": "10.10.1.0",
"ServiceUserName": "abc",
"Port": "1521",
"ServiceType": "App SAPHana",
"ServiceDomain": "10.10.1.0"

634
PAM API Part 1

},
{
"ServiceId": "114384",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "neelima.jain",
"Port": "8987",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.38"
},
{
"ServiceId": "114385",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114603",
"IpAddress": "10.10.0.43",
"HostName": "10.10.0.43",
"ServiceUserName": "mnaoj.lenka",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.43"
},
{
"ServiceId": "114605",
"IpAddress": "",
"HostName": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"ServiceDomain": ""
},
{
"ServiceId": "114607",
"IpAddress": "",
"HostName": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"ServiceDomain": ""
},
{
"ServiceId": "114613",
"IpAddress": "185.113.5.134",
"HostName": "PUB400.COM",
"ServiceUserName": "VARUNATAR",
"Port": "23",

635
PAM API Part 1

"ServiceType": "IBM AS 400",


"ServiceDomain": "PUB400.COM"
},
{
"ServiceId": "114617",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "shailesh",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56"
},
{
"ServiceId": "114386",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "root",
"Port": "3306",
"ServiceType": "App SQL yog",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114647",
"IpAddress": "10.10.2.97",
"HostName": "DSK064.ANBGLOBALDC.COM",
"ServiceUserName": "PROMPT_USER",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114653",
"IpAddress": "10.10.0.171",
"HostName": "10.10.0.171",
"ServiceUserName": "shailesh.shinde",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC"
},
{
"ServiceId": "114405",
"IpAddress": "204.79.197.200",
"HostName": "WWW.BING.COM",
"ServiceUserName": "test",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "bing.com"
},
{
"ServiceId": "114406",
"IpAddress": "13.107.21.200",
"HostName": "AWS",

636
PAM API Part 1

"ServiceUserName": "test",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "console.aws.com"
},
{
"ServiceId": "114664",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "TestProv5",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.127"
},
{
"ServiceId": "114407",
"IpAddress": "172.217.27.196",
"HostName": "WWW.GOOGLE.COM",
"ServiceUserName": "hello",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "google.com"
},
{
"ServiceId": "114408",
"IpAddress": "10.10.0.3",
"HostName": "10.10.0.3",
"ServiceUserName": "neelima.jain",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.3"
},
{
"ServiceId": "114409",
"IpAddress": "10.10.0.4",
"HostName": "10.10.0.4",
"ServiceUserName": "neelima.jain",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.4"
},
{
"ServiceId": "114418",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "LAMTest2",
"Port": "",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114419",

637
PAM API Part 1

"IpAddress": "10.10.0.200",
"HostName": "TESTSERVICE",
"ServiceUserName": "testuser2",
"Port": "34",
"ServiceType": "AIX",
"ServiceDomain": "testservice"
},
{
"ServiceId": "114443",
"IpAddress": "10.10.0.0.0",
"HostName": "SERVICE1ANYGROUP",
"ServiceUserName": "user1",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "SERVICE1ANYGROUP"
},
{
"ServiceId": "114444",
"IpAddress": "10.10.0.2",
"HostName": "WIN1",
"ServiceUserName": "uesr1",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "win1"
},
{
"ServiceId": "114446",
"IpAddress": "10.10.0.4",
"HostName": "HELLO4",
"ServiceUserName": "user10",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "101.10.0.4"
},
{
"ServiceId": "114451",
"IpAddress": "10.10.0.210",
"HostName": "10.10.0.210",
"ServiceUserName": "vasant",
"Port": "3306",
"ServiceType": "App HeidiSQL",
"ServiceDomain": "10.10.0.210"
},
{
"ServiceId": "114454",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "shabbir",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180"
},

638
PAM API Part 1

{
"ServiceId": "114455",
"IpAddress": "10.10.0.0",
"HostName": "10.10.0.0",
"ServiceUserName": "Neelima",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.0"
},
{
"ServiceId": "114416",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName": "anb",
"Port": "23",
"ServiceType": "SSH Telnet",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114417",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "LAMTest1",
"Port": "",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL"
},
{
"ServiceId": "114502",
"IpAddress": "10.10.2.54",
"HostName": "DSK015",
"ServiceUserName": "sftp.dev",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "anbglobaldc"
},
{
"ServiceId": "114534",
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "administrator",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ATSTESTDC"
},
{
"ServiceId": "114540",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName": "test6",
"Port": "22",
"ServiceType": "AIX",

639
PAM API Part 1

"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114566",
"IpAddress": "10.10.0.200",
"HostName": "TEST",
"ServiceUserName": "test28",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "ARCOSAUTH"
},
{
"ServiceId": "114580",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "rakhi.gurbani",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.150"
},
{
"ServiceId": "114581",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName": "arcosadmin",
"Port": "22",
"ServiceType": "App TeraTerm",
"ServiceDomain": "10.10.0.132"
},
{
"ServiceId": "114582",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69"
},
{
"ServiceId": "114588",
"IpAddress": "10.10.0.7",
"HostName": "10.10.0.7",
"ServiceUserName": "suhastest",
"Port": "22",
"ServiceType": "SSH Router",
"ServiceDomain": "10.10.0.7"
},
{
"ServiceId": "114639",
"IpAddress": "10.10.2.97",
"HostName": "10.10.2.97",
"ServiceUserName": "SYS",

640
PAM API Part 1

"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.2.97"
},
{
"ServiceId": "114657",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17"
},
{
"ServiceId": "114660",
"IpAddress": "65.0.176.40",
"HostName": "65.0.176.40",
"ServiceUserName": "testuser",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "65.0.176.40"
}
]
}

Response Time 395 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.2.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Response ServiceId int This value refers to the id of the service assigned
to the ARCON PAM user

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the service present in ARCON PAM

Port int This value refers to the port of the service


present in ARCON PAM

641
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM
1.4.2.1.2 Code Blocks for '/GetAssignedServiceListToUsr'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr?
UserId=35",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8",
"x-PAM-Version":"3"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAssignedServiceListToUsr?UserId=35");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddHeader("x-PAM-Version":"3");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

642
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr?
UserId=35")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.addHeader("x-PAM-Version","3")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr?
UserId=35"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8',
'x-PAM-Version':3
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.2.2 GetUserListV3
This API is used to fetch a list of Users from a particular User Group.

Type of Request GET

Endpoint /api/UserDetails/GetUserList

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

643
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 3 -

Query
String http://pamapi.arconnet.com/api/UserDetails/GetUserList?
Paramete UserGroupId=64
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Feb/2021 02:29:22",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found",
"Result": [
{
"UserId": 23305,
"UserDisplayName": "DISPLAY NAME",
"UserName": "USER12"
}
]
}

Response Time 106 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.2.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupID int This value refers to the id of the user group
present in ARCON PAM

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

UserName string This value refers to the user name of the user
present in ARCON PAM

644
PAM API Part 1

1.4.2.2.2 Code Blocks for '/GetUserList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserList?UserGroupId=64",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54",
"x-PAM-Version":"2"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetUserList?


UserGroupId=64");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddHeader("x-PAM-Version","2");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserList?UserGroupId=64")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

645
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserList?UserGroupId=64"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.2.3 GetDomainsV3
This API is used to fetch a list of all domains in ARCON PAM.

Request GET

Endpoint /api/UserDetails/GetDomains

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

646
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-Apr-2022 04:15:40",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "8 Records Found",
"Result": [
{
"DomainId": "2",
"DomainName": "ARCOSAUTH"
},
{
"DomainId": "3",
"DomainName": "ANBGLOBALDC"
},
{
"DomainId": "4",
"DomainName": "TESTDOMAIN"
},
{
"DomainId": "5",
"DomainName": "ATSTESTDC"
},
{
"DomainId": "6",
"DomainName": "NVDOMAIN"
},
{
"DomainId": "8",
"DomainName": "TEST1"
},
{
"DomainId": "9",
"DomainName": "DAPREVIEW"
},
{
"DomainId": "10",
"DomainName": "adityabirlacapital"
}
]
}

Response Time 6520 milliseconds

Post Endpoint Call None

Supported Features NA

647
PAM API Part 1

1.4.2.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response DomainId int This value refers to the id of the domain present
in ARCON PAM

DomainName string This value refers to the name of the domain


present in ARCON PAM
1.4.2.3.2 Code Blocks for '/GetDomains'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetDomains",
"method": "POST",
"timeout": 0,
"headers": {
"X-PAM-Version": "3",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]MpoE",
"Cookie": "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/GetDomains");


client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("X-PAM-Version", "3");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]MpoE");
request.AddHeader("Cookie", "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph");
var body = @"";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

648
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetDomains")
.method("POST", body)
.addHeader("X-PAM-Version", "3")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]MpoE")
.addHeader("Cookie", "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://localhost:12356/api/UserDetails/GetDomains"

payload = ""
headers = {
'X-PAM-Version': '3',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]MpoE',
'Cookie': 'ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.2.4 SetUserDetailsV3
This API is used to create a new User.

Request POST

Endpoint /api/UserDetails/SetUserDetails

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

649
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBID":1,
"UserGroupId":1,
"DomainName":"ARCOSAUTH",
"UserDisplayName":"MAJID4567",
"UserId":"MAJID4567",
"Password":"pass@123",
"UserTypeId":1,
"EmailId":"[email protected]"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "14-Apr-2022 11:46:41",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Inserted Successfully",
"Result": [
{
"UId": 23429,
"UserId": "MAJID4567",
"DomainName": "ARCOSAUTH"
}
]
}

Response Time 2720 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.2.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID int This value refers to the id of the LOB present in
ARCON PAM

650
PAM API Part 1

Type Parameters Data Type Description

UserGroupId int This value refers to the id of the user group


present in ARCON PAM

DomainName string This value refers to the domain name for the user

UserDisplayName string This value refers to the display name of the user

UserId string This value refers to the user id used to login

Password string This value refers to the password of the user

UserTypeId int This value refers to the id of the user type present
in ARCON PAM

EmailId string This value refers to the email id of the user

Response UId int This value refers to the unique integer id of the
user present in ARCON PAM Database

UserId string This value refers to the user id used to login

DomainName string This value refers to the domain name of the user

651
PAM API Part 1

1.4.2.4.2 Code Blocks for '/SetUserDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/SetUserDetails",
"method": "POST",
"timeout": 0,
"headers": {
"X-PAM-Version": "3",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]0yxo",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=jepejfhbjexfqljp3p41yd3b"
},
"data": JSON.stringify({
"LOBID": 1,
"UserGroupId": 1,
"DomainName": "ARCOSAUTH",
"UserDisplayName": "MAJID4567",
"UserId": "MAJID4567",
"Password": "pass@123",
"UserTypeId": 1,
"EmailId": "[email protected]"
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

652
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/SetUserDetails")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("X-PAM-Version", "3");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]0yxo");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=jepejfhbjexfqljp3p41yd3b");
var body = @"{
" + "\n" +
@"""LOBID"":1,
" + "\n" +
@"""UserGroupId"":1,
" + "\n" +
@"""DomainName"":""ARCOSAUTH"",
" + "\n" +
@"""UserDisplayName"":""MAJID4567"",
" + "\n" +
@"""UserId"":""MAJID4567"",
" + "\n" +
@"""Password"":""pass@123"",
" + "\n" +
@"""UserTypeId"":1,
" + "\n" +
@"""EmailId"":""[email protected]""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

653
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\r\n\"LOBID\":1,\r\n\"UserGroupId\":1,\r\n\"DomainName\":\"ARCOSAUTH\",
\r\n\"UserDisplayName\":\"MAJID4567\",\r\n\"UserId\":\"MAJID4567\",\r\n\"Password\":
\"pass@123\",\r\n\"UserTypeId\":1,\r\n\"EmailId\":\"[email protected]\"\r\n}");
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/SetUserDetails")
.method("POST", body)
.addHeader("X-PAM-Version", "3")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]0yxo")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=jepejfhbjexfqljp3p41yd3b")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests
import json

url = "http://localhost:12356/api/UserDetails/SetUserDetails"

payload = json.dumps({
"LOBID": 1,
"UserGroupId": 1,
"DomainName": "ARCOSAUTH",
"UserDisplayName": "MAJID4567",
"UserId": "MAJID4567",
"Password": "pass@123",
"UserTypeId": 1,
"EmailId": "[email protected]"
})
headers = {
'X-PAM-Version': '3',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]0yxo',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=jepejfhbjexfqljp3p41yd3b'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

654
PAM API Part 1

1.4.3 UserDetailsV1
These are version 1.0 API’s of UserDetails, these are by default available in all above versions.
1.4.3.1 GetUserList
This API is used to fetch a list of Users from a particular User Group.

Type of Request POST

Endpoint /api/UserDetails/GetUserList

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserGroupID": 64
}

655
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 01:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "5 Records Found",
"Result": [
{
"UserId": 35,
"UserDisplayName": "D N_1",
"UserName": "UN_1"
},
{
"UserId": 82,
"UserDisplayName": "D N_2",
"UserName": "UN_2"
},
{
"UserId": 150,
"UserDisplayName": "D N_3",
"UserName": "UN_3"
},
{
"UserId": 202,
"UserDisplayName": "D N_4",
"UserName": "UN_4"
},
{
"UserId": 221,
"UserDisplayName": "D N_5",
"UserName": "UN_5"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupID int This value refers to the id of the user group
present in ARCON PAM

656
PAM API Part 1

Type Parameters Data Type Description

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

UserName string This value refers to the user name of the user
present in ARCON PAM
1.4.3.1.2 Code Blocks for '/GetUserList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54"
},
"data": JSON.stringify({"UserGroupId":64}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetUserList")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddParameter("application/json", "{\n \"UserGroupId\":64\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

657
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"UserGroupId\":64\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserList"

payload = "{\n \"UserGroupId\":64\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.2 DisableUser
This API is used to disable the User(Soft delete). We provide a numeric UserID of the user which we want to
disable.

Type of Request POST

Endpoint /api/UserDetails/DisableUser

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

658
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":39
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Jun/2020 01:49:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Disabled Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Response Message string This value refers to the success or failure


message

659
PAM API Part 1

1.4.3.2.2 Code Blocks for '/DisableUser'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/DisableUser",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tUserId:39\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/DisableUser")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:39\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

660
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:39\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/DisableUser")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/DisableUser"

payload = "{\n\tUserId:39\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.3 SetServiceUserUnMapping
This API is used to remove mapped services from a particular User.

Type of Request POST

Endpoint /api/UserDetails/SetServiceUserUnMapping

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

661
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"usrid": 35,
"serviceid": "5|126"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 03:06:09",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Unmapped Successfully",
"Result": [
{
"ResultMessage": "Services Unmapped Successfully"
}
]
}

Response Time 505 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request usrid int This value refers to the id of the user present in
ARCON PAM

serviceid string This value refers to the id of the service present


in ARCON PAM

Response ResultMessage string This value refers to the success or failure


message

662
PAM API Part 1

1.4.3.3.2 Code Blocks for '/SetServiceUserUnMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetServiceUserUnMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]vW54"
},
"data": JSON.stringify({"UsrId":35,"ServiceId":"5|126"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetServiceUserUnMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]vW54");
request.AddParameter("application/json", "{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|
126\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

663
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|126\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetServiceUserUnMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]vW54")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetServiceUserUnMapping"

payload = "{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|126\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]vW54'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.4 SetUsertoUserGroupUNMapping
This API is used to unmap a particular User from a User Group.

Type of Request POST

Endpoint /api/UserDetails/SetUsertoUserGroupUNMapping

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

664
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserGroupId":64,
"UserId":35
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 06:49:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Unmapped Successfully",
"Result": [
{
"ResultMessage": "User group Unmapped Successfully"
}
]
}

Response Time 197 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupId int This value refers to the id of the user group
present in ARCON PAM

UserId int This value refers to the id of the user present in


ARCON PAM

Response ResultMessage string This value refers to the success or failure


message

665
PAM API Part 1

1.4.3.4.2 Code Blocks for '/SetUsertoUserGroupUNMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupUNMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ...]WzzSA"
},
"data": "{\n\tUserGroupId:64,\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUsertoUserGroupUNMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]WzzSA");
request.AddParameter("application/json", "{\n\tUserGroupId:64,\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

666
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\tUserGroupId:64,\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupUNMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]WzzSA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupUNMapping"

payload = "{\n\tUserGroupId:64,\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ...]WzzSA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.5 SetUserDetails
This API is used to create a new User.

Type of Request POST

Endpoint /api/UserDetails/SetUserDetails

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

667
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBID": 3,
"UserGroupId": 64,
"DomainName": "DomainName",
"UserDisplayName": "Display Name",
"UserId": "UserName12",
"Password": "password12",
"UserTypeId": 2,
"DualFactorTypeId": 1,
"MobileNo": 9876543211,
"EmailId": "[email protected]"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Jun/2020 11:29:28",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Inserted Successfully",
"Result": [
{
"UserId": 789,
"UserName": "UserName12",
"DomainName": "DomainName"
}
]
}

Response Time 531 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.5.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID int This value refers to the id of the LOB present in
ARCON PAM

668
PAM API Part 1

Type Parameters Data Type Description

UserGroupId int This value refers to the id of the user group


present in ARCON PAM

DomainName string This value refers to the domain name for the user

UserDisplayName string This value refers to the display name of the user

UserId string This value refers to the user id used to login

Password string This value refers to the password of the user

UserTypeId int This value refers to the id of the user type present
in ARCON PAM

DualFactorTypeId int This value refers to the id of the dual-factor type


present in ARCON PAM

MobileNo int This value refers to the mobile no of the user

EmailId string This value refers to the email id of the user

Response ResultMessage string This value refers to the success or failure


message

UserId int This value refers to the id of the user present in


ARCON PAM

UserName string This value refers to the username used to login

DomainName string This value refers to the domain name of the user

669
PAM API Part 1

1.4.3.5.2 Code Blocks for '/SetUserDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUserDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]zzSA"
},
"data": JSON.stringify({"LOBId":3,"UserGroupId":64,"DomainName":"DomainName","User
DisplayName":"Display Name","UserId":"UserName12","Password":"password12","UserTypeI
d":2,"DualFactorTypeId":1,"MobileNo":9876543211,"EmailId":"[email protected]"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]zzSA");
request.AddParameter("application/json", "{\n\t\"LOBId\":3,\n \"UserGroupId\":64,\n
\"DomainName\":\"DomainName\",\n \"UserDisplayName\":\"Display Name\",\n \"UserId\":
\"UserName12\",\n \"Password\":\"password12\",\n \"UserTypeId\":2,\n
\"DualFactorTypeId\":1,\n \"MobileNo\":9876543211,\n \"EmailId\":
\"[email protected]\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

670
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"LOBId\":3,\n
\"UserGroupId\":64,\n \"DomainName\":\"DomainName\",\n \"UserDisplayName\":\"Display
Name\",\n \"UserId\":\"UserName12\",\n \"Password\":\"password12\",\n
\"UserTypeId\":2,\n \"DualFactorTypeId\":1,\n \"MobileNo\":9876543211,\n
\"EmailId\":\"[email protected]\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]zzSA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserDetails"

payload = "{\n\t\"LOBId\":3,\n \"UserGroupId\":64,\n \"DomainName\":\"DomainName\",


\n \"UserDisplayName\":\"Display Name\",\n \"UserId\":\"UserName12\",\n
\"Password\":\"password12\",\n \"UserTypeId\":2,\n \"DualFactorTypeId\":1,\n
\"MobileNo\":9876543211,\n \"EmailId\":\"[email protected]\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]zzSA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.6 DeleteUser
This API is used to delete the User permanently. We provide a numeric UserID of the user which we want to
delete. Firstly, it will remove mapped services to the User and then delete the user permanently(Hard Delete).

Type of Request POST

Endpoint /api/UserDetails/DeleteUser

Available in API All versions


Version

671
PAM API Part 1

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":39
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Jun/2020 04:07:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Deleted Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.6.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Response Message string This value refers to the success or failure


message

672
PAM API Part 1

1.4.3.6.2 Code Blocks for '/DeleteUser'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/DeleteUser",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tUserId:39\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/DeleteUser")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:39\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

673
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:39\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/DeleteUser")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/DeleteUser"

payload = "{\n\tUserId:39\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.7 SetUserGroupServiceGroupMapping
This API is used to map the user group and service group. The API accepts UserGroupId and ServiceGroupId as
an input parameter.

Type of Request POST

Endpoint /api/UserDetails/SetUserGroupServiceGroupMapping

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

674
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserGroupId":"7",
"ServiceGroupId":"3"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "01/Jun/2020 04:07:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": true
}

Response Time 336 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.7.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupId int This value refers to the id of the user group
present in ARCON PAM

ServiceGroupId int This value refers to the id of the service group


present in ARCON PAM

Response Message string This value refers to the success or failure


message

675
PAM API Part 1

1.4.3.7.2 Code Blocks for '/SetUserGroupServiceGroupMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/
SetUserGroupServiceGroupMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": JSON.stringify({"UserGroupId":7,"ServiceGroupId":3}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserGroupServiceGroupMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json",
"{\n\t\"UserGroupId\":7,\n\t\"ServiceGroupId\": 3\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

676
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserGroupId\":7,\n\t\"ServiceGroupId\": 3\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserGroupServiceGroupMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserGroupServiceGroupMapping"

payload = "{\n\t\"UserGroupId\":7,\n\t\"ServiceGroupId\": 3\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.8 EnableUser
This API is used to enable the User. We provide the numeric UserId of the user which we want to enable.

Type of Request POST

Endpoint /api/UserDetails/EnableUser

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

677
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "23/Jul/2020 02:17:34",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Enabled Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.8.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Response Message string This value refers to the success or failure


message

678
PAM API Part 1

1.4.3.8.2 Code Blocks for '/EnableUser'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/EnableUser",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/EnableUser")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

679
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/EnableUser")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/EnableUser"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.9 SetServiceUserMapping
This API is used to map services to a particular User.

Type of Request POST

Endpoint /api/UserDetails/SetServiceUserMapping

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

680
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"usrid": 35,
"serviceid": "5|126"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 04:26:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": [
{
"ResultMessage": "Services Mapped Successfully"
}
]
}

Response Time 401 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.9.1 Data Types of Request and Response

Type Parameters Data Type Description

Request usrid int This value refers to the id of the user present in
ARCON PAM

serviceid string This value refers to the id of the service present


in ARCON PAM. One can provide multiple
service ids separated using pipe.

Response ResultMessage string This value refers to the success or failure


message

681
PAM API Part 1

1.4.3.9.2 Code Blocks for '/SetServiceUserMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetServiceUserMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]vW54"
},
"data": JSON.stringify({"UsrId":35,"ServiceId":"5|126"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetServiceUserMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]vW54");
request.AddParameter("application/json", "{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|
126\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

682
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|126\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetServiceUserMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]vW54")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetServiceUserMapping"

payload = "{\n\t\"UsrId\":35,\n\t\"ServiceId\":\"5|126\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]vW54'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.10 GetUserDetailsBySession
This API is used to fetch user details by providing SessionId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserDetailsBySession

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

683
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/UserDetails/
Paramete GetUserDetailsBySession?sessionId=1
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jul/2020 09:05:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"UserID": 35,
"UserDisplayName": "ARCOSADMIN",
"UserName": "ARCOSADMIN",
"DomainName": "ARCOSAUTH",
"SessionTimeOutTime": 0,
"IsSessionAlive": true,
"SessionID": 1
}
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.10.1 Data Types of Request and Response

Type Parameters Data Type Description

Request SessionId int This value refers to the id of the login session of
the ARCON PAM user

Response UserId int This value refers to the id of the ARCON PAM
user

UserDisplayName string This value refers to the display name of the


ARCON PAM user

684
PAM API Part 1

Type Parameters Data Type Description

UserName string This value refers to the username of the ARCON


PAM user

DomainName string This value refers to the domain name present in


ARCON PAM

SessionTimeoutTim int This value refers to the timeout value of the


e session

IsSessionAlive bool This value will be like ‘true' or 'false’

SessionId int This value refers to the id of the login session of


the ARCON PAM user
1.4.3.10.2 Code Blocks for '/GetUserDetailsBySession'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserDetailsBySession?
sessionId=1",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserDetailsBySession?sessionId=1");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

685
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserDetailsBySession?
sessionId=1")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserDetailsBySession?
sessionId=1"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.11 UpdateUserPreferences
This API is used to update user preferences in ARCON PAM.

Request POST

Endpoint /api/UserDetails/UpdateUserPreferences

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

686
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserID":35,
"ServiceTypeID":141,
"LoggedInUserSessionID":1,
"ServiceTypeDescription":"Test",
"userServicePreference": {
"ServiceRename":"TestService",
"IconString":"",
"Color":"",
"Description":"Test Service",
"ServiceID":1
}
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jul/2020 07:01:04",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "New Preference added succesfully"
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.11.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

687
PAM API Part 1

Type Parameters Data Type Description

LoggedInUserSessi int This value refers to the id of the login session of


onId the ARCON PAM user

ServiceTypeDescri string This value refers to a description of the service


ption type present in ARCON PAM

ServiceRename string

IconString string

Color string

Description string

ServiceId int This value refers to the id of the service present in


ARCON PAM

Response Result string This value refers to a success or failure message


1.4.3.11.2 Code Blocks for '/UpdateUserPreferences'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/UpdateUserPreferences",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]d1oU"
},
"data": JSON.stringify({"UserID":35,"ServiceTypeID":141,"LoggedInUserSessionID":1,"
ServiceTypeDescription":"Test","userServicePreference":{"ServiceRename":"TestService
","IconString":"","Color":"","Description":"Test Service","ServiceID":1}}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

688
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


UpdateUserPreferences");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU");
request.AddParameter("application/json", "{\r\n \"UserID\":35,\r\n
\"ServiceTypeID\":141,\r\n \"LoggedInUserSessionID\":1,\r\n
\"ServiceTypeDescription\":\"Test\",\r\n \"userServicePreference\":{\r\n
\"ServiceRename\":\"TestService\",\r\n \"IconString\":\"\",\r\n \"Color\":
\"\",\r\n \"Description\":\"Test Service\",\r\n \"ServiceID\":1\r\n }\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserID\":35,\r\n
\"ServiceTypeID\":141,\r\n \"LoggedInUserSessionID\":1,\r\n
\"ServiceTypeDescription\":\"Test\",\r\n \"userServicePreference\":{\r\n
\"ServiceRename\":\"TestService\",\r\n \"IconString\":\"\",\r\n \"Color\":
\"\",\r\n \"Description\":\"Test Service\",\r\n \"ServiceID\":1\r\n }\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/UpdateUserPreferences")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU")
.build();
Response response = client.newCall(request).execute();

689
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/UpdateUserPreferences"

payload = "{\r\n \"UserID\":35,\r\n \"ServiceTypeID\":141,\r\n


\"LoggedInUserSessionID\":1,\r\n \"ServiceTypeDescription\":\"Test\",\r\n
\"userServicePreference\":{\r\n \"ServiceRename\":\"TestService\",\r\n
\"IconString\":\"\",\r\n \"Color\":\"\",\r\n \"Description\":\"Test Service\",
\r\n \"ServiceID\":1\r\n }\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]d1oU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.12 GetUserPreferences
This API is used to fetch user preferences by providing UserId and ServiceTypeId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserPreferences

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

690
PAM API Part 1

Body
{
"UserID":35,
"ServiceTypeID":141,
"ServiceID":1
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jul/2020 02:55:23",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"UserID": 35,
"ServiceTypeID": 141,
"LoggedInUserSessionID": 3320,
"ServiceTypeDescription": "C:\\Windows\\System32\\cmd.exe",
"UpdatedOn": "03/27/2019 19:25:50",
"UserServicePreference": {
"ServiceRename": null,
"IconString": null,
"Color": null,
"Description": null,
"ServiceID": 1
}
}
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.12.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceId int This value refers to the id of the service present


in ARCON PAM

691
PAM API Part 1

Type Parameters Data Type Description

Response UserId int This value refers to the id of the ARCON PAM
user

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

LoggedInUserSessi int This value refers to the id of the login session of


onId the ARCON PAM user

ServiceTypeDescri string This value refers to a description of the service


ption type present in ARCON PAM

UpdatedOn DateTime This value refers to the updated date time of the
user preference

ServiceRename string

IconString string

Color string

Description string

ServiceId int This value refers to the id of the service present


in ARCON PAM
1.4.3.12.2 Code Blocks for '/GetUserPreferences'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserPreferences",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]d1oU"
},
"data": JSON.stringify({"UserID":35,"ServiceTypeID":141,"ServiceID":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

692
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserPreferences");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU");
request.AddParameter("application/json", "{\r\n \"UserID\":35,\r\n
\"ServiceTypeID\":141,\r\n \"ServiceID\":1\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserID\":35,\r\n
\"ServiceTypeID\":141,\r\n \"ServiceID\":1\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserPreferences")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU")
.build();
Response response = client.newCall(request).execute();

693
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserPreferences"

payload = "{\r\n \"UserID\":35,\r\n \"ServiceTypeID\":141,\r\n


\"ServiceID\":1\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]d1oU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.13 UpdateUserInfo
This API is used to update user details by providing UserId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/UpdateUserInfo

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

694
PAM API Part 1

Body
{
"UserId": 35,
"UserDisplayName": "USER01",
"DomainName": "ARCOS01",
"ValidTill": "01/01/2059 11:59:00",
"Status": 1,
"UserLOBId": 1,
"UserGroupId": 10,
"EmailId": "[email protected]",
"MobileNo": 9876543210,
"UserTypeId": 0,
"DualFactorTypeId": 4
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jul/2020 12:46:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Modified Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.13.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId long This value refers to the id of the ARCON PAM user

Mandatory Parameter.

UserDisplayName string This value refers to the display name of the


ARCON PAM user

DomainName string This value refers to the domain name present in


ARCON PAM

ValidTill DateTime This value refers to the valid date of the ARCON
PAM user

695
PAM API Part 1

Type Parameters Data Type Description

Status int? This value refers to the id of the status of ARCON


PAM user

UserLOBId string This value refers to the id of the LOB profile


present in ARCON PAM

UserGroupId string This value refers to the id of the user group


present in ARCON PAM

EmailId string This value refers to the email id of the ARCON


PAM user

MobileNo string This value refers to the mobile no of the ARCON


PAM user

UserTypeId int? This value refers to the id of the user type present
in ARCON PAM

Values will be like:


• 1 for Admin
• 0 for Client

DualFactorTypeId int? This value refers to the id of the dual-factor type


present in ARCON PAM

Response Message string This value refers to a success or failure message

696
PAM API Part 1

1.4.3.13.2 Code Blocks for '/UpdateUserInfo'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/UpdateUserInfo",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]d1oU"
},
"data": JSON.stringify({"UserId":35,"UserDisplayName":"USER01","DomainName":"ARCOS
01","ValidTill":"01/01/2059 11:59:00","Status":1,"UserLOBId":1,"UserGroupId":10,"Ema
ilId":"[email protected]","MobileNo":9876543210,"UserTypeId":0,"DualFactorTypeId":4}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


UpdateUserInfo");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU");
request.AddParameter("application/json", "{\r\n \"UserId\": 35,\r\n
\"UserDisplayName\": \"USER01\",\r\n \"DomainName\": \"ARCOS01\",\r\n
\"ValidTill\": \"01/01/2059 11:59:00\",\r\n \"Status\": 1,\r\n
\"UserLOBId\": 1,\r\n \"UserGroupId\": 10,\r\n \"EmailId\":
\"[email protected]\",\r\n \"MobileNo\": 9876543210,\r\n \"UserTypeId\":
0,\r\n \"DualFactorTypeId\": 4\r\n }", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

697
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\": 35,\r\n
\"UserDisplayName\": \"USER01\",\r\n \"DomainName\": \"ARCOS01\",\r\n
\"ValidTill\": \"01/01/2059 11:59:00\",\r\n \"Status\": 1,\r\n
\"UserLOBId\": 1,\r\n \"UserGroupId\": 10,\r\n \"EmailId\":
\"[email protected]\",\r\n \"MobileNo\": 9876543210,\r\n \"UserTypeId\":
0,\r\n \"DualFactorTypeId\": 4\r\n }");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/UpdateUserInfo")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/UpdateUserInfo"

payload = "{\r\n \"UserId\": 35,\r\n \"UserDisplayName\": \"USER01\",\r\n


\"DomainName\": \"ARCOS01\",\r\n \"ValidTill\": \"01/01/2059 11:59:00\",\r\n
\"Status\": 1,\r\n \"UserLOBId\": 1,\r\n \"UserGroupId\": 10,\r\n
\"EmailId\": \"[email protected]\",\r\n \"MobileNo\": 9876543210,\r\n
\"UserTypeId\": 0,\r\n \"DualFactorTypeId\": 4\r\n }"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]d1oU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.14 UpdateUserDetails
This API is used to update user details by providing UserId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/UpdateUserDetails

698
PAM API Part 1

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId": 35,
"UserDisplayName": "ARCOSADMIN",
"EmailId": "[email protected]",
"UserType": 1
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Jul/2020 12:06:40",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Modified Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.14.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM user

UserDisplayName string This value refers to the display name of the


ARCON PAM user

699
PAM API Part 1

Type Parameters Data Type Description

EmailId string This value refers to the email id of the ARCON


PAM user

UserType int This value refers to the id of the user type present
in ARCON PAM

Values will be like:


• 1 for Admin
• 0 for Client

Response Message string This value refers to a success or failure message


1.4.3.14.2 Code Blocks for '/UpdateUserDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/UpdateUserDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]d1oU"
},
"data": JSON.stringify({"UserId":35,"UserDisplayName":"ARCOSADMIN","EmailId":"test
@gmail.com","UserType":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

700
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


UpdateUserDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU");
request.AddParameter("application/json", "{\r\n \"UserId\": 35,\r\n
\"UserDisplayName\": \"ARCOSADMIN\",\r\n \"EmailId\": \"[email protected]\",\r\n
\"UserType\": 1\r\n }", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\": 35,\r\n
\"UserDisplayName\": \"ARCOSADMIN\",\r\n \"EmailId\": \"[email protected]\",\r\n
\"UserType\": 1\r\n }");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/UpdateUserDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]d1oU")
.build();
Response response = client.newCall(request).execute();

701
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/UpdateUserDetails"

payload = "{\r\n \"UserId\": 35,\r\n \"UserDisplayName\": \"ARCOSADMIN\",


\r\n \"EmailId\": \"[email protected]\",\r\n \"UserType\": 1\r\n }"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]d1oU'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.15 SetUserAndMultipleLOBMapping
This API is used to set the mapping of user and multiple LOB profiles in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetUserAndMultipleLOBMapping

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35,
"LOBId":"9|10|11"
}

702
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 09:34:28",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.15.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

Response Message string This value refers to a success or failure message


1.4.3.15.2 Code Blocks for '/SetUserAndMultipleLOBMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUserAndMultipleLOBMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"UserId":35,"LOBId":"9|10|11"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

703
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserAndMultipleLOBMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"UserId\":35,\r\n \"LOBId\":\"9|
10|11\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":35,\r\n
\"LOBId\":\"9|10|11\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserAndMultipleLOBMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserAndMultipleLOBMapping"

payload = "{\r\n \"UserId\":35,\r\n \"LOBId\":\"9|10|11\"\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

704
PAM API Part 1

1.4.3.16 SetUserAndSingleLOBMapping
This API is used to set user and LOB mapping in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetUserAndSingleLOBMapping

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35,
"LOBId":3
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 08:57:17",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA

705
PAM API Part 1

1.4.3.16.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

Response Message string This value refers to a success or failure message


1.4.3.16.2 Code Blocks for '/SetUserAndSingleLOBMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUserAndSingleLOBMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"UserId":35,"LOBId":3}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserAndSingleLOBMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"UserId\":35,\r\n
\"LOBId\":3\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

706
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":35,\r\n
\"LOBId\":3\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserAndSingleLOBMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserAndSingleLOBMapping"

payload = "{\r\n \"UserId\":35,\r\n \"LOBId\":3\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.17 SetDualFactorAuthorization
This API is used to set dual-factor authorization for ARCON PAM users.

Request POST

Endpoint /api/UserDetails/SetDualFactorAuthorization

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

707
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":1,
"DualFactorTypeId":4,
"MobileNo":"9876543210"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 06:23:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Modified Successfully",
"Result": [
"Dual Factor Settings Updated"
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.17.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

DualFactorTypeId int This value refers to the id of the dual-factor type


present in ARCON PAM

MobileNo string This value refers to the mobile no of the ARCON


PAM user

EmailId string This value refers to the email id of the ARCON


PAM user

OverwriteEmailId bool This value will be like ‘true' or 'false’

708
PAM API Part 1

Type Parameters Data Type Description

Response Result string This value refers to a success or failure message


1.4.3.17.2 Code Blocks for '/SetDualFactorAuthorization'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetDualFactorAuthorization",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"UserId":1,"DualFactorTypeId":4,"MobileNo":"9876543210"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetDualFactorAuthorization");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"UserId\":1,\r\n
\"DualFactorTypeId\":4,\r\n \"MobileNo\":\"9876543210\"\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

709
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":1,\r\n
\"DualFactorTypeId\":4,\r\n \"MobileNo\":\"9876543210\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetDualFactorAuthorization")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetDualFactorAuthorization"

payload = "{\r\n \"UserId\":1,\r\n \"DualFactorTypeId\":4,\r\n \"MobileNo\":


\"9876543210\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.18 GetUserType
This API is used to fetch a list of all user types in ARCON PAM.

Type of Request POST

Endpoint /api/UserDetails/GetUserType

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

710
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 05:32:43",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"UserTypeId": 0,
"UserTypeName": "Client"
},
{
"UserTypeId": 1,
"UserTypeName": "Admin"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.18.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response UserTypeId int This value refers to the id of the user type present
in ARCON PAM

UserTypeName string This value refers to the name of the user type
present in ARCON PAM

711
PAM API Part 1

1.4.3.18.2 Code Blocks for '/GetUserType'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserType",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetUserType")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserType")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

712
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserType"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.19 GetUserServiceDetails
This API is used to fetch user service details by providing LOBId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserServiceDetails

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBId":1
}

713
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 04:03:10",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "90 Records Found",
"Result": [
{
"HostName": "WIN2K8R2ENT_SQL",
"ServiceType": "Windows RDP",
"unxread": "NA",
"unxroot": "NA",
"unxappl": "NA",
"unxdb": "NA",
"sqlread": "NA",
"sqladmin": "NA",
"oraread": "NA",
"oraadmin": "NA",
"ctxadmin": "NA",
"almighty": "NA",
"srvadmin": "NA",
"srvroadmin": "NA",
"PROMPT_USER": "COPYUSER"
},
{
"HostName": "WIN2K8R2ENT_SQL",
"ServiceType": "Windows RDP",
"unxread": "NA",
"unxroot": "NA",
"unxappl": "NA",
"unxdb": "NA",
"sqlread": "NA",
"sqladmin": "NA",
"oraread": "NA",
"oraadmin": "NA",
"ctxadmin": "NA",
"almighty": "NA",
"srvadmin": "NA",
"srvroadmin": "NA",
"PROMPT_USER": "SIDCLIENT"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA

714
PAM API Part 1

1.4.3.19.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of the LOB profile
present in ARCON PAM

Response HostName string This value refers to the hostname of the service
present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM
1.4.3.19.2 Code Blocks for '/GetUserServiceDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserServiceDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"LOBId":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserServiceDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"LOBId\":1\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

715
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"LOBId\":1\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserServiceDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserServiceDetails"

payload = "{\r\n \"LOBId\":1\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.20 GetUserPreference
This API is used to fetch user preference by providing UserId and PreferenceId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserPreference

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

716
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/UserDetails/GetUserPreference?
Paramete preferenceId=141&userId=35
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "27/Jul/2020 11:59:04",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": "C:\\Windows\\System32\\cmd.exe"
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.20.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

PreferenceId int This value refers to the id of the preference of


ARCON PAM user

Response Result string This value refers to the description of the


preference of ARCON PAM user

717
PAM API Part 1

1.4.3.20.2 Code Blocks for '/GetUserPreference'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserPreference?
preferenceId=141&userId=35",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserPreference?preferenceId=141&userId=35");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserPreference?
preferenceId=141&userId=35")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

718
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserPreference?
preferenceId=141&userId=35"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.21 GetUserListByName
This API is used to fetch a list of users by UserId in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserListByName

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":23255,
"UserName":"Sachin"
}

719
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 06:07:35",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found",
"Result": [
{
"UserId": 23255,
"UserDisplayName": "SACHIN34",
"UserName": "SACHIN",
"UserGroupId": "",
"UserGroupName": "",
"DomainId": 2,
"DomainName": "ARCOSAUTH",
"Usertype": "Client",
"validtilldate": "01/02/2058 23:59:59"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.21.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

UserName string This value refers to the username of the ARCON


PAM user

Response UserId int This value refers to the id of the ARCON PAM
user

UserDisplayName string This value refers to the username of the ARCON


PAM user

UserName string This value refers to the display name of the


ARCON PAM user

UserGroupId int This value refers to the id of the user group


present in ARCON PAM

720
PAM API Part 1

Type Parameters Data Type Description

UserGroupName string This value refers to the name of the user group
present in ARCON PAM

DomainId int This value refers to the id of the domain present


in ARCON PAM

DomainName string This value refers to the name of the domain


present in ARCON PAM

UserType string This value refers to the name of the user type
present in ARCON PAM

ValidTillDate DateTime This value refers to the valid date of ARCON


PAM user
1.4.3.21.2 Code Blocks for '/GetUserListByName'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserListByName",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]1Gho"
},
"data": JSON.stringify({"UserId":23255,"UserName":"Sachin"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserListByName");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]1Gho");
request.AddParameter("application/json", "{\r\n \"UserId\":23255,\r\n
\"UserName\":\"Sachin\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

721
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":23255,\r\n
\"UserName\":\"Sachin\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserListByName")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]1Gho")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserListByName"

payload = "{\r\n \"UserId\":23255,\r\n \"UserName\":\"Sachin\"\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]1Gho'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.22 GetUserGroupList
This API is used to fetch a list of all user groups in ARCON PAM.

Request POST

Endpoint /api/UserDetails/GetUserGroupList

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

722
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBId":1
}

723
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 05:43:38",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "13 Records Found",
"Result": [
{
"UserGroupId": 7,
"UserGroupName": "WINDOWS ADMINS"
},
{
"UserGroupId": 8,
"UserGroupName": "LINUXADMINS"
},
{
"UserGroupId": 10,
"UserGroupName": "USERGROUP1"
},
{
"UserGroupId": 30,
"UserGroupName": "IT Admin"
},
{
"UserGroupId": 34,
"UserGroupName": "ARCOSUSER"
},
{
"UserGroupId": 39,
"UserGroupName": "DEMO USERS"
},
{
"UserGroupId": 17,
"UserGroupName": "Bulk_User"
},
{
"UserGroupId": 6,
"UserGroupName": "ADMINS"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA

724
PAM API Part 1

1.4.3.22.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBId int This value refers to the id of the LOB profile
present in ARCON PAM

Response UserGroupId int This value refers to the id of the user group
present in ARCON PAM

UserGroupName string This value refers to the name of the user group
present in ARCON PAM
1.4.3.22.2 Code Blocks for '/GetUserGroupList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tLOBId:1\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserGroupList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tLOBId:1\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

725
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLOBId:1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserGroupList"

payload = "{\n\tLOBId:1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.23 GetServiceTypeList
This API is used to fetch a list of all service types in ARCON PAM.

Type of Request POST

Endpoint /api/UserDetails/GetServiceTypeList

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

726
PAM API Part 1

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

727
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 04:25:49",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "211 Records Found",
"Result": [
{
"ServiceTypeID": 0,
"ServiceTypeName": "SSH Telnet"
},
{
"ServiceTypeID": 1,
"ServiceTypeName": "Windows RDP"
},
{
"ServiceTypeID": 2,
"ServiceTypeName": "MS SQL EM - Local"
},
{
"ServiceTypeID": 3,
"ServiceTypeName": "Sybase QA"
},
{
"ServiceTypeID": 4,
"ServiceTypeName": "MySQL QA"
},
{
"ServiceTypeID": 5,
"ServiceTypeName": "Telnet ROUTER"
},
{
"ServiceTypeID": 6,
"ServiceTypeName": "SSH UNIX"
},
{
"ServiceTypeID": 7,
"ServiceTypeName": "SSH LINUX"
},
{
"ServiceTypeID": 8,
"ServiceTypeName": "DB2 QA"
},
{
"ServiceTypeID": 9,
"ServiceTypeName": "AIX"
},
{

728
PAM API Part 1

"ServiceTypeID": 10,
"ServiceTypeName": "IBM AS 400"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.23.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response ServiceTypeId int This value refers to the id of the service type
present in ARCON PAM

ServiceTypeName string This value refers to the name of the service type
present in ARCON PAM
1.4.3.23.2 Code Blocks for '/GetServiceTypeList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetServiceTypeList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

729
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetServiceTypeList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetServiceTypeList")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetServiceTypeList"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.24 GetPasswordPolicyList
This API is used to fetch a list of all password policies in ARCON PAM.

730
PAM API Part 1

Type of Request POST

Endpoint /api/UserDetails/GetPasswordPolicyList

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

731
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 02:41:56",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "5 Records Found",
"Result": [
{
"PwdPolicyId": 1,
"PwdPolicyName": "Default Profile"
},
{
"PwdPolicyId": 2,
"PwdPolicyName": "ARCON PAM Policy"
},
{
"PwdPolicyId": 3,
"PwdPolicyName": "Release Password Policy"
},
{
"PwdPolicyId": 4,
"PwdPolicyName": "WindowsPasswordPolicy"
},
{
"PwdPolicyId": 5,
"PwdPolicyName": "Win Password Policy"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.24.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response PwdPolicyId int This value refers to the id of the password policy
present in ARCON PAM

PwdPolicyName string This value refers to the name of the password


policy present in ARCON PAM

732
PAM API Part 1

1.4.3.24.2 Code Blocks for '/GetPasswordPolicyList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetPasswordPolicyList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetPasswordPolicyList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetPasswordPolicyList")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

733
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetPasswordPolicyList"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.25 GetNotAssignedServiceListToUsr
This API is used to fetch all services which are not mapped to ARCON PAM user by providing UserId.

Type of Request POST

Endpoint /api/UserDetails/GetNotAssignedServiceListToUsr

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35
}

734
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 02:11:15",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "15 Records Found",
"Result": [
{
"ServiceId": "114140",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.382",
"ServiceUserName": "SSHU41",
"Port": "0000",
"ServiceType": "App ASE Client",
"ServiceDomain": "10.10.0.38d"
},
{
"ServiceId": "114168",
"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.214"
},
{
"ServiceId": "114255",
"IpAddress": "10.10.0.11",
"HostName": "10.10.0.11",
"ServiceUserName": "admin",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.11"
},
{
"ServiceId": "114268",
"IpAddress": "exach2-
scan.in1.ocm.s1581380.oraclecloudatcustomer.com",
"HostName": "10.10.0.126",
"ServiceUserName": "pratap.patil",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126"
},
{
"ServiceId": "114351",
"IpAddress": "10.10.0.1",
"HostName": "10.10.0.1",

735
PAM API Part 1

"ServiceUserName": "admin",
"Port": "22",
"ServiceType": "App Barracuda Firewall Admin ",
"ServiceDomain": "10.10.0.1"
},
{
"ServiceId": "114390",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "abc",
"Port": "22",
"ServiceType": "App 3Par Mgmt",
"ServiceDomain": "10.10.0.10"
}
]
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.25.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

Response ServiceId int This value refers to the id of the service assigned
to the ARCON PAM user

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

Port int This value refers to the port of the service


present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

736
PAM API Part 1

1.4.3.25.2 Code Blocks for '/GetNotAssignedServiceListToUsr'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetNotAssignedServiceListToUsr");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

737
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetNotAssignedServiceListToUsr"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.26 GetDualFactorType
This API is used to fetch a list of all dual-factor authentication types.

Type of Request POST

Endpoint /api/UserDetails/GetDualFactorType

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

738
PAM API Part 1

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "24/Jul/2020 11:53:10",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "5 Records Found",
"Result": [
{
"DFTId": 1,
"DFTName": "Mobile OTP"
},
{
"DFTId": 2,
"DFTName": "Hardware Token"
},
{
"DFTId": 4,
"DFTName": "SMS OTP"
},
{
"DFTId": 6,
"DFTName": "Email OTP"
},
{
"DFTId": 7,
"DFTName": "TOTP Authenticator"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.26.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response DFTId int This value refers to the id of the dual-factor type
present in ARCON PAM

739
PAM API Part 1

Type Parameters Data Type Description

DFTName string This value refers to the name of the dual-factor


type present in ARCON PAM
1.4.3.26.2 Code Blocks for '/GetDualFactorType'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetDualFactorType",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetDualFactorType");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

740
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetDualFactorType")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetDualFactorType"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.27 GetDomains
This API is used to fetch a list of all domains in ARCON PAM.

Type of Request POST

Endpoint /api/UserDetails/GetDomains

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

741
PAM API Part 1

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "23/Jul/2020 07:52:35",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 Records Found",
"Result": [
{
"DomainId": "2",
"DomainName": "ARCOSAUTH"
},
{
"DomainId": "3",
"DomainName": "ANBGLOBALDC"
},
{
"DomainId": "4",
"DomainName": "TESTDOMAIN"
},
{
"DomainId": "5",
"DomainName": "ATSTESTDC"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.27.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response DomainId int This value refers to the id of the domain present
in ARCON PAM

DomainName string This value refers to the name of the domain


present in ARCON PAM

742
PAM API Part 1

1.4.3.27.2 Code Blocks for '/GetDomains'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetDomains",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetDomains")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetDomains")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

743
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetDomains"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.28 GetAllServerGroups
This API is used to fetch a list of all server groups.

Type of Request POST

Endpoint /api/UserDetails/GetAllServerGroups

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

744
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "23/Jul/2020 06:09:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "451 Records Found",
"Result": [
{
"ServerGroupId": 1,
"ServerGroupName": "WINDOWS SERVERS"
},
{
"ServerGroupId": 2,
"ServerGroupName": "LINUX SERVERS"
},
{
"ServerGroupId": 3,
"ServerGroupName": "SRGROUP1"
},
{
"ServerGroupId": 4,
"ServerGroupName": "MOIN_SERVICE"
},
{
"ServerGroupId": 5,
"ServerGroupName": "SERVERGROUP1"
},
{
"ServerGroupId": 6,
"ServerGroupName": "VASANT_SG"
},
{
"ServerGroupId": 7,
"ServerGroupName": "DATABASE SERVERS"
},
{
"ServerGroupId": 8,
"ServerGroupName": "WEBAPPS"
},
{
"ServerGroupId": 9,
"ServerGroupName": "TESTSERVERGRP"
},
{
"ServerGroupId": 10,
"ServerGroupName": "NEWTWORK DEVICES"
}
]

745
PAM API Part 1

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.28.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response ServerGroupId int This value refers to the id of the server group
present in ARCON PAM

ServerGroupName string This value refers to the name of the server group
present in ARCON PAM
1.4.3.28.2 Code Blocks for '/GetAllServerGroups'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAllServerGroups",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

746
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAllServerGroups");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAllServerGroups")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAllServerGroups"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.29 GetAllActiveUserList
This API is used to fetch a list of all users and their details.

747
PAM API Part 1

Type of Request GET

Endpoint /api/UserDetails/GetAllActiveUserList

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

748
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "23/Jul/2020 04:57:41",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "20866 Records Found",
"Result": [
{
"UserId": 35,
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"DomainName": "ARCOSAUTH",
"ValidTill": "Jan 1 2058 12:00AM",
"ARCOSUserType": "Admin",
"Status": "Password Level Ok",
"UserLOBId": 1,
"UserGroupId": 6,
"EmailId": "",
"MobileNo": "",
"UserTypeId": "1",
"DualFactorTypeId": 3,
"LOBName": "DEFAULT LOB 1",
"GroupName": "ADMINS"
},
{
"UserId": 35,
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"DomainName": "ARCOSAUTH",
"ValidTill": "Jan 1 2058 12:00AM",
"ARCOSUserType": "Admin",
"Status": "Password Level Ok",
"UserLOBId": 4,
"UserGroupId": 14,
"EmailId": "",
"MobileNo": "",
"UserTypeId": "1",
"DualFactorTypeId": 3,
"LOBName": "DEFAULT LOB 1",
"GroupName": "ADMINS"
},
{
"UserId": 12916,
"UserName": "$572000-KG3FP32OGKFC",
"UserDisplayName": "",
"DomainName": "ATSTESTDC",
"ValidTill": "Jan 1 2058 12:00AM",
"ARCOSUserType": "Client",

749
PAM API Part 1

"Status": "Account Dormant Because Of User Not Logged In


From X Days",
"UserLOBId": 7,
"UserGroupId": 17,
"EmailId": null,
"MobileNo": null,
"UserTypeId": "0",
"DualFactorTypeId": null,
"LOBName": "BULK LOB",
"GroupName": "Bulk_User"
},
{
"UserId": 12916,
"UserName": "$572000-KG3FP32OGKFC",
"UserDisplayName": "",
"DomainName": "ATSTESTDC",
"ValidTill": "Jan 1 2058 12:00AM",
"ARCOSUserType": "Client",
"Status": "Account Dormant Because Of User Not Logged In
From X Days",
"UserLOBId": 7,
"UserGroupId": 38,
"EmailId": null,
"MobileNo": null,
"UserTypeId": "0",
"DualFactorTypeId": null,
"LOBName": "BULK LOB",
"GroupName": "Bulk_User"
},
{
"UserId": 12917,
"UserName": "$672000-BB4FKJ172T65",
"UserDisplayName": "",
"DomainName": "ATSTESTDC",
"ValidTill": "Jan 1 2058 12:00AM",
"ARCOSUserType": "Client",
"Status": "Account Dormant Because Of User Not Logged In
From X Days",
"UserLOBId": 7,
"UserGroupId": 17,
"EmailId": null,
"MobileNo": null,
"UserTypeId": "0",
"DualFactorTypeId": null,
"LOBName": "BULK LOB",
"GroupName": "Bulk_User"
},
{
"UserId": 12917,
"UserName": "$672000-BB4FKJ172T65",
"UserDisplayName": "",
"DomainName": "ATSTESTDC",

750
PAM API Part 1

"ValidTill": "Jan 1 2058 12:00AM",


"ARCOSUserType": "Client",
"Status": "Account Dormant Because Of User Not Logged In
From X Days",
"UserLOBId": 7,
"UserGroupId": 38,
"EmailId": null,
"MobileNo": null,
"UserTypeId": "0",
"DualFactorTypeId": null,
"LOBName": "BULK LOB",
"GroupName": "Bulk_User"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.29.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserName string This value refers to the user name of the user
present in ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

DomainName string This value refers to the domain name of the user
present in ARCON PAM

ValidTill DateTime This value refers to the valid date of the ARCON
PAM user

ARCOSUserType string This value refers to the type of user present in


ARCON PAM

Status string This value refers to the status of the user present
in ARCON PAM

UserLOBId int This value refers to the id of the LOB profile


mapped to the ARCON PAM user

UserGroupId int This value refers to the id of the user group


mapped to the ARCON PAM user

751
PAM API Part 1

Type Parameters Data Type Description

EmailId string This value refers to the email id of the ARCON


PAM user

MobileNo int This value refers to the mobile no of the ARCON


PAM user

UserTypeId int This value refers to the id of the user type present
in ARCON PAM

DualFactorTypeId int This value refers to the id of dual-factor


authentication type present in ARCON PAM

LOBName string This value refers to the name of the LOB profile
mapped to the ARCON PAM user

GroupName string This value refers to the name of the user group
mapped to the ARCON PAM user
1.4.3.29.2 Code Blocks for '/GetAllActiveUserList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserList",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

752
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAllActiveUserList");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserList")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserList"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.30 GetAllActiveUserDetails
This API is used to fetch a list of all users and their details.

753
PAM API Part 1

Type of Request GET

Endpoint /api/UserDetails/GetAllActiveUserDetails

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

754
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "23/Jul/2020 02:40:25",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "110267 Records Found",
"Result": [
{
"UserId": 35,
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"UserGroupId": 6,
"UserGroupName": "ADMINS"
},
{
"UserId": 35,
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"UserGroupId": 7,
"UserGroupName": "WINDOWS ADMINS"
{
"UserId": 22965,
"UserName": "SUSHIL",
"UserDisplayName": "SUSHIL",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",

755
PAM API Part 1

"UserGroupId": 7,
"UserGroupName": "WINDOWS ADMINS"
},
{
"UserId": 22965,
"UserName": "SUSHIL",
"UserDisplayName": "SUSHIL",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"UserGroupId": 41,
"UserGroupName": "Andheri"
},
{
"UserId": 23007,
"UserName": "ISHAAN CHATURVEDI",
"UserDisplayName": "ISHAAN CHATURVEDI",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"UserGroupId": 7,
"UserGroupName": "WINDOWS ADMINS"
},
{
"UserId": 23007,
"UserName": "ISHAAN CHATURVEDI",
"UserDisplayName": "ISHAAN CHATURVEDI",
"ServiceId": 1,
"ServiceIP": "",
"InstanceName": "",
"ServiceUserName": "",
"ServiceTypeId": null,
"ServiceType": "",
"LOBId": 1,
"LOBName": "DEFAULT LOB 1",
"UserGroupId": 8,
"UserGroupName": "LINUXADMINS"
}
]
}

Response Time 281 milliseconds

756
PAM API Part 1

Post Endpoint Call All API's

Supported Features NA
1.4.3.30.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response UserId int This value refers to the id of the user present in
ARCON PAM

UserName string This value refers to the user name of the user
present in ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

ServiceId int This value refers to the id of the service present in


ARCON PAM

ServiceIP string This value refers to the IP address of the service


present in ARCON PAM

InstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

ServiceTypeId int This value refers to the id of the service type


present in ARCON PAM

ServiceType string This value refers to the name of the service type
present in ARCON PAM

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

LOBName string This value refers to the name of the LOB profile
present in ARCON PAM

UserGroupId int This value refers to the id of the user group


present in ARCON PAM

UserGroupName string This value refers to the name of the user group
present in ARCON PAM

757
PAM API Part 1

1.4.3.30.2 Code Blocks for '/GetAllActiveUserDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetails",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAllActiveUserDetails");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetails")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

758
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetails"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.31 SetUsertoUserGroupMapping
This API is used to map a particular User with a User Group.

Type of Request POST

Endpoint /api/UserDetails/SetUsertoUserGroupMapping

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserGroupId":64,
"UserId":35
}

759
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/May/2020 05:36:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": [
{
"ResultMessage": "User group Mapped Successfully"
}
]
}

Response Time 343 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.31.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserGroupId int This value refers to the id of the user group
present in ARCON PAM

UserId int This value refers to the id of the user present in


ARCON PAM

Response ResultMessage string This value refers to the success or failure


message

760
PAM API Part 1

1.4.3.31.2 Code Blocks for '/SetUsertoUserGroupMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ...]WzzSA"
},
"data": "{\n\tUserGroupId:64,\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUsertoUserGroupMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]WzzSA");
request.AddParameter("application/json", "{\n\tUserGroupId:64,\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

761
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\tUserGroupId:64,\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ...]WzzSA")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUsertoUserGroupMapping"

payload = "{\n\tUserGroupId:64,\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ...]WzzSA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.32 GetLOBList v1
This API is used to fetch a list of LOBs from ARCON PAM.

Type of Request POST

Endpoint /api/UserDetails/GetLOBList

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

762
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Response
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Feb/2021 01:34:55",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"LobId": 1,
"LobName": "DEFAULT LOB 1"
},
{
"LobId": 2,
"LobName": "DEFAULT LOB 2"
},
{
"LobId": 3,
"LobName": "DEFAULT LOB 3"
}
]

Response Time 280 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.32.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response LobId long This value refers to the id of the LOB present in
ARCON PAM

LobName string This value refers to the name of the LOB present
in ARCON PAM

763
PAM API Part 1

1.4.3.32.2 Code Blocks for ‘/GetLOBList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetLOBList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]oOrQ"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/GetLOBList")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]oOrQ");
request.AddParameter("application/json", "\t{\n\t\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetLOBList")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]oOrQ")
.build();
Response response = client.newCall(request).execute();

764
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetLOBList"

payload = "\t{\n\t\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]oOrQ'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.33 GetServerGroupListV1
This API is used to fetch a list of Server Groups available in ARCON PAM.

Type of Request POST

Endpoint /api/UserDetails/GetServerGroupList

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

765
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Feb/2021 05:34:24",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 - Records Found",
"Result": [
{
"ServerGroupId": 1,
"ServerGroupName": "WIN__OB"
},
{
"ServerGroupId": 8,
"ServerGroupName": "WIN_SERVERS_BKP"
},
{
"ServerGroupId": 5,
"ServerGroupName": "Win_EXCHANGE_B_ADM"
},
{
"ServerGroupId": 6,
"ServerGroupName": "Win_EXCHANGE_OB_BKP"
}
]

Response Time 1386 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.33.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LobId long LOB ID to be passed in the query string which you
can get by using "GetLOBList" API from ARCON
PAM

Mandatory Parameter.

Response ServerGroupId int This value refers to the id of the server group
present in ARCON PAM

ServerGroupName string This value refers to the name of the server group
present in ARCON PAM

766
PAM API Part 1

1.4.3.33.2 Code Blocks for ‘/GetServerGroupList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetServerGroupList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]oOrQ"
},
"data": "{\n\tLOBId:2\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetServerGroupList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]oOrQ");
request.AddParameter("application/json", "{\n\tLOBId:2\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

767
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tLOBId:2\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetServerGroupList")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]oOrQ")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetServerGroupList"

payload = "{\n\tLOBId:2\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]oOrQ'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.34 GetUserPreferenceByServiceTypeId
This Api is use to fetch the user preference using ServiceTypeId

Type of Request POST

Endpoint /api/UserDetails/GetUserPreferenceByServiceTypeId

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

768
PAM API Part 1

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/UserDetails/
Paramete GetUserPreferenceByServiceTypeId?serviceTypeId=2&userId=35
r

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Feb/2021 11:08:22",
"Success": true,
"ErrorCode": "null",
"ErrorMessage": null,
"Message": null,
"Result": [{
"Key":"MS SQL EM - Local (Local Path)"
"Value":"C:\\Program Files (x86)\\Microsoft SQL Server
Management Studio 18\\Common7\\IDE\\Ssms.exe"
}
]
}

Response Time 298 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service


1.4.3.34.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceTypeId long This value refers to the id of the service type
present in ARCON PAM

UserId long This value refers to the id of the ARCON PAM


user

Response key string This value refers to the name of service type

value string This value refers to the value of service type

769
PAM API Part 1

1.4.3.34.2 Code Blocks for '/GetUserPreferenceByServiceTypeId'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/
GetUserPreferenceByServiceTypeId?serviceTypeId=2&userId=35",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]ZRCY"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetUserPreferenceByServiceTypeId?serviceTypeId=2&userId=35");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetUserPreferenceByServiceTypeId?
serviceTypeId=2&userId=35")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]ZRCY")
.build();
Response response = client.newCall(request).execute();

770
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetUserPreferenceByServiceTypeId?
serviceTypeId=2&userId=35"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]ZRCY'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.35 SetServerServerGroupUnMapping
This API is used to remove/un map Server and Server Group Mapping in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetServerServerGroupUnMapping

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceId":114955,
"ServiceGroupId":520,
"ApiUserName":"APIUser",
"LOBId":1
}

771
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 01:58:06",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Unmapped Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.35.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the Service Id of the


ARCON PAM user

ServiceGroupId int This value refers to the Service Group Id


present in ARCON PAM

ApiUserName ApiUserName This value refers to the API User Name


present in ARCON PAM

LOBId int This value refers to the LOB Id present in


ARCON PAM

Response Message string This value refers to a success or failure


message

772
PAM API Part 1

1.4.3.35.2 Code Blocks for '/SetServerServerGroupUnMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupUnMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]q0gs",
"Cookie": "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot"
},
"data": JSON.stringify({
"ServiceId": 114955,
"ServiceGroupId": 520,
"ApiUserName": "APIUser",
"LOBId": 1
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

773
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("https://devapi.arconnet.com:6302/api/UserDetails/


SetServerServerGroupUnMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot");
var body = @"{
" + "\n" +
@"""ServiceId"":114955,
" + "\n" +
@"""ServiceGroupId"":520,
" + "\n" +
@"""ApiUserName"":""APIUser"",
" + "\n" +
@"""LOBId"":1
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\r\n\"ServiceId\":114955,\r\n\"ServiceGroupId\":520,\r\n\"ApiUserName\":
\"APIUser\",\r\n\"LOBId\":1\r\n}");
Request request = new Request.Builder()
.url("https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupUnMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot")
.build();
Response response = client.newCall(request).execute();

774
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupUnMapping"

payload = json.dumps({
"ServiceId": 114955,
"ServiceGroupId": 520,
"ApiUserName": "APIUser",
"LOBId": 1
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]q0gs',
'Cookie': 'ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.3.36 GetUserGroupListWithoutMandateValue
This API is used to Fetch User Group List Without Any Input Parameter.

Type of Request POST

Endpoint /api/UserDetails/GetUserGroupListWithoutMandateValue

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

775
PAM API Part 1

Body
{
"ServiceTypeId":"1"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "11/Mar/2022 06:09:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1714 Records Found",
"Result": [
{
"UserGroupId": 6,
"UserGroupName": "ADMINS",
"LOBName": "BULK LOB"
},
{
"UserGroupId": 6,
"UserGroupName": "ADMINS",
"LOBName": "DEFAULT LOB 2"
},
{
"UserGroupId": 6,
"UserGroupName": "ADMINS",
"LOBName": "AUTOMATION_LOB"
}
]
}

Response Time 136 milliseconds

Post Endpoint Call All API's

Supported Features NA
1.4.3.36.1 Data Types of Request and Response

Type Parameters Data Type Description

Request NA NA NA

Response UserGroupId int This value refers to the id of the user group
present in ARCON PAM

UserGroupName string This value refers to the name of the User Group
present in ARCON PAM

776
PAM API Part 1

Type Parameters Data Type Description

LOBName string This value refers to the name of the LOB


present in ARCON PAM
1.4.3.36.2 Code Blocks for ‘/GetServiceType’

Code For Javascript - Jquery

var settings = {
"url": "https://devapi.arconnet.com:6302/api/UserDetails/
GetUserGroupListWithoutMandateValue",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjQ3MDg4NzQ1LCJuYmYiOjE2NDcwMDIzNDV9.Sguq8R8A5OXQPknlumOezbTRIZ5jaq
gsUs-9SlVCv4c",
"Cookie": "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

777
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("https://devapi.arconnet.com:6302/api/UserDetails/


GetUserGroupListWithoutMandateValue");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjQ3MDg4NzQ1LCJuYmYiOjE2NDcwMDIzNDV9.Sguq8R8A5OXQPknlumOezbTRIZ5jaq
gsUs-9SlVCv4c");
request.AddHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot");
var body = @"";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("https://devapi.arconnet.com:6302/api/UserDetails/
GetUserGroupListWithoutMandateValue")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjQ3MDg4NzQ1LCJuYmYiOjE2NDcwMDIzNDV9.Sguq8R8A5OXQPknlumOezbTRIZ5jaq
gsUs-9SlVCv4c")
.addHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot")
.build();
Response response = client.newCall(request).execute();

778
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "https://devapi.arconnet.com:6302/api/UserDetails/
GetUserGroupListWithoutMandateValue"

payload = ""
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjQ3MDg4NzQ1LCJuYmYiOjE2NDcwMDIzNDV9.Sguq8R8A5OXQPknlumOezbTRIZ5jaq
gsUs-9SlVCv4c',
'Cookie': 'ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

1.4.3.37 SetServerServerGroupMapping
This API is used to set Server and Server Group Mapping in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetServerServerGroupMapping

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

779
PAM API Part 1

Body
{
"ServiceId":114955,
"ServiceGroupId":520,
"ApiUserName":"APIUser",
"LOBId":1
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 01:19:19",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.37.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the Service Id of the


ARCON PAM user

ServiceGroupId int This value refers to the Service Group Id


present in ARCON PAM

ApiUserName ApiUserName This value refers to the API User Name


present in ARCON PAM

LOBId int This value refers to the LOB Id present in


ARCON PAM

Response Message string This value refers to a success or failure


message

780
PAM API Part 1

1.4.3.37.2 Code Blocks for '/SetServerServerGroupMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]q0gs",
"Cookie": "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot"
},
"data": JSON.stringify({
"ServiceId": 114955,
"ServiceGroupId": 520,
"ApiUserName": "APIUser",
"LOBId": 1
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

781
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("https://devapi.arconnet.com:6302/api/UserDetails/


SetServerServerGroupMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]q0gs");
request.AddHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot");
var body = @"{
" + "\n" +
@"""ServiceId"":114955,
" + "\n" +
@"""ServiceGroupId"":520,
" + "\n" +
@"""ApiUserName"":""APIUser"",
" + "\n" +
@"""LOBId"":1
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\r\n\"ServiceId\":114955,\r\n\"ServiceGroupId\":520,\r\n\"ApiUserName\":
\"APIUser\",\r\n\"LOBId\":1\r\n}");
Request request = new Request.Builder()
.url("https://devapi.arconnet.com:6302/api/UserDetails/
SetServerServerGroupMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]q0gs")
.addHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot")
.build();
Response response = client.newCall(request).execute();

782
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "https://devapi.arconnet.com:6302/api/UserDetails/SetServerServerGroupMapping"

payload = json.dumps({
"ServiceId": 114955,
"ServiceGroupId": 520,
"ApiUserName": "APIUser",
"LOBId": 1
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]q0gs',
'Cookie': 'ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.3.38 SetUserPrivilegesUnMapping
This API is used to set user privileges in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetUserPrivilegesUnMapping

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

783
PAM API Part 1

Body
{

"UserId":31,

"RoleId":[1,2]

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 12:52:51",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Record deleted successfully.",
"Result": true
}

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.38.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

RoleId array[int] This value refers to the role ids present in


ARCON PAM

Response Message string This value refers to a success or failure message

784
PAM API Part 1

1.4.3.38.2 Code Blocks for '/SetUserPrivilegesUnMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "https://devapi.arconnet.com:6302/api/UserDetails/
SetUserPrivilegesUnMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]v4c",
"Cookie": "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot"
},
"data": JSON.stringify({
"UserId": 31,
"RoleId": [
1,
2
]
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

785
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("https://devapi.arconnet.com:6302/api/UserDetails/


SetUserPrivilegesUnMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]c");
request.AddHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot");
var body = @"{
" + "\n" +
@"
" + "\n" +
@"""UserId"":31,
" + "\n" +
@"
" + "\n" +
@"""RoleId"":[1,2]
" + "\n" +
@"
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\r\n\t\r\n\"UserId\":31,\r\n\t\r\n\"RoleId\":[1,2]\r\n\r\n}");
Request request = new Request.Builder()
.url("https://devapi.arconnet.com:6302/api/UserDetails/
SetUserPrivilegesUnMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]VCv4c")
.addHeader("Cookie", "ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot")
.build();
Response response = client.newCall(request).execute();

786
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "https://devapi.arconnet.com:6302/api/UserDetails/SetUserPrivilegesUnMapping"

payload = json.dumps({
"UserId": 31,
"RoleId": [
1,
2
]
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]Cv4c',
'Cookie': 'ASP.NET_SessionId=22jecr3sz3etf3srpxwn01ot'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.3.39 SetUserPrivilegesMapping
This API is used to set user privileges in ARCON PAM.

Request POST

Endpoint /api/UserDetails/SetUserPrivilegesMapping

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

787
PAM API Part 1

Body
{

"UserId":31,

"RoleId":[1,2,3]

Response
{

"Program": "ARCON PAM API",

"Version": "1.0",

"DateTime": "29/Jun/2021 08:49:46",

"Success": true,

"ErrorCode": null,

"ErrorMessage": null,

"Message": "Record inserted successfully.",

"Result": true

Response Time 181 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.39.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the ARCON PAM
user

RoleId array[int] This value refers to the role ids present in


ARCON PAM

Response Message string This value refers to a success or failure message

788
PAM API Part 1

1.4.3.39.2 Code Blocks for '/SetUserPrivilegesMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/SetUserPrivilegesMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"UserId":35,"RoleId":[1,2,3]}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


SetUserPrivilegesMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"UserId\":35,\r\n \"RoleId\":
[1,2,3]\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

789
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserId\":35,\r\n
\"RoleId\":[1,2,3]\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/SetUserPrivilegesMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/SetUserPrivilegesMapping"

payload = "{\r\n \"UserId\":35,\r\n \"RoleId\":[1,2,3]\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.4.3.40 GetAllActiveUserDetailsMapping
This API is used to fetch a list of all users and their details by Username, LobId,ServerIp,UserGroupID.

Type of Request POST

Endpoint /api/UserDetails/GetAllActiveUserDetailsMapping

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

790
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":"ARCOSADMIN",
"LOBId":"1",
"ServiceIp":"10.10.10.20"
}

791
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 12:21:18",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "10 Records Found",
"Result": [
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "ADMINS",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "Andheri",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "ARCOSUSER",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",

792
PAM API Part 1

"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "SHAIL SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "ARCOSUSER",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "IT Admin",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "SHAIL SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "IT Admin",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",

793
PAM API Part 1

"UserGroup": "LINUXADMINS",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "SHAIL USERS",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "SHAIL SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "WINDOWS ADMINS",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",
"ServiceAssignedOn": "02/25/2022 12:04:56",
"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "SHAIL SERVERS"
},
{
"UserName": "ARCOSADMIN",
"UserDisplayName": "ARCOSADMIN",
"UserGroup": "WINDOWS ADMINS",
"ServiceType": "AIX",
"ServerIPAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"DBInstance": "",
"ServiceAssignedBy": "Workflow",

794
PAM API Part 1

"ServiceAssignedOn": "02/25/2022 12:04:56",


"RequestType": "Permanent",
"ConfigCommandRestrictionType": "",
"ServiceGroup": "WINDOWS SERVERS"
}
]
}

Response Time 1754 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.40.1 Data Types of Request and Response

Type Parameters Data Type Description

UserId string This value refers to the id of the user present in


ARCON PAM

Request LOBId int This value refers to the id of LOB present in


ARCON PAM

ServiceIp string This value refers to IP of the service present in


ARCON PAM

UserGroupId int This value refers to the id of the user group


mapped to the ARCON PAM user

UserName string This value refers to the name of user present in


ARCON PAM

UserDisplayName string This value refers to the display name of user


present in ARCON PAM

UserGroup string This value refers to the user group present in


ARCON PAM

ServiceIpAddress string This value refers to the IP address of the service


present in ARCON PAM

Hostname string This value refers to the hostname of the service


present in ARCON PAM
Response
ServiceUserName string This value refers to the username of the service
present in ARCON PAM

DBInstance string This value refers to the instance name of the


service present in ARCON PAM

ServiceAssignedBy string This value refers to the name of the user who
assigned the service

795
PAM API Part 1

Type Parameters Data Type Description

ServceAssignedOn datetime This value refers to the date when assigned the
service

RequestType string This value refers to the type of request present in


ARCON PAM.
eg. Sample value: 'ServiceAccess'

ConfigCommandRe string
strictionType

ServiceGroup string This value refers to the service group present in


ARCON PAM
1.4.3.40.2 Code Blocks for '/GetAllActiveUserDetailsMapping'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetailsMapping",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]SKtg"
},
"data": JSON.stringify({"UserId":"ARCOSADMIN","LOBId":"1","ServiceIp":"10.10.10.20
"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAllActiveUserDetailsMapping");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]SKtg");
request.AddParameter("application/json", "\t{\n \"UserId\":\"ARCOSADMIN",\n \"
LOBId\":\"1",\n \"ServiceIp\":\"10.10.10.20"\n\t}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

796
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n \"UserId\":\"ARCOSADMIN",
\n \"LOBId\":\"1",\n \"ServiceIp\":\10.10.10.20"\"\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetailsMapping")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]SKtg")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAllActiveUserDetailsMapping"

payload="\t{\n \"UserId\":\"ARCOSADMIN",\n \"LOBId\":\"1",\n \"ServiceIp\":


\"10.10.10.20"\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]SKtg'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.3.41 LockOutById
This API is used to lockout user by passing UserId.
0

Type of Request POST

Endpoint /api/UserDetails/LockOutById

Available in API Version All versions

Release Version U4

Pre Endpoint Call /arconToken

797
PAM API Part 1

Request Params • • • •

Headers Content-Type application/x- Mandatory •


www-form-
urlencoded

Authorization Bearer eyJ0[... Mandatory •


Removed for
brevity ....]INjTU
8

x-PAM-Version • Not Applicable •

Body Request JSON

{
"UserId":16932
}

Response Response JSON

{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "26/Apr/2019 06:41:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Record updated successfully.",
"Result": true
}

Response Time 20 milliseconds

Post Endpoint Call None

Supported Features NA

0
1.4.3.41.1 Data Types of Request and Response

Type Parameters Data Type

Request UserId int

Response "Message": "Record updated successfully.",


"Result": true

798
PAM API Part 1

0
1.4.3.41.2 Code Blocks for 'UserDetails/LockOutById'

0
C# Sample Code - (Using RestSharp)

var client = new RestClient("http://


10.00.0.00:0000/api/UserDetails/
LockOutById");
var request = new RestRequest(Method.PO
ST);
request.AddHeader("cache-control", "no-
cache");
request.AddHeader("Connection", "keep-
alive");
request.AddHeader("Cookie",
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap");
request.AddHeader("Content-Length", "42
");
request.AddHeader("Accept-Encoding", "g
zip, deflate");
request.AddHeader("Host",
"10.00.0.00:0000");
request.AddHeader("Postman-Token", "c01
c1dad-
e026-4289-8a91-1dd7bac06bf....XXXXa-662
a-47fe-8052-b3507a6c878f");
request.AddHeader("Cache-Control", "no-
cache");
request.AddHeader("Accept", "*/*");
request.AddHeader("User-Agent", "Postma
nRuntime/7.19.0");
request.AddHeader("Authorization",
"Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs");
request.AddHeader("Content-Type", "appl
ication/json");
request.AddParameter("undefined",
"{\r\"UserId\":16932\r}\r",
ParameterType.RequestBody);
IRestResponse response =
client.Execute(request);

Java Code Sample - (Using OK HTTP)

799
PAM API Part 1

OkHttpClient client = new OkHttpClient(


);

MediaType mediaType =
MediaType.parse("application/json");
RequestBody body =
RequestBody.create(mediaType,
"{\r\"UserId\":16932\r}\r");
Request request = new Request.Builder()
.url("http://10.00.0.00:0000/api/
UserDetails/LockOutById")
.post(body)
.addHeader("Content-Type", "application
/json")
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs")
.addHeader("User-Agent", "PostmanRuntim
e/7.19.0")
.addHeader("Accept", "*/*")
.addHeader("Cache-Control", "no-cache")
.addHeader("Postman-Token", "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,36dbcf52-2
5fe-4e6e-847b-132e8b4c943f")
.addHeader("Host", "10.00.0.00:0000")
.addHeader("Accept-Encoding", "gzip,
deflate")
.addHeader("Content-Length", "42")
.addHeader("Cookie",
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap")
.addHeader("Connection", "keep-alive")
.addHeader("cache-control", "no-cache")
.build();

Response response =
client.newCall(request).execute();

Python Sample Code - (Using http.client Python 3)

800
PAM API Part 1

import http.client

conn = http.client.HTTPConnection(
"10,00,0,00")

payload = "{\r\"UserId\":16932\r}\r"

headers = {
'Content-Type': "application/json",
'Authorization': "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs",
'User-Agent': "PostmanRuntime/
7.19.0",
'Accept': "*/*",
'Cache-Control': "no-cache",
'Postman-Token': "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,1a8ccbfe-
eb73-47c6-81d7-193f00ae6cb6",
'Host': "10.00.0.00:0000",
'Accept-Encoding': "gzip, deflate",
'Content-Length': "42",
'Cookie':
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap",
'Connection': "keep-alive",
'cache-control': "no-cache"
}

conn.request("POST",
"api,UserDetails,LockOutById", payload,
headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))

Python Sample Code - (Using Python Request)

801
PAM API Part 1

import requests

url = "http://10.00.0.00:0000/api/
UserDetails/LockOutById"

payload = "{\r\"UserId\":16932\r}\r"
headers = {
'Content-Type': "application/json",
'Authorization': "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ey
Jyb2xlIjoiRGVm...XXXXcyI6Imh0dHA6Ly9sb2
NhbGhvc3Q6ODg5MC8iLCJhdWQiOiI0MTRlMTkyN
2EzODg0ZjY4YWJjNzlmNzI4MzgzN2ZkMSIsImV4
cCI6MTU3MjAwOTA3OSwibmJmIjoxNTcxOTIyNjc
5fQ.pf83SwGr3lbej6fub9TJ8o94ATS0_oSRJpm
GOZMMRXs",
'User-Agent': "PostmanRuntime/
7.19.0",
'Accept': "*/*",
'Cache-Control': "no-cache",
'Postman-Token': "c01c1dad-
e026-4289-8a91-1d...xxx06bf3,e535fec4-
a24e-49f6-9a7a-7f65199210a0",
'Host': "10.00.0.00:0000",
'Accept-Encoding': "gzip, deflate",
'Content-Length': "42",
'Cookie':
"ASP.NET_SessionId=lxeqeq4xhhk113gzrml2
siap",
'Connection': "keep-alive",
'cache-control': "no-cache"
}

response = requests.request("POST",
url, data=payload, headers=headers)

print(response.text)

0
1.4.3.42 GetDisabledUsers
This API is used to fetch Disabled users details using LOB Id .

Request GET

Endpoint /api/UserDetails/GetDisabledUsers

Available in API All versions


Version

Release Version U16

802
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"LOBID":1
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-May-2022 01:07:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"UserID": "22911",
"UserDomain": "ATSTESTDC",
"Username": "HETALJ",
"UserDisplayName": "HETAL JOSHI",
"UserValidUntil": "30-03-2019 18:40:07",
"UserEmailId": "",
"UserMobileNo": ""
},
{
"UserID": "22966",
"UserDomain": "ARCOSAUTH",
"Username": "SHAILESH",
"UserDisplayName": "SHAILESH SHINDE",
"UserValidUntil": "25-11-2020 23:59:59",
"UserEmailId": "[email protected]",
"UserMobileNo": ""
}
]
}

Response Time 3070 milliseconds

Post Endpoint Call None

803
PAM API Part 1

Supported Features NA
1.4.3.42.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID string This value refers to the LOB id present in ARCON
PAM

Response UserID string This value refers to the id of the user present in
ARCON PAM

UserDomain string This value refers to the domain of the User


present in ARCON PAM

Username string This value refers to the user name of the user
present in ARCON PAM

UserDisplayName string This value refers to the display name of the user
present in ARCON PAM

UserValidUntil string This value refers to the valid till date of the
ARCON PAM user

UserEmailId string This value refers to the email id of the user


present in ARCON PAM

UserMobileNo string This value refers to the mobile no of the user


present in ARCON PAM

804
PAM API Part 1

1.4.3.42.2 Code Blocks for '/GetDisabledUsers'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetDisabledUsers",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5"
},
"data": JSON.stringify({
"LOBID": 1
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

805
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/


GetDisabledUsers");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5");
var body = @"{
" + "\n" +
@" ""LOBID"":1
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetDisabledUsers")
.method("GET", null)
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5")
.build();
Response response = client.newCall(request).execute();

806
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "http://localhost:12356/api/UserDetails/GetDisabledUsers"

payload = json.dumps({
"LOBID": 1
})
headers = {
'Authorization': 'Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

1.4.3.43 GetDormantUsers
This API is used to fetch Dormant User Details using LOBID.

Request GET

Endpoint /api/UserDetails/GetDormantUsers

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

807
PAM API Part 1

Body
{
"LOBID":"1"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-May-2022 01:37:16",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"UserID": "12916",
"UserDomain": "ATSTESTDC",
"Username": "$572000-KG3FP32OGKFC",
"UserDisplayName": "",
"UserValidUntil": "01-01-2058 00:00:00",
"UserEmailId": "",
"UserMobileNo": ""
},
{
"UserID": "12917",
"UserDomain": "ATSTESTDC",
"Username": "$672000-BB4FKJ172T65",
"UserDisplayName": "",
"UserValidUntil": "01-01-2058 00:00:00",
"UserEmailId": "",
"UserMobileNo": ""
}
]
}

Response Time 603 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.43.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID string This value refers to the id of the LOB present in
ARCON PAM

Response UserID string This value refers to the id of the user present in
ARCON PAM

808
PAM API Part 1

Type Parameters Data Type Description

UserDomain string This value refers to the domain of the ARCON


PAM user

Username string This value refers to the user name of the user
present in ARCON PAM

UserDisplayName string This value refers to the display name of the


ARCON PAM user

UserValidUntil string This value refers to the valid till date of the
ARCON PAM user

UserEmailId string This value refers to the email id of the ARCON


PAM user

UserMobileNo string This value refers to the mobile no of the ARCON


PAM user
1.4.3.43.2 Code Blocks for '/GetDormantUsers'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetDormantUsers",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5"
},
"data": JSON.stringify({
"LOBID": "1"
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

809
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/GetDormantUsers")


;
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5");
var body = @"{
" + "\n" +
@" ""LOBID"":""1""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetDormantUsers")
.method("GET", null)
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5")
.build();
Response response = client.newCall(request).execute();

810
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "http://localhost:12356/api/UserDetails/GetDormantUsers"

payload = json.dumps({
"LOBID": "1"
})
headers = {
'Authorization': 'Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

1.4.3.44 GetLockoutUsers
This API is used to fetch Lockout User Details using LOBID.

Request GET

Endpoint /api/UserDetails/GetLockoutUsers

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

811
PAM API Part 1

Body
{
"LOBID":"34"
}

Response • If records are not found:

{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-May-2022 03:55:53",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "No Record Found",
"Result": []
}

• If records are found:

{ "Program": "ARCON PAM API",


"Version": "1.0",
"DateTime": "12-May-2022 01:07:12",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"UserID": "22911",
"UserDomain": "ATSTESTDC",
"Username": "HETALJ",
"UserDisplayName": "HETAL JOSHI",
"UserValidUntil": "30-03-2019 18:40:07",
"UserEmailId": "",
"UserMobileNo": ""
},
{
"UserID": "22966",
"UserDomain": "ARCOSAUTH",
"Username": "SHAILESH",
"UserDisplayName": "SHAILESH SHINDE",
"UserValidUntil": "25-11-2020 23:59:59",
"UserEmailId": "[email protected]",
"UserMobileNo": ""
}
]
}

812
PAM API Part 1

Response Time 3680 milliseconds, If records are not found


603 milliseconds, If records are found

Post Endpoint Call None

Supported Features NA
1.4.3.44.1 Data Types of Request and Response

Type Parameters Data Type Description

Request LOBID string This value refers to the id of the LOB present in
ARCON PAM

Response UserID string This value refers to the id of the user present in
ARCON PAM

UserDomain string This value refers to the domain of the ARCON


PAM user

Username string This value refers to the user name of the user
present in ARCON PAM

UserDisplayName string This value refers to the display name of the


ARCON PAM user

UserValidUntil string This value refers to the valid till date of the
ARCON PAM user

UserEmailId string This value refers to the email id of the ARCON


PAM user

UserMobileNo string This value refers to the mobile no of the ARCON


PAM user

813
PAM API Part 1

1.4.3.44.2 Code Blocks for '/GetLockoutUsers'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetLockoutUsers",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDMwNTAyLCJuYmYiOjE2NTIzNDQxMDJ9.qWnVxq29uKpla3iKpBFXs3AQOhJA39
9Z7o0V8gBHky8",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=s3ra4ujjhvdgw2czgp5fnsfh"
},
"data": JSON.stringify({
"UserID": "35",
"ServiceTypeID": "7"
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

814
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/GetLockoutUsers")


;
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDMwNTAyLCJuYmYiOjE2NTIzNDQxMDJ9.qWnVxq29uKpla3iKpBFXs3AQOhJA39
9Z7o0V8gBHky8");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=s3ra4ujjhvdgw2czgp5fnsfh");
var body = @"{
" + "\n" +
@" ""UserID"":""35"",
" + "\n" +
@" ""ServiceTypeID"":""7""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetLockoutUsers")
.method("GET", null)
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDMwNTAyLCJuYmYiOjE2NTIzNDQxMDJ9.qWnVxq29uKpla3iKpBFXs3AQOhJA39
9Z7o0V8gBHky8")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=s3ra4ujjhvdgw2czgp5fnsfh")
.build();
Response response = client.newCall(request).execute();

815
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "http://localhost:12356/api/UserDetails/GetLockoutUsers"

payload = json.dumps({
"UserID": "35",
"ServiceTypeID": "7"
})
headers = {
'Authorization': 'Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDMwNTAyLCJuYmYiOjE2NTIzNDQxMDJ9.qWnVxq29uKpla3iKpBFXs3AQOhJA39
9Z7o0V8gBHky8',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=s3ra4ujjhvdgw2czgp5fnsfh'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

1.4.3.45 GetPreferencesMaster
This API is used to fetch Preferences Master details .

Request POST

Endpoint /api/UserDetails/GetPreferencesMaster

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

816
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-Apr-2022 05:27:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"UserID": null,
"ServiceTypeID": 223,
"LoggedInUserSessionID": null,
"ServiceTypeDescription": "Amazon Web Services (AWS)",
"UpdatedOn": null,
"UserServicePreference": null,
"IsSetPrefernceAvailable": false
},
{
"UserID": null,
"ServiceTypeID": 140,
"LoggedInUserSessionID": null,
"ServiceTypeDescription": "App ASE Client",
"UpdatedOn": null,
"UserServicePreference": null,
"IsSetPrefernceAvailable": false
}
]
}

Response Time 524 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.45.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response UserID long? This value refers to the id of the user present in
ARCON PAM

ServiceTypeID long? This value refers to the id of the service type


present in ARCON PAM

LoggedInUserSessi long? This value refers to the id of the login session of


onID the ARCON PAM user

817
PAM API Part 1

Type Parameters Data Type Description

ServiceTypeDescri string This value refers to a description of the service


ption type present in ARCON PAM

UpdatedOn DateTime? This value refers to the updated date time of the
user preference

UserServicePrefere UserServicePref This value refers to the User Service Preference


nce erence present in ARCON PAM

IsSetPrefernceAvail boolean This flag refers whether the user have


able Preferences in ARCON PAM
1.4.3.45.2 Code Blocks for '/GetPreferencesMaster'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetPreferencesMaster",
"method": "POST",
"timeout": 0,
"headers": {
"": "",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]MpoE",
"Cookie": "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/


GetPreferencesMaster");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("", "");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]MpoE");
request.AddHeader("Cookie", "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph");
var body = @"";
request.AddParameter("text/plain", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

818
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetPreferencesMaster")
.method("POST", body)
.addHeader("", "")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]MpoE")
.addHeader("Cookie", "ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://localhost:12356/api/UserDetails/GetPreferencesMaster"

payload = ""
headers = {
'': '',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]MpoE',
'Cookie': 'ASP.NET_SessionId=yp00ig3wpxxkzkd5vu3qjuph'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.3.46 GetPreferencesMasterDetails
This API is used to fetch Preferences Master Details using UserId and ServiceTypeID.

Request POST

Endpoint /api/UserDetails/GetPreferencesMasterDetails

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

819
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserID":"35",
"ServiceTypeID":"7"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12-May-2022 01:03:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
"App SmarTerm - Telnet (Local Path)"
]
}

Response Time 39910 milliseconds

Post Endpoint Call None

Supported Features NA
1.4.3.46.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID string This value refers to the id of the ARCON PAM
user. This should be passed in “ “ Eg “123”.

ServiceTypeID string This value refers to the id of the service type


present in ARCON PAM. This should be passed in
“ “ Eg “7”.

Response Result string This value refers to the Service Type present in
the Master Service Types

820
PAM API Part 1

1.4.3.46.2 Code Blocks for '/GetPreferencesMasterDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://localhost:12356/api/UserDetails/GetPreferencesMasterDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5"
},
"data": JSON.stringify({
"UserID": "35",
"ServiceTypeID": "7"
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

821
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://localhost:12356/api/UserDetails/


GetPreferencesMasterDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5");
var body = @"{
" + "\n" +
@" ""UserID"":""35"",
" + "\n" +
@" ""ServiceTypeID"":""7""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"UserID\":\"35\",\r\n
\"ServiceTypeID\":\"7\"\r\n}");
Request request = new Request.Builder()
.url("http://localhost:12356/api/UserDetails/GetPreferencesMasterDetails")
.method("POST", body)
.addHeader("Authorization", "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5")
.build();
Response response = client.newCall(request).execute();

822
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "http://localhost:12356/api/UserDetails/GetPreferencesMasterDetails"

payload = json.dumps({
"UserID": "35",
"ServiceTypeID": "7"
})
headers = {
'Authorization': 'Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiJUc0xPQ3E
yZWdhdjlEQ0xNTVU4RlhIdTdxbkEvaWlmbXY0UGNpa1IvbUcwZnZUbXR0MFhsMjFVNFc3Y0paOUNwIiwiaXN
zIjoiaHR0cDovL2xvY2FsaG9zdDo4ODkwLyIsImF1ZCI6ImMwNGMzZWQ3N2ExOTQwNGNhNGQ4YmI4ZGIwZjJ
mZjMzIiwiZXhwIjoxNjUyNDE3NjU1LCJuYmYiOjE2NTIzMzEyNTV9.yKvQwdkEyzVtUcaeDjN8WFvk8xzPwf
KfEgsgJwnU8x4',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=yoodtjefo0xpvdiqighg4yw5'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1.4.4 UserDetailsV4
1.4.4.1 GetAssignedServiceListToUsrv4
This API is used to fetch all services mapped to ARCON PAM users by providing UserId.

Type of Request POST

Endpoint /api/UserDetails/GetAssignedServiceListToUsr

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 4 Not Applicable -

823
PAM API Part 1

Body
{
"UserId":35
}

824
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Mar/2022 01:04:55",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "247 Records Found",
"Result": [
{
"ServiceId": "10448",
"IpAddress": "10.10.2.84",
"HostName": "10.10.2.84",
"ServiceUserName": "rakhi.gurbani",
"Port": "1434",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/05/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "C:\\Program Files (x86)\\Microsoft SQL
Server Management Studio 18\\Common7\\IDE\\Ssms.exe",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 0,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 39,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 14
},
{
"ServiceId": "10448",
"IpAddress": "10.10.2.84",
"HostName": "10.10.2.84",
"ServiceUserName": "rakhi.gurbani",
"Port": "1434",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/05/2058",
"Description1": "",
"Description2": "",
"Description3": "",

825
PAM API Part 1

"Parameter": "C:\\Program Files (x86)\\Microsoft SQL


Server Management Studio 18\\Common7\\IDE\\Ssms.exe",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 0,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 39,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 14
},
{
"ServiceId": "10448",
"IpAddress": "10.10.2.84",
"HostName": "10.10.2.84",
"ServiceUserName": "rakhi.gurbani",
"Port": "1434",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/05/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "C:\\Program Files (x86)\\Microsoft SQL
Server Management Studio 18\\Common7\\IDE\\Ssms.exe",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 0,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 39,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 14
},
{
"ServiceId": "10448",
"IpAddress": "10.10.2.84",
"HostName": "10.10.2.84",
"ServiceUserName": "rakhi.gurbani",
"Port": "1434",
"ServiceType": "MS SQL EM - RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 517,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/05/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "C:\\Program Files (x86)\\Microsoft SQL
Server Management Studio 18\\Common7\\IDE\\Ssms.exe",

826
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 0,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 39,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 14
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 7,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 10,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

827
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 309,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 311,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

828
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 312,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 313,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

829
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 510,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 512,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

830
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 516,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 302,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

831
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

832
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 502,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 504,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",

833
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "74437",
"IpAddress": "10.10.0.64",
"HostName": "WIN2K8R2ENT_SQL",
"ServiceUserName": "ABHI",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "WIN2K8R2ENT_SQL",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "TT",
"Description2": "TT",
"Description3": "TT",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 1
},
{
"ServiceId": "83127",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "ServiceTestUser8150",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "F3",
"Description2": "F2",
"Description3": "F1",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",

834
PAM API Part 1

"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "108212",
"IpAddress": "10.10.0.126",
"HostName": "ARCOSDEV2",
"ServiceUserName": "TESTPRATAP",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.126",
"LOBID": 6,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 1,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "113442",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.204",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><6STEPS>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 10,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},

835
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 508,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 4,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

836
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 64,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 65,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

837
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 77,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 78,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

838
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 301,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

839
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 5,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

840
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 127,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},

841
PAM API Part 1

{
"ServiceId": "114164",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "oracle",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 3,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1":
"MUMEINOKIAOSSNETACTOSS1110.10.0.69SSH",
"Description2": "",
"Description3": "",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114239",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 31
},
{
"ServiceId": "114239",

842
PAM API Part 1

"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 7,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 31
},
{
"ServiceId": "114239",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 31
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",

843
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 7,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 10,

844
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 5,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

845
PAM API Part 1

"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 520,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

846
PAM API Part 1

"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 510,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 512,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",

847
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 516,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 517,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",

848
PAM API Part 1

"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 518,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 519,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",

849
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 302,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 2,

850
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 502,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 504,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

851
PAM API Part 1

"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 508,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 4,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

852
PAM API Part 1

"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 64,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 65,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",

853
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 77,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 78,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114113",

854
PAM API Part 1

"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "manoj",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114113",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "manoj",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114365",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",

855
PAM API Part 1

"ServiceType": "Oracle QA",


"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "<CMD>",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 12
},
{
"ServiceId": "114365",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "Oracle QA",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "<CMD>",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 12
},
{
"ServiceId": "113442",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.204",
"LOBID": 1,
"ServerGroupId": 2,

856
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><6STEPS>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 10,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114177",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName": "RDP999",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "MYDOMAIN",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114177",
"IpAddress": "99.99.99.98",
"HostName": "MYHOSTNAME",
"ServiceUserName": "RDP999",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "MYDOMAIN",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

857
PAM API Part 1

"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114329",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName": "mahesh",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DA1",
"Description2": "DA1",
"Description3": "DA1",
"Parameter": "<LADMUS>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 301,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

858
PAM API Part 1

"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 309,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 311,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",

859
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 312,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114329",
"IpAddress": "10.10.0.132",
"HostName": "10.10.0.132",
"ServiceUserName": "mahesh",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DA1",
"Description2": "DA1",
"Description3": "DA1",
"Parameter": "<LADMUS>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{
"ServiceId": "114112",

860
PAM API Part 1

"IpAddress": "10.10.5.40",
"HostName": "10.10.5.40",
"ServiceUserName": "ldapusers",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.40",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "ldapuser desc 1",
"Description2": "ldapuser desc 2",
"Description3": "ldapuser desc 3",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114112",
"IpAddress": "10.10.5.40",
"HostName": "10.10.5.40",
"ServiceUserName": "ldapusers",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.5.40",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "ldapuser desc 1",
"Description2": "ldapuser desc 2",
"Description3": "ldapuser desc 3",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114112",
"IpAddress": "10.10.5.40",
"HostName": "10.10.5.40",
"ServiceUserName": "ldapusers",
"Port": "22",

861
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.5.40",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "ldapuser desc 1",
"Description2": "ldapuser desc 2",
"Description3": "ldapuser desc 3",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114372",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "DAVID",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20",
"LOBID": 2,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 0,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114424",
"IpAddress": "10.10.0.500",
"HostName": "10.10.0.500",
"ServiceUserName": "NV",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "TESTDOMAIN",
"LOBID": 1,
"ServerGroupId": 6,

862
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "test1",
"Description2": "test2",
"Description3": "test3",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 9
},
{
"ServiceId": "114424",
"IpAddress": "10.10.0.500",
"HostName": "10.10.0.500",
"ServiceUserName": "NV",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "TESTDOMAIN",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "test1",
"Description2": "test2",
"Description3": "test3",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 9
},
{
"ServiceId": "114163",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "WIN_AUTH",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

863
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 313,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114303",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 3,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty><NSG>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

864
PAM API Part 1

"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114318",
"IpAddress": "172.31.21.242",
"HostName": "172.31.21.242",
"ServiceUserName": "administrator",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "172.31.21.242",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114318",
"IpAddress": "172.31.21.242",
"HostName": "172.31.21.242",
"ServiceUserName": "administrator",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "172.31.21.242",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",

865
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114427",
"IpAddress": "10.10.2.82",
"HostName": "10.10.2.82",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.82",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "AA",
"Description2": "AA",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114427",
"IpAddress": "10.10.2.82",
"HostName": "10.10.2.82",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.82",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "AA",
"Description2": "AA",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114428",

866
PAM API Part 1

"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "AA",
"Description2": "AA",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114428",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "AA",
"Description2": "AA",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114430",
"IpAddress": "10.10.0.134",
"HostName": "10.10.0.134",
"ServiceUserName": "root",
"Port": "22",

867
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.0.134",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114430",
"IpAddress": "10.10.0.134",
"HostName": "10.10.0.134",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.134",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114313",
"IpAddress": "10.10.2.88",
"HostName": "10.10.2.88",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.88",
"LOBID": 1,
"ServerGroupId": 6,

868
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114313",
"IpAddress": "10.10.2.88",
"HostName": "10.10.2.88",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.88",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114361",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "PROMPT_USER",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.10",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

869
PAM API Part 1

"Description3": "DA",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{
"ServiceId": "114361",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "PROMPT_USER",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.10",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<DATA><BORDERCOLOR>#00ff00</
BORDERCOLOR><TITLECOLOR>#ff0000</TITLECOLOR></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{
"ServiceId": "114263",
"IpAddress": "10.10.0.2",
"HostName": "10.10.0.2",
"ServiceUserName": "admin",
"Port": "6000",
"ServiceType": "App Huawei LMT Client",
"ServiceDomain": "10.10.0.2",
"LOBID": 6,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "UGW9811",

870
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 1,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 95
},
{
"ServiceId": "114411",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName": "[email protected]",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://www.oracle.com/in/cloud/sign-
in.html<AUN><AUP><VAL>arcontest<NATIVE><CUC>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114411",
"IpAddress": "10.10.0.6",
"HostName": "10.10.0.6",
"ServiceUserName": "[email protected]",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.6",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://www.oracle.com/in/cloud/sign-
in.html<AUN><AUP><VAL>arcontest<NATIVE><CUC>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

871
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114577",
"IpAddress": "13.126.64.185",
"HostName": "13.126.64.185",
"ServiceUserName": "ec2-user",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.126.64.185",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "Testing SSHkey",
"Description2": "Do no use for any other test",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114371",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><tunnel>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

872
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114371",
"IpAddress": "10.10.2.20",
"HostName": "10.10.2.20",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.20",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><tunnel>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114421",
"IpAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "testdesc",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 9
},
{
"ServiceId": "114421",

873
PAM API Part 1

"IpAddress": "10.10.10.20",
"HostName": "TESTHOST",
"ServiceUserName": "testuser",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "2",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "testdesc",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 9
},
{
"ServiceId": "114163",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "WIN_AUTH",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114247",
"IpAddress": "10.10.1.183",
"HostName": "LOCALHOST",
"ServiceUserName": "kaiser",
"Port": "22",

874
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "LOCALDOMAIN",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114247",
"IpAddress": "10.10.1.183",
"HostName": "LOCALHOST",
"ServiceUserName": "kaiser",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "LOCALDOMAIN",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114426",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175",
"LOBID": 1,
"ServerGroupId": 6,

875
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "A",
"Description2": "A",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114426",
"IpAddress": "10.10.0.175",
"HostName": "10.10.0.175",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.175",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "A",
"Description2": "A",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114431",
"IpAddress": "10.10.1.53",
"HostName": "10.10.1.53",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.53",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

876
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114431",
"IpAddress": "10.10.1.53",
"HostName": "10.10.1.53",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.53",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "Varun.Gupta",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

877
PAM API Part 1

"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "Varun.Gupta",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "Varun.Gupta",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 5,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",

878
PAM API Part 1

"ServiceTypeId": 1
},
{
"ServiceId": "114149",
"IpAddress": "10.10.0.150",
"HostName": "10.10.0.150",
"ServiceUserName": "Varun.Gupta",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114156",
"IpAddress": "10.10.1.49",
"HostName": "10.10.1.49",
"ServiceUserName": "root1",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.49",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "asd",
"Description2": "asd",
"Description3": "asd",
"Parameter": "<pty>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114168",

879
PAM API Part 1

"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.214",
"LOBID": 1,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114168",
"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.214",
"LOBID": 1,
"ServerGroupId": 5,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114168",
"IpAddress": "10.10.1.214",
"HostName": "10.10.1.214",
"ServiceUserName": "root",
"Port": "22",

880
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.1.214",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<pty>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114253",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "abc",
"Port": "22",
"ServiceType": "App Cyberduck",
"ServiceDomain": "10.10.0.10",
"LOBID": 6,
"ServerGroupId": 36,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "<FILETRANSFERPROTOCOL>",
"Description3": "<AMAZONS3>",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 1,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 193
},
{
"ServiceId": "114253",
"IpAddress": "10.10.0.10",
"HostName": "10.10.0.10",
"ServiceUserName": "abc",
"Port": "22",
"ServiceType": "App Cyberduck",
"ServiceDomain": "10.10.0.10",
"LOBID": 6,
"ServerGroupId": 309,

881
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "<FILETRANSFERPROTOCOL>",
"Description3": "<AMAZONS3>",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 1,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 193
},
{
"ServiceId": "114321",
"IpAddress": "10.10.1.60",
"HostName": "10.10.1.60",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.60",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114321",
"IpAddress": "10.10.1.60",
"HostName": "10.10.1.60",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.60",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

882
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114454",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "shabbir",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114481",
"IpAddress": "13.232.49.179",
"HostName": "13.232.49.179",
"ServiceUserName": "shabbir_sshkey",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.232.49.179",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "Do Not change Password",
"Description2": "Test",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

883
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114481",
"IpAddress": "13.232.49.179",
"HostName": "13.232.49.179",
"ServiceUserName": "shabbir_sshkey",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.232.49.179",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "Do Not change Password",
"Description2": "Test",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114583",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "JNKEINOKIAOSSNETACTOSS110.10.0.69SSH",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY><ADM>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",

884
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114583",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "JNKEINOKIAOSSNETACTOSS110.10.0.69SSH",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY><ADM>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114239",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "uat",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "sysdba",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 31
},
{
"ServiceId": "114359",

885
PAM API Part 1

"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "shabbir",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><sudo-su>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114359",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "shabbir",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><sudo-su>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114359",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "shabbir",
"Port": "22",

886
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY><sudo-su>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114414",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "APREINOKIAOSSNETACTOSS110.10.0.38SSH",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114414",
"IpAddress": "10.10.0.38",
"HostName": "10.10.0.38",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.38",
"LOBID": 1,
"ServerGroupId": 2,

887
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "APREINOKIAOSSNETACTOSS110.10.0.38SSH",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114441",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName": "administrator",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<WADSSH><WAL>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114441",
"IpAddress": "10.10.1.9",
"HostName": "10.10.1.9",
"ServiceUserName": "administrator",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "ATSTESTDC",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

888
PAM API Part 1

"Description3": "",
"Parameter": "<WADSSH><WAL>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "113787",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114348",
"IpAddress": "10.10.1.87",
"HostName": "10.10.1.87",
"ServiceUserName": "neelb2",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.87",
"LOBID": 11,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

889
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114348",
"IpAddress": "10.10.1.87",
"HostName": "10.10.1.87",
"ServiceUserName": "neelb2",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.87",
"LOBID": 11,
"ServerGroupId": 503,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114150",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.204",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",

890
PAM API Part 1

"ServiceTypeId": 140
},
{
"ServiceId": "114150",
"IpAddress": "10.10.0.204",
"HostName": "10.10.0.204",
"ServiceUserName": "shabbir_sshk",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.204",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 140
},
{
"ServiceId": "114255",
"IpAddress": "10.10.0.11",
"HostName": "10.10.0.11",
"ServiceUserName": "admin",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.11",
"LOBID": 6,
"ServerGroupId": 312,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://10.10.0.11<AUN><AUP><AWB>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 1,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114575",

891
PAM API Part 1

"IpAddress": "15.207.84.91",
"HostName": "15.207.84.91",
"ServiceUserName": "arconadmin",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "15.207.84.91",
"LOBID": 1,
"ServerGroupId": 127,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114575",
"IpAddress": "15.207.84.91",
"HostName": "15.207.84.91",
"ServiceUserName": "arconadmin",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "15.207.84.91",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114454",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "shabbir",
"Port": "22",

892
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114455",
"IpAddress": "10.10.0.0",
"HostName": "10.10.0.0",
"ServiceUserName": "Neelima",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.0",
"LOBID": 8,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://www.facebook.com/
<AUN><AUP><ASF><NATIVE><CUC>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114151",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,

893
PAM API Part 1

"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 140
},
{
"ServiceId": "114151",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 140
},
{
"ServiceId": "114151",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",

894
PAM API Part 1

"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 140
},
{
"ServiceId": "114151",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App WinSCP",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<SFTP>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 140
},
{
"ServiceId": "114271",
"IpAddress": "10.10.2.97",
"HostName": "10.10.2.97",
"ServiceUserName": "[email protected]",
"Port": "1521",
"ServiceType": "App PLSQL Developer - Oracle",
"ServiceDomain": "10.10.2.97",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "XE",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "SYSDBA<DATA><FWH> - PL/SQL Developer</
FWH></DATA>",

895
PAM API Part 1

"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 72
},
{
"ServiceId": "114271",
"IpAddress": "10.10.2.97",
"HostName": "10.10.2.97",
"ServiceUserName": "[email protected]",
"Port": "1521",
"ServiceType": "App PLSQL Developer - Oracle",
"ServiceDomain": "10.10.2.97",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "XE",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "SYSDBA<DATA><FWH> - PL/SQL Developer</
FWH></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 72
},
{
"ServiceId": "114583",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "JNKEINOKIAOSSNETACTOSS110.10.0.69SSH",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY><ADM>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 19,

896
PAM API Part 1

"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 3,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114608",
"IpAddress": "12.12.12.12",
"HostName": "12.12.12.12",
"ServiceUserName": "ssh user",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "12.12.12.12",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114631",
"IpAddress": "192.168.226.129",
"HostName": "192.168.226.129",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "192.168.226.129",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7

897
PAM API Part 1

},
{
"ServiceId": "114658",
"IpAddress": "10.10.1.143",
"HostName": "10.10.1.143",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.143",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114271",
"IpAddress": "10.10.2.97",
"HostName": "10.10.2.97",
"ServiceUserName": "[email protected]",
"Port": "1521",
"ServiceType": "App PLSQL Developer - Oracle",
"ServiceDomain": "10.10.2.97",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "XE",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "SYSDBA<DATA><FWH> - PL/SQL Developer</
FWH></DATA>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 72
},
{
"ServiceId": "114635",

898
PAM API Part 1

"IpAddress": "10.10.1.139",
"HostName": "10.10.1.139",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.139",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114637",
"IpAddress": "10.10.1.140",
"HostName": "10.10.1.140",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.140",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114638",
"IpAddress": "10.10.1.18",
"HostName": "10.10.1.18",
"ServiceUserName": "root",
"Port": "22",

899
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.1.18",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114577",
"IpAddress": "13.126.64.185",
"HostName": "13.126.64.185",
"ServiceUserName": "ec2-user",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "13.126.64.185",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "Testing SSHkey",
"Description2": "Do no use for any other test",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114579",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 305,

900
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DO NOT CHANGE PASSWORD",
"Description2": "checked allow password",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114579",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DO NOT CHANGE PASSWORD",
"Description2": "checked allow password",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114579",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DO NOT CHANGE PASSWORD",
"Description2": "checked allow password",

901
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114579",
"IpAddress": "10.10.0.55",
"HostName": "10.10.0.55",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.55",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DO NOT CHANGE PASSWORD",
"Description2": "checked allow password",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114610",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

902
PAM API Part 1

"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114610",
"IpAddress": "10.10.0.180",
"HostName": "10.10.0.180",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.180",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114680",
"IpAddress": "10.10.0.142",
"HostName": "10.10.0.142",
"ServiceUserName": "satyatest",
"Port": "22",
"ServiceType": "AIX",
"ServiceDomain": "10.10.0.142",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "11t",
"Description2": "11",
"Description3": "11",
"Parameter": "11",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

903
PAM API Part 1

"ServiceTypeId": 9
},
{
"ServiceId": "114670",
"IpAddress": "10.10.1.33",
"HostName": "10.10.1.33",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.33",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114672",
"IpAddress": "10.10.0.184",
"HostName": "10.10.0.184",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.184",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114704",

904
PAM API Part 1

"IpAddress": "10.10.1.126",
"HostName": "10.10.1.126",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.126",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114706",
"IpAddress": "10.11.12.13",
"HostName": "10.11.12.13",
"ServiceUserName": "NV",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "NV",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114660",
"IpAddress": "65.0.176.40",
"HostName": "65.0.176.40",
"ServiceUserName": "testuser",
"Port": "6622",

905
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "65.0.176.40",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114660",
"IpAddress": "65.0.176.40",
"HostName": "65.0.176.40",
"ServiceUserName": "testuser",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "65.0.176.40",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114692",
"IpAddress": "10.11.12.14",
"HostName": "NV",
"ServiceUserName": "NV",
"Port": "2222",
"ServiceType": "AIX",
"ServiceDomain": "10.11.12.14",
"LOBID": 1,
"ServerGroupId": 305,

906
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 9
},
{
"ServiceId": "114717",
"IpAddress": "10.10.2.28",
"HostName": "10.10.2.28",
"ServiceUserName": "arcon",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.2.28",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY><GUARD>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114582",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "shailesh",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "MUMEINOKIAOSSNETACTOSS110.10.0.69SSH",
"Description2": "",

907
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 1,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114632",
"IpAddress": "10.10.1.24",
"HostName": "10.10.1.24",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.24",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114648",
"IpAddress": "10.10.1.118",
"HostName": "10.10.1.118",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.118",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

908
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114657",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114711",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

909
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114878",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "PARAM.SANNAKKE",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 26,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114878",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "PARAM.SANNAKKE",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 26,
"ServerGroupId": 123,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114878",

910
PAM API Part 1

"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "PARAM.SANNAKKE",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 26,
"ServerGroupId": 319,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114878",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "PARAM.SANNAKKE",
"Port": "3389",
"ServiceType": "Windows RDP",
"ServiceDomain": "ANBGLOBALDC",
"LOBID": 26,
"ServerGroupId": 514,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114878",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "PARAM.SANNAKKE",
"Port": "3389",

911
PAM API Part 1

"ServiceType": "Windows RDP",


"ServiceDomain": "ANBGLOBALDC",
"LOBID": 26,
"ServerGroupId": 515,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114928",
"IpAddress": "100.10.1.1",
"HostName": "AZURE",
"ServiceUserName": "[email protected]",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "AZURE",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://login.microsoftonline.com/
organizations/oauth2/v2.0/authorize?client_id=c44b4083-3bb0-49c1-
b47d-974e53cbdf3c&response_type=code%20id_token&scope=https%3A%2F%
2Fmanagement.core.windows.net%2F%2Fuser_impersonation%20openid%20e
mail%20profile&state=OpenIdConnect.AuthenticationProperties%3DRp9E
rCkfjGBaIWm3co8jDVk4PxfKfwvHEi8c4eT__rcbkr_XSdDlZCpWWQHihdhVqZlp9w
DkUvlyTlduUn4zSs1q_scY6Ye2SIMUjiv5Bgh0x_lBKf7aiN3rVjLzlaKSDBXR-
ScY6oEC_S8p57taud7bSP9Npw7BtC7T9buuA7MlENa-
h7KXsv_LsdcGAeGOTXWm7jRfcbjR_ueZd4T06MFbSIXJTm-
rdQJuuZnRwiCRGadEGFMRVnkk9DsftY6ahZHIjciRRY5arHBxngM3XNFswY-
YVkB_D-AwMzx7sR8fxOi-bjC-
nKmAtI_lOceK&response_mode=form_post&nonce=637509705102678378.ZTk2
YmZkMDctNzlkNy00Nzc2LTg3NDEtNGY5MjNhM2VhYTYyZGFlNTk4Y2YtODFkMC00ZG
Y0LWE2OWQtMWZmYWVmYTBjZTRi&redirect_uri=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fportal.azure
.com%2Fsignin%2Findex%2F&site_id=501430&client-request-
id=e262db98-c4e9-41aa-889b-d315b9bd4c5c&x-client-SKU=ID_NET45&x-
client-ver=5.3.0.0<AUN><AUP><ASF><NATIVE><CUC><AZUREPWD>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,

912
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114733",
"IpAddress": "10.10.1.19",
"HostName": "10.10.1.19",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.19",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114733",
"IpAddress": "10.10.1.19",
"HostName": "10.10.1.19",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.19",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

913
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114733",
"IpAddress": "10.10.1.19",
"HostName": "10.10.1.19",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.19",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114792",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "user1",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114792",

914
PAM API Part 1

"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "user1",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114860",
"IpAddress": "10.10.0.127",
"HostName": "10.10.0.127",
"ServiceUserName": "ssouser",
"Port": "80",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.127",
"LOBID": 25,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114883",
"IpAddress": "10.10.0.27",
"HostName": "10.10.0.127",
"ServiceUserName": "TESTSSOUSER",
"Port": "443",

915
PAM API Part 1

"ServiceType": "App Web Browser",


"ServiceDomain": "10.10.0.27",
"LOBID": 27,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114940",
"IpAddress": "52.183.165.38",
"HostName": "VM3NILAY",
"ServiceUserName": "user20",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "52.183.165.38",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114657",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17",
"LOBID": 1,
"ServerGroupId": 2,

916
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114693",
"IpAddress": "10.10.1.244",
"HostName": "10.10.1.244",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.244",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114709",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

917
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114709",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114709",
"IpAddress": "10.10.1.17",
"HostName": "10.10.1.17",
"ServiceUserName": "vishal",
"Port": "6622",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.17",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

918
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114718",
"IpAddress": "10.10.0.130",
"HostName": "10.10.0.130",
"ServiceUserName": "satyendra",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "TEST",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114732",
"IpAddress": "10.10.1.34",
"HostName": "10.10.1.34",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.34",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

919
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114732",
"IpAddress": "10.10.1.34",
"HostName": "10.10.1.34",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.34",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114732",
"IpAddress": "10.10.1.34",
"HostName": "10.10.1.34",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.34",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114734",

920
PAM API Part 1

"IpAddress": "10.10.1.4",
"HostName": "10.10.1.4",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.4",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "TRCVER",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114734",
"IpAddress": "10.10.1.4",
"HostName": "10.10.1.4",
"ServiceUserName": "arcon",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.4",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "TRCVER",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114734",
"IpAddress": "10.10.1.4",
"HostName": "10.10.1.4",
"ServiceUserName": "arcon",
"Port": "22",

921
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": "10.10.1.4",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "TRCVER",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114741",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "NISARG",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114741",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "NISARG",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 0,

922
PAM API Part 1

"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114741",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "NISARG",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114743",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "DAVID",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

923
PAM API Part 1

"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114743",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "DAVID",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 0,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114743",
"IpAddress": "10.10.0.89",
"HostName": "10.10.0.89",
"ServiceUserName": "DAVID",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.89",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

924
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 0,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114832",
"IpAddress": "10.10.1.112",
"HostName": "10.10.1.112",
"ServiceUserName": "arcon",
"Port": "2222",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.112",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DIRECTEST",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114832",
"IpAddress": "10.10.1.112",
"HostName": "10.10.1.112",
"ServiceUserName": "arcon",
"Port": "2222",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.112",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DIRECTEST",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",

925
PAM API Part 1

"ServiceTypeId": 7
},
{
"ServiceId": "114866",
"IpAddress": "10.10.0.3",
"HostName": "10.10.0.3",
"ServiceUserName": "test",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "10.10.0.3",
"LOBID": 25,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "https://portal.azure.com/
<AUN><AUP><NATIVE><CUC>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114877",
"IpAddress": "10.10.0.69",
"HostName": "10.10.0.69",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "10.10.0.69",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "DA1",
"Description2": "DA1",
"Description3": "DA1",
"Parameter": "<ADM>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{

926
PAM API Part 1

"ServiceId": "114909",
"IpAddress": "10.10.0.134",
"HostName": "10.10.0.134",
"ServiceUserName": "Swara",
"Port": "9443",
"ServiceType": "Windows RDP",
"ServiceDomain": "10.10.0.134",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114934",
"IpAddress": "52.183.165.38",
"HostName": "VM3NILAY",
"ServiceUserName": "user3",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "52.183.165.38",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114736",
"IpAddress": "10.10.0.82",
"HostName": "10.10.0.82",
"ServiceUserName": "root",

927
PAM API Part 1

"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.82",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<PTY>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114755",
"IpAddress": "123.123.123.123",
"HostName": "123.123.123.123",
"ServiceUserName": "qweqwe",
"Port": "22",
"ServiceType": "App FileZilla",
"ServiceDomain": "123.123.123.123",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 135
},
{
"ServiceId": "114756",
"IpAddress": "10.10.1.4",
"HostName": "10.10.1.4",
"ServiceUserName": "root",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.1.4",
"LOBID": 1,

928
PAM API Part 1

"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114905",
"IpAddress": "10.10.0.135",
"HostName": "10.10.0.135",
"ServiceUserName": "swara",
"Port": "9443",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.135",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114906",
"IpAddress": "10.10.0.136",
"HostName": "10.10.0.136",
"ServiceUserName": "swara",
"Port": "9443",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.136",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",

929
PAM API Part 1

"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "1",
"ServiceTypeId": 7
},
{
"ServiceId": "114939",
"IpAddress": "104.211.176.154",
"HostName": "VM3NILAY",
"ServiceUserName": "user10",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "104.211.176.154",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114939",
"IpAddress": "104.211.176.154",
"HostName": "VM3NILAY",
"ServiceUserName": "user10",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "104.211.176.154",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "",
"AllowPasswordChange": "1",

930
PAM API Part 1

"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114953",
"IpAddress": "10.10.0.23",
"HostName": "CHETAN",
"ServiceUserName": "CHETAN",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": ".COM",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114945",
"IpAddress": "amazon.com",
"HostName": "100.10.1.10",
"ServiceUserName": "[email protected]",
"Port": "443",
"ServiceType": "App Web Browser",
"ServiceDomain": "100.10.1.10",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "https://
330615228918.signin.aws.amazon.com/
console<AUN>username<AUP>password<ASF>signin_button<NATIVE><CUC><S
BU>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,

931
PAM API Part 1

"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 36
},
{
"ServiceId": "114948",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "neelima.jain",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<importexportauth>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 2
},
{
"ServiceId": "114948",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "neelima.jain",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56",
"LOBID": 1,
"ServerGroupId": 7,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<importexportauth>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",

932
PAM API Part 1

"ServiceTypeId": 2
},
{
"ServiceId": "114949",
"IpAddress": "52.183.165.38",
"HostName": "VM3NILAY",
"ServiceUserName": "user101",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "52.183.165.38",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114949",
"IpAddress": "52.183.165.38",
"HostName": "VM3NILAY",
"ServiceUserName": "user101",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "52.183.165.38",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<PTY>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114958",

933
PAM API Part 1

"IpAddress": "10.0.0.1",
"HostName": "10.0.0.1",
"ServiceUserName": "Test",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114958",
"IpAddress": "10.0.0.1",
"HostName": "10.0.0.1",
"ServiceUserName": "Test",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH",
"LOBID": 1,
"ServerGroupId": 6,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114953",
"IpAddress": "10.10.0.23",
"HostName": "CHETAN",
"ServiceUserName": "CHETAN",
"Port": "22",

934
PAM API Part 1

"ServiceType": "SSH LINUX",


"ServiceDomain": ".COM",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
},
{
"ServiceId": "114955",
"IpAddress": "10.10.1.183",
"HostName": "10.10.1.183",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.1.183",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "sysdba",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<VER>14.1",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 31
},
{
"ServiceId": "114955",
"IpAddress": "10.10.1.183",
"HostName": "10.10.1.183",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.1.183",
"LOBID": 1,
"ServerGroupId": 7,

935
PAM API Part 1

"DBInstanceName": "sysdba",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<VER>14.1",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 31
},
{
"ServiceId": "114955",
"IpAddress": "10.10.1.183",
"HostName": "10.10.1.183",
"ServiceUserName": "sys",
"Port": "1521",
"ServiceType": "App Toad - Oracle",
"ServiceDomain": "10.10.1.183",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "sysdba",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<VER>14.1",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 31
},
{
"ServiceId": "114948",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "neelima.jain",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56",
"LOBID": 1,
"ServerGroupId": 11,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",

936
PAM API Part 1

"Description3": "DA",
"Parameter": "<importexportauth>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 2
},
{
"ServiceId": "114948",
"IpAddress": "10.10.0.56",
"HostName": "10.10.0.56",
"ServiceUserName": "neelima.jain",
"Port": "1434",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.10.0.56",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "10.10.0.56",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "DA",
"Parameter": "<importexportauth>",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": 1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 2
},
{
"ServiceId": "114958",
"IpAddress": "10.0.0.1",
"HostName": "10.0.0.1",
"ServiceUserName": "Test",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH",
"LOBID": 1,
"ServerGroupId": 3,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,

937
PAM API Part 1

"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114958",
"IpAddress": "10.0.0.1",
"HostName": "10.0.0.1",
"ServiceUserName": "Test",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH",
"LOBID": 1,
"ServerGroupId": 4,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 1
},
{
"ServiceId": "114958",
"IpAddress": "10.0.0.1",
"HostName": "10.0.0.1",
"ServiceUserName": "Test",
"Port": "22",
"ServiceType": "Windows RDP",
"ServiceDomain": "ARCOSAUTH",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 6,
"UseGlobalPasswordPolicy": "0",
"PasswordPolicyId": 2,
"AllowScheduledPasswordChange": "0",

938
PAM API Part 1

"ServiceTypeId": 1
},
{
"ServiceId": "114941",
"IpAddress": "10.3.0.5",
"HostName": "10.3.0.5",
"ServiceUserName":
"[email protected]",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.3.0.5",
"LOBID": 1,
"ServerGroupId": 1,
"DBInstanceName": "10.3.0.5",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<AZURE>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 2
},
{
"ServiceId": "114941",
"IpAddress": "10.3.0.5",
"HostName": "10.3.0.5",
"ServiceUserName":
"[email protected]",
"Port": "1433",
"ServiceType": "MS SQL EM - Local",
"ServiceDomain": "10.3.0.5",
"LOBID": 1,
"ServerGroupId": 305,
"DBInstanceName": "10.3.0.5",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "<AZURE>",
"AllowPasswordChange": "1",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 2
},

939
PAM API Part 1

{
"ServiceId": "114950",
"IpAddress": "10.10.1.58",
"HostName": "10.10.1.58",
"ServiceUserName": "arconqa",
"Port": "5900",
"ServiceType": "App UNIX GUI",
"ServiceDomain": "10.10.1.58",
"LOBID": 1,
"ServerGroupId": 2,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "",
"Description2": "",
"Description3": "",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 37
},
{
"ServiceId": "114952",
"IpAddress": "10.10.0.699",
"HostName": "10.10.0.699",
"ServiceUserName": "ServiceTestUser8150",
"Port": "22",
"ServiceType": "SSH LINUX",
"ServiceDomain": "10.10.0.699",
"LOBID": 1,
"ServerGroupId": 517,
"DBInstanceName": "",
"ValidTilldate": "01/01/2058",
"Description1": "F3",
"Description2": "F2",
"Description3": "F1",
"Parameter": "",
"AllowPasswordChange": "0",
"Minimumpasswordage": 0,
"Maximumpasswordage": 60,
"UseGlobalPasswordPolicy": "1",
"PasswordPolicyId": -1,
"AllowScheduledPasswordChange": "0",
"ServiceTypeId": 7
}
]
}

Response Time 1806 milliseconds

940
PAM API Part 1

Post Endpoint Call None

Supported Features NA
1.4.4.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId int This value refers to the id of the user present in
ARCON PAM

ServiceId int This value refers to the id of the service assigned


to the ARCON PAM user

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

Port int This value refers to the port of the service


present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

ServiceDomain string This value refers to the domain of the service


present in ARCON PAM

LOBId int This value refers to the id of LOB under which the
service belongs in ARCON PAM

ServerGroupId int This value refers to the id of Group under which


Response service belongs in ARCON PAM

DBInstanceName string This value refers to the instance of the service


present in ARCON PAM

ValidTillDate datetime This value refers to the service validity time

Description1 string This value refers to the description 1 specify to


that service

Description2 string This value refers to the description 2 specify to


that service

Description3 string This value refers to the description 3 specify to


that service

parameter string

941
PAM API Part 1

Type Parameters Data Type Description

AllowPasswordCha Boolean This value refers to whether the password is


nge allowed to change

MinimumPassword string This value refers to the minimum password


Change validity

MaximumPassword string This value refers to the maximum password


Change validity

UserGlobalPasswor boolean This value refers to whether a global password


dPolicy policy should be used for this service password

PasswordPolicyId int

AllowScheduledPas bit
swordChange

ServiceTypeId string This value refers to the id of the service type


present in ARCON PAM
1.4.4.1.2 Code Blocks for ‘/GetAssignedServiceListToUsr’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8",
"x-PAM-Version":4
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

942
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserDetails/


GetAssignedServiceListToUsr");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddHeader("x-PAM-Version":4)
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.addHeader("x-PAM-Version":4)
.build();
Response response = client.newCall(request).execute();

943
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserDetails/GetAssignedServiceListToUsr"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
'x-PAM-Version':'4'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.5 UserLabels
This is used to fetch the grouping structure/ tagging of services for a particular User from the database. User
grouping structure details entered by the user are stored in ARCOS database, these API’s can be called to
retrieve/update the grouping structure details.
1.5.1 GetUserLabels
This API is used to fetch the grouping structure/ tagging of services for a particular User.

Type of Request POST

Endpoint /api/UserLabels/GetUserLabels

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

944
PAM API Part 1

Body
{
"UserID":35
}

945
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Jun/2020 10:20:07",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Operation Successfull",
"Result": {
"UserID": 35,
"UserLabels": [
{
"id": "0",
"type": "-1",
"name": "",
"parentId": "0",
"serviceId": "0",
"order": "0"
},
{
"id": "1",
"type": "0",
"name": "XYZ Bank",
"parentId": "0",
"serviceId": "0",
"order": "1"
},
{
"id": "2",
"type": "1",
"name": "",
"parentId": "1",
"serviceId": "114111",
"order": "1"
},
{
"id": "3",
"type": "0",
"name": "DC2",
"parentId": "0",
"serviceId": "0",
"order": "1"
},
{
"id": "5",
"type": "1",
"name": "",
"parentId": "3",
"serviceId": "114111",
"order": "1"

946
PAM API Part 1

},
{
"id": "7",
"type": "0",
"name": "RT3",
"parentId": "0",
"serviceId": "0",
"order": "1"
},
{
"id": "8",
"type": "1",
"name": "",
"parentId": "7",
"serviceId": "114111",
"order": "1"
}
]
}
}

Response Time 275 milliseconds

Post Endpoint Call None

Supported Features NA

1.5.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID int This value refers to the id of the user present in
ARCON PAM

Response UserID int This value refers to the id of the user present in
ARCON PAM

UserLabels Array of Object This value consist of user labels like:


[ { "id": "0", "type": "-1", "name": "", "parentId":
"0", "serviceId": "0", "order": "0" } ]

947
PAM API Part 1

1.5.1.2 Code Blocks for ‘/GetUserLabels’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserLabels/GetUserLabels",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": "{\n\tUserId:35\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserLabels/


GetUserLabels");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\tUserId:35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

948
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tUserId:35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserLabels/GetUserLabels")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserLabels/GetUserLabels"

payload = "{\n\tUserId:35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.5.2 UpdateUserLabels
This API is used to update the grouping structure/ tagging of services for a particular User.

Type of Request POST

Endpoint /api/UserLabels/UpdateUserLabels

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

949
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserId":35,
"UserLabels": [
{
"id": "1",
"type": "0",
"name": "Windows190",
"parentId": "0",
"serviceId": "0",
"order": "1"
},
{
"id": "2",
"type": "1",
"name": "",
"parentId": "1",
"serviceId": "1",
"order": "1"
}]
}

950
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Jun/2020 11:30:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Modified Successfully",
"Result": {
"UserID": 35,
"UserLabels": [
{
"id": "1",
"type": "0",
"name": "Windows190",
"parentId": "0",
"serviceId": "0",
"order": "1"
},
{
"id": "2",
"type": "1",
"name": "",
"parentId": "1",
"serviceId": "1",
"order": "1"
}
]
}
}

Response Time 597 milliseconds

Post Endpoint Call None

Supported Features NA

1.5.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID int This value refers to the id of the user present in
ARCON PAM

951
PAM API Part 1

Type Parameters Data Type Description

UserLabels Array of Object This value consists of user labels. Sample value
will be like:
[{
"id": "1",
"type": "0",
"name": "Windows190",
"parentId": "0",
"serviceId": "0",
"order": "1"
}]

Response Message string This value refers to the success or failure


message

1.5.2.2 Code Blocks for ‘/UpdateUserLabels’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserLabels/UpdateUserLabels",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": JSON.stringify({"UserId":35,"UserLabels":[{"id":"0","type":"-1","name":"Te
st1","parentId":"0","serviceId":"0","order":"0"},{"id":"1","type":"0","name":"Test2","
parentId":"0","serviceId":"0","order":"1"}]}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

952
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserLabels/


UpdateUserLabels");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\t\"UserId\":35,\n\t\"UserLabels\": [\n
{\n \"id\": \"0\",\n \"type\": \"-1\",\n \"name\": \"Test1\",\n
\"parentId\": \"0\",\n \"serviceId\": \"0\",\n \"order\":
\"0\"\n },\n {\n \"id\": \"1\",\n \"type\": \"0\",\n
\"name\": \"Test2\",\n \"parentId\": \"0\",\n \"serviceId\": \"0\",\n
\"order\": \"1\"\n }]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"UserLabels\": [\n {\n \"id\": \"0\",\n
\"type\": \"-1\",\n \"name\": \"Test1\",\n \"parentId\": \"0\",\n
\"serviceId\": \"0\",\n \"order\": \"0\"\n },\n {\n \"id\":
\"1\",\n \"type\": \"0\",\n \"name\": \"Test2\",\n
\"parentId\": \"0\",\n \"serviceId\": \"0\",\n \"order\":
\"1\"\n }]\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserLabels/UpdateUserLabels")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

953
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserLabels/UpdateUserLabels"

payload = "{\n\t\"UserId\":35,\n\t\"UserLabels\": [\n {\n \"id\": \"0\",


\n \"type\": \"-1\",\n \"name\": \"Test1\",\n \"parentId\":
\"0\",\n \"serviceId\": \"0\",\n \"order\": \"0\"\n },\n {\n
\"id\": \"1\",\n \"type\": \"0\",\n \"name\": \"Test2\",\n
\"parentId\": \"0\",\n \"serviceId\": \"0\",\n \"order\":
\"1\"\n }]\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.5.3 GetUserLabelsTest
This API is used to fetch the grouping structure/ tagging of services for a particular User.

Type of Request GET

Endpoint /api/UserLabels/GetUserLabelsTest

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/UserLabels/GetUserLabelsTest?
Paramete UserId=36
r

954
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "02/Sep/2020 02:54:49",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": {
"UserID": 36,
"UserLabels": [
{
"id": "0",
"type": "-1",
"name": "",
"parentId": "0",
"serviceId": "0",
"order": "0"
}
]
}
}

Response Time 275 milliseconds

Post Endpoint Call None

Supported Features NA

1.5.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID int This value refers to the id of the user present in
ARCON PAM

Response UserID int This value refers to the id of the user present in
ARCON PAM

UserLabels Array of Object This value consist of user labels like:


[ { "id": "0", "type": "-1", "name": "", "parentId":
"0", "serviceId": "0", "order": "0" } ]

955
PAM API Part 1

1.5.3.2 Code Blocks for ‘/GetUserLabelsTest’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserLabels/GetUserLabelsTest?UserId=36",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]JAUE"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserLabels/


GetUserLabelsTest?UserId=36");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]JAUE");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserLabels/GetUserLabelsTest?UserId=36")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]JAUE")
.build();
Response response = client.newCall(request).execute();

956
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserLabels/GetUserLabelsTest?UserId=36"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]JAUE'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.6 UserFavourites
This is used to fetch the favourite services of a particular User from the ARCOS database. These API’s can be
called to retrieve/update the favourite services of a user.
1.6.1 GetUserFavourites
This API is used to fetch favourite services of a particular User.

Type of Request POST

Endpoint /api/UserFavourites/GetUserFavourites

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserID":35
}

957
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Jun/2020 02:40:07",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "6 Records Found",
"Result": [
{
"UserId": 35,
"ServiceId": 4,
"IsFavouriteFlag": true
},
{
"UserId": 35,
"ServiceId": 30,
"IsFavouriteFlag": true
},
{
"UserId": 35,
"ServiceId": 63,
"IsFavouriteFlag": true
},
{
"UserId": 35,
"ServiceId": 68,
"IsFavouriteFlag": true
},
{
"UserId": 35,
"ServiceId": 113372,
"IsFavouriteFlag": true
},
{
"UserId": 35,
"ServiceId": 114164,
"IsFavouriteFlag": true
}
]
}

Response Time 299 milliseconds

Post Endpoint Call None

Supported Features NA

958
PAM API Part 1

1.6.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID int This value refers to the id of the user present in
ARCON PAM

Response UserId long This value refers to the id of the user present in
ARCON PAM

ServiceId long This value refers to the id of the service present in


ARCON PAM

IsFavouriteFlag bool This value will be true if service is added to


favourite services of the user else false.

1.6.1.2 Code Blocks for ‘/GetUserFavourites’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserFavourites/GetUserFavourites",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": JSON.stringify({"UserId":35}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

959
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserFavourites/


GetUserFavourites");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\t\"UserId\":35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"UserId\":35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserFavourites/GetUserFavourites")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

960
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserFavourites/GetUserFavourites"

payload = "{\n\t\"UserId\":35\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.6.2 UpdateUserFavourites
This API is used to update services as Favourite for a particular User. To mark the service as Favourite, User Id
and Service Id is mandatory.

Type of Request POST

Endpoint /api/UserFavourites/UpdateUserFavourites

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"UserID":35,
"ServiceId":37782,
"IsFavouriteFlag":1
}

961
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "05/Jun/2020 03:49:57",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Modified Successfully",
"Result": [{"UserId": 35, "ServiceId": 37782, "IsFavouriteFlag":
true } ]
}

Response Time 597 milliseconds

Post Endpoint Call None

Supported Features NA

1.6.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserId long This value refers to the id of the user present in
ARCON PAM

ServiceId long This value refers to the id of the service present


in ARCON PAM

IsFavouriteFlag bool This value will be true if service is added to


favourite services of the user else false.

Response Message string This value refers to the success or failure


message

962
PAM API Part 1

1.6.2.2 Code Blocks for ‘/UpdateUserFavourites’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/UserFavourites/UpdateUserFavourites",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]CgN8"
},
"data": JSON.stringify({"UserId":35,"ServiceId":37782,"IsFavouriteFlag":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/UserFavourites/


UpdateUserFavourites");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]CgN8");
request.AddParameter("application/json", "{\n\t\"UserId\":35,\n\t\"ServiceId\":
37782,\n \"IsFavouriteFlag\": 1\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

963
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"{\n\t\"UserId\":35,\n\t\"ServiceId\": 37782,\n \"IsFavouriteFlag\": 1\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/UserFavourites/UpdateUserFavourites")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]CgN8")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/UserFavourites/UpdateUserFavourites"

payload = "{\n\t\"UserId\":35,\n\t\"ServiceId\": 37782,\n \"IsFavouriteFlag\":


1\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]CgN8'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.7 Configuration
This is to fetch ARCOS configuration details to enable real time session monitoring from the database.
Configuration details entered by the user are stored in ARCOS database, these API’s can be called to retrieve
the configuration details from the table.
1.7.1 GetArcosConfiguration
Get ARCOS Configuration API is used to fetch ARCOS configuration details to enable real-time session
monitoring. This API will accept the Global Configuration ID and return the configuration details.
For example, for RTSM Ubuntu, the API will accept “79” as an input parameter and will return the records
accordingly.

Type of Request POST

964
PAM API Part 1

Endpoint /api/Configuration/GetArcosConfiguration

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ArcosConfigId":79
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "04/Jun/2020 02:30:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Record fetched successfully.",
"Result": {
"ArcosConfigId": 79,
"ArcosConfigSubId": 5,
"ArcosConfigDescription": "Real Time Session Monitoring With
Freeze / Unfreeze Session - Is Enabled",
"ArcosConfigDefaultValue": "1",
"ArcosConfigMinValue": "0",
"ArcosConfigMaxValue": "1"
}
}

Response Time 230 milliseconds

Post Endpoint Call None

Supported Features NA

965
PAM API Part 1

1.7.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ArcosConfigId int This value refers to the id of the configuration


present in ARCON PAM

Response ArcosConfigId int This value refers to the id of the configuration


present in ARCON PAM

ArcosConfigSubId int This value refers to the id of the configuration in


ARCON PAM

ArcosConfigDescri string This value refers to the description of the


ption configuration in ARCON PAM

ArcosConfigDefault string This value refers to the default value of the


Value configuration in ARCON PAM

ArcosConfigMinVal string This value refers to the minimum value of the


ue configuration in ARCON PAM

ArcosConfigMaxVa string This value refers to the maximum value of the


lue configuration in ARCON PAM

1.7.1.2 Code Blocks for ‘/GetArcosConfiguration’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/Configuration/GetArcosConfiguration",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({"ArcosConfigId":79}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

966
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/Configuration/


GetArcosConfiguration");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "\t{\n\t\"ArcosConfigId\":79\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n\t\"ArcosConfigId\":79\n\t}")
;
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/Configuration/GetArcosConfiguration")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

967
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/Configuration/GetArcosConfiguration"

payload = "\t{\n\t\"ArcosConfigId\":79\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.7.2 GetArcosConfigurations
Get ARCOS Configuration API is used to fetch ARCOS configuration details to enable real-time session
monitoring. This API will accept the Global Configuration ID and return the configuration details.
For example, for RTSM Ubuntu, the API will accept “79” as an input parameter and will return the records
accordingly.

Type of Request POST

Endpoint /api/Configuration/GetArcosConfigurations

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

968
PAM API Part 1

Body
[
{
"ArcosConfigId":2
},
{
"ArcosConfigId":79
}
]

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "28/Sept/2020 02:30:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Record fetched successfully.",
"Result": [
{
"ArcosConfigId": 2,
"ArcosConfigSubId": 1,
"ArcosConfigDescription": "View Password - No of
Authentication Users",
"ArcosConfigDefaultValue": "2",
"ArcosConfigMinValue": "1",
"ArcosConfigMaxValue": "2"
},
{
"ArcosConfigId": 79,
"ArcosConfigSubId": 5,
"ArcosConfigDescription": "Real Time Session Monitoring With
Freeze / Unfreeze Session - Is Enabled",
"ArcosConfigDefaultValue": "1",
"ArcosConfigMinValue": "0",
"ArcosConfigMaxValue": "1"
}
]
}

Response Time 230 milliseconds

Post Endpoint Call None

Supported Features NA

969
PAM API Part 1

1.7.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ArcosConfigId int This value refers to the id of the configuration


present in ARCON PAM

Response ArcosConfigId int This value refers to the id of the configuration


present in ARCON PAM

ArcosConfigSubId int This value refers to the id of the configuration in


ARCON PAM

ArcosConfigDescri string This value refers to the description of the


ption configuration in ARCON PAM

ArcosConfigDefault string This value refers to the default value of the


Value configuration in ARCON PAM

ArcosConfigMinVal string This value refers to the minimum value of the


ue configuration in ARCON PAM

ArcosConfigMaxVa string This value refers to the maximum value of the


lue configuration in ARCON PAM

1.7.2.2 Code Blocks for ‘/GetArcosConfigurations’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/Configuration/GetArcosConfigurations",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify([{"ArcosConfigId":2},{"ArcosConfigId":79}]),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

970
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/Configuration/


GetArcosConfigurations");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "[\n {\n\t\"ArcosConfigId\":2\n\t},\n
\t{\n\t\"ArcosConfigId\":79\n\t}\n ]", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "[\n
{\n\t\"ArcosConfigId\":2\n\t},\n \t{\n\t\"ArcosConfigId\":79\n\t}\n ]");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/Configuration/GetArcosConfigurations")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

971
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/Configuration/GetArcosConfigurations"

payload = "[\n {\n\t\"ArcosConfigId\":2\n\t},\n


\t{\n\t\"ArcosConfigId\":79\n\t}\n ]"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.7.3 GetUserTypeV1
This API is used to fetch a list of all user types in ARCON PAM.

Type of Request POST

Endpoint /api/Configuration/GetUserType

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

972
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "15/Feb/2021 10:32:13",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"UserTypeId": 0,
"UserTypeName": "Client"
},
{
"UserTypeId": 1,
"UserTypeName": "Admin"
}
]
}

Response Time 132milliseconds

Post Endpoint Call All API's

Supported Features NA

1.7.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response UserTypeId int This value refers to the id of the user type present
in ARCON PAM

UserTypeName string This value refers to the name of the user type
present in ARCON PAM

973
PAM API Part 1

1.7.3.2 Code Blocks for '/GetUserType'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/Configuration/GetUserType",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/Configuration/


GetUserType");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/Configuration/GetUserType")
.method("POST", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.build();
Response response = client.newCall(request).execute();

974
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/Configuration/GetUserType"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.7.4 GetLOBList_Configuration
This API is used to fetch a list of LOBs from ARCON PAM.

Type of Request GET

Endpoint /api/Configuration/GetLOBList

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

975
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "15/Feb/2021 10:45:25",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "19 Records Found",
"Result": [
{
"LobId": 1,
"LobName": "DEFAULT LOB 1"
},
{
"LobId": 2,
"LobName": "MUMBAI ZONE"
},
{
"LobId": 3,
"LobName": "DEFAULT TEST LOB"
},
{
"LobId": 4,
"LobName": "DUBAI REGION"
},
{
"LobId": 5,
"LobName": "ONBOARD"
},
{
"LobId": 6,
"LobName": "DEBOARDING"
},
{
"LobId": 8,
"LobName": "DEVEN"
},
{
"LobId": 9,
"LobName": "LOBTEST"
},
{
"LobId": 10,
"LobName": "LOADTEST_LOB"
},
{
"LobId": 11,
"LobName": "TESTLOB"
},
{

976
PAM API Part 1

"LobId": 12,
"LobName": "運用管理者"
},
{
"LobId": 13,
"LobName": "SSO"
},
{
"LobId": 14,
"LobName": "ABC"
},
{
"LobId": 15,
"LobName": "9318TESTING"
},
{
"LobId": 16,
"LobName": "9318T2"
},
{
"LobId": 17,
"LobName": "9318T3"
},
{
"LobId": 19,
"LobName": "TEST_KARISHMA"
},
{
"LobId": 20,
"LobName": "HIRENTEST"
},
{
"LobId": 21,
"LobName": "YASHTEST"
}
]
}

Response Time 1336 milliseconds

Post Endpoint Call None

Supported Features NA

1.7.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response LobId long This value refers to the id of the LOB present in
ARCON PAM

977
PAM API Part 1

Type Parameters Data Type Description

LobName string This value refers to the name of the LOB present
in ARCON PAM

1.7.4.2 Code Blocks for ‘/GetLOBList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/Configuration/GetLOBList",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]oOrQ"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/Configuration/


GetLOBList");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]oOrQ");
request.AddParameter("application/json", "\t{\n\t\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

978
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/Configuration/GetLOBList")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]oOrQ")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/Configuration/GetLOBList"

headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]oOrQ'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8 ServicePassword
Mismanagement of Privileged Users and their passwords is a major cause of security breaches and one of the
top reasons for passwords unavailability that leads to a long recovery processes from IT failures. Password
Management helps a user to store and organize passwords. The password vault is an electronic vault, which
stores the privileged passwords in a highly secured manner. The vault is AES-256 bit encrypted, which is
further wrapped with a proprietary encryption algorithm. The electronic vault requires authorization of users
for secured printing. The password vault secures all the passwords with its proprietary encryption
methodology. Further, it also provides dynamic password generation facility.
1.8.1 GetTargetDevicePassKey
This API is used to Get Service Password or Key.

Type of Request POST

Endpoint /api/ServicePassword/GetTargetDevicePassKey

Available in API All versions


Version

979
PAM API Part 1

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
[
{
"ServerIp": "10.10.1.111",
"ServiceTypeID": "7",
"UserName": "UserName_1",
"DbInstanceName": "",
"OpenForHours": "1"
},
{
"ServerIp": "10.10.1.112",
"ServiceTypeID": "7",
"UserName": "UserName_2",
"DbInstanceName": "",
"OpenForHours": "1"
}
]

980
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 11:30:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"ServerIp": "10.10.1.111",
"UserName": "UserName_1",
"Password": "pxxxxxx3",
"PassKey": "",
"Status": true,
"Message": ""
},
{
"ServerIp": "10.10.1.112",
"UserName": "UserName_2",
"Password": "pxxxxxx3",
"PassKey": "",
"Status": true,
"Message": ""
}
]
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.1.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIp string This value refers to the IP address of the service
present in ARCON PAM

ServiceTypeID string This value refers to the Service Type ID of the


service present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

DbInstanceName string This value refers to the instance name of the


service present in ARCON PAM

OpenForHours string

981
PAM API Part 1

Type Parameters Data Type Description

Response ServerIp string This value refers to the IP address of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

PassKey string This value refers to the passkey of the target


device in ARCON PAM

Status bool This value will be like ‘true' or 'false’

Message string This value refers to the success or failure


message

1.8.1.2 Code Blocks for ‘/GetTargetDevicePassKey’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify([{"ServerIP":"10.10.1.111","ServicetypeID":"7","UserName":"
UserName_1","DbInstanceName":"","OpenForHours":1},{"ServerIP":"10.10.1.112","Service
TypeID":"7","UserName":"UserName_2","DbInstanceName":"","OpenForHours":1}]),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

982
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetTargetDevicePassKey");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "[\n\t{\n\t\t\"ServerIP\":\"10.10.1.111\",
\n\t\t\"ServiceTypeID\":\"7\",\n\t\t\"UserName\":\"UserName_1\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":
\"10.10.1.112\",\n\t\t\"ServiceTypeID\":\"7\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "[\n\t{\n\t\t\"ServerIP\":
\"10.10.1.111\",\n\t\t\"ServiceTypeID\":\"7\",\n\t\t\"UserName\":\"UserName_1\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":
\"10.10.1.112\",\n\t\t\"ServiceTypeID\":\"7\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

983
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey"

payload = "[\n\t{\n\t\t\"ServerIP\":\"10.10.1.111\",\n\t\t\"ServiceTypeID\":\"7\",
\n\t\t\"UserName\":\"UserName_1\",\n\t\t\"DbInstanceName\":\"\",
\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":\"10.10.1.112\",
\n\t\t\"ServiceTypeID\":\"7\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.2 GetAllTargetTypes
This API is used to fetch a target type mapped to a service type, which will be used to fetch a password of the
service. For example, in the below response, Linux Target Type is mapped to SSH Linux Service type.

Type of Request GET

Endpoint /api/ServicePassword/GetAllTargetTypes

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

984
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 01:18:00",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
"Application",
"DB2",
"Linux",
"MongoDB",
"MsSQL",
"MySQL",
"NetworkDevices",
"Oracle",
"Postgres",
"SYBASE",
"Windows"
]
}

Response Time 312 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.2.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response Result string Array This value refers to the all target types present in
ARCON PAM

985
PAM API Part 1

1.8.2.2 Code Blocks for ‘/GetAllTargetTypes’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetAllTargetTypes",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetAllTargetTypes");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "{\n\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetAllTargetTypes")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

986
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetAllTargetTypes"

payload = "{\n\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.3 ServicePasswordVaulting
This API is used to vault the password of the service in ARCON PAM.

Type of Request POST

Endpoint /api/ServicePassword/ServicePasswordVaulting

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceId": "5",
"Password": "NewPassword"
}

987
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 02:28:30",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Password Changed for total 1 Services Done.",
"Result": [
{
"ServiceId": "5",
"IPAddress": "10.10.1.11",
"Hostname": "ARCOSxxxxNV",
"ServiceUserName": "UserName_1",
"Port": "22",
"ServiceType": "7",
"DomainName": "ARCOSxxxxNV",
"ResultMessage": "Password Changed Successfully."
}
]
}

Response Time 540 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.3.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId string This value refers to the id of the service present
in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

Response ServiceId string This value refers to the id of the service present
in ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

Hostname string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

Port string This value refers to the port of the service


present in ARCON PAM

988
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the id of the service type


present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

ResultMessage string This value refers to the success or failure


message

1.8.3.2 Code Blocks for ‘/ServicePasswordVaulting’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/ServicePasswordVaulting",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({"ServiceId":5,"Password":"NewPassword"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


ServicePasswordVaulting");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "{\n\"ServiceId\":5,\n\"Password\":
\"NewPassword\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

989
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"ServiceId\":5,\n\"Password\":
\"NewPassword\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/ServicePasswordVaulting")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/ServicePasswordVaulting"

payload = "{\n\"ServiceId\":5,\n\"Password\":\"NewPassword\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.4 GetSingleTargetDevicePassKey
This API is used to Get Service Password or Key.

Type of Request POST

Endpoint /api/ServicePassword/GetSingleTargetDevicePassKey

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

990
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServerIp": "10.10.1.111",
"TargetType": "Linux",
"UserName": "UserName_1",
"DbInstanceName": "",
"OpenForHours": "1"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "22/Jul/2020 04:42:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ServerIp": "10.10.1.111",
"UserName": "UserName_1",
"Password": "",
"PassKey": "",
"Status": false,
"Message": "Requested vault details not found"
}
]
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.4.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIp string This value refers to the IP address of the service
present in ARCON PAM

991
PAM API Part 1

Type Parameters Data Type Description

TargetType string This value refers to the target type of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

DbInstanceName string This value refers to the instance name of the


service present in ARCON PAM

OpenForHours string

Response ServerIp string This value refers to the IP address of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

PassKey string This value refers to the passkey of the target


device in ARCON PAM

Status bool This value will be like ‘true' or 'false’

Message string This value refers to the success or failure


message

1.8.4.2 Code Blocks for ‘/GetSingleTargetDevicePassKey’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/
GetSingleTargetDevicePassKey",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9VOc"
},
"data": JSON.stringify({"ServerIP":"10.10.1.111","TargetType":"Linux","UserName":"
UserName_1","DBInstanceName":"","OpenForHours":"1"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

992
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetSingleTargetDevicePassKey");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc");
request.AddParameter("application/json", "{\n\t\"ServerIP\":\"10.10.1.111\",
\n\t\"TargetType\":\"Linux\",\n\t\"UserName\":\"UserName_1\",\n\t\"DBInstanceName\":
\"\",\n\t\"OpenForHours\":\"1\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"ServerIP\":\"10.10.1.111\",
\n\t\"TargetType\":\"Linux\",\n\t\"UserName\":\"UserName_1\",\n\t\"DBInstanceName\":
\"\",\n\t\"OpenForHours\":\"1\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/
GetSingleTargetDevicePassKey")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc")
.build();
Response response = client.newCall(request).execute();

993
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetSingleTargetDevicePassKey"

payload = "{\n\t\"ServerIP\":\"10.10.1.111\",\n\t\"TargetType\":\"Linux\",
\n\t\"UserName\":\"UserName_1\",\n\t\"DBInstanceName\":\"\",\n\t\"OpenForHours\":
\"1\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9VOc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.5 GetServiceType
This API is used to fetch all service types.

Type of Request POST

Endpoint /api/ServicePassword/GetServiceType

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

994
PAM API Part 1

Response
[
{
"ServiceTypeId": "9",
"ServiceTypeName": "AIX"
},
{
"ServiceTypeId": "218",
"ServiceTypeName": "App 3Par Mgmt"
},
{
"ServiceTypeId": "151",
"ServiceTypeName": "App AbInitioGDE"
},
{
"ServiceTypeId": "230",
"ServiceTypeName": "App Account and Voucher Info Manager"
},
{
"ServiceTypeId": "231",
"ServiceTypeName": "App Air Rating Manager"
},
{
"ServiceTypeId": "232",
"ServiceTypeName": "App Air Signaling Manager"
}
]

Response Time 312 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.5.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response ServiceTypeId int This value refers to the id of the service type
present in ARCON PAM

ServiceTypeName string This value refers to the name of the service type
present in ARCON PAM

995
PAM API Part 1

1.8.5.2 Code Blocks for ‘/GetServiceType’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetServiceType",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9VOc"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetServiceType");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc");
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetServiceType")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc")
.build();
Response response = client.newCall(request).execute();

996
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetServiceType"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9VOc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.6 GetRootCredentials
This API is used to get root credentials of service in ARCON PAM.

Type of Request POST

Endpoint /api/ServicePassword/GetRootCredentials

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Query
String http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
Paramete ServerIp=10.10.0.211&ServiceType=windows
rs

997
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 02:11:04",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": []
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.6.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIP string This value refers to the IP address of the service
present in ARCON PAM

ServiceType string This value refers to the type of service present in


ARCON PAM

Response Result string

1.8.6.2 Code Blocks for ‘/GetRootCredentials’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

998
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetRootCredentials?ServerIp=10.10.0.211&ServiceType=windows");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

999
PAM API Part 1

1.8.7 GetRootCredentialsV2
This API is used to get root credentials of service in ARCON PAM.

Type of Request POST

Endpoint /api/ServicePassword/GetRootCredentials

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Query
String http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
Paramete ServerIp=10.10.0.211&ServiceType=windows
rs

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "29/Jul/2020 02:11:04",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": []
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.7.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIP string This value refers to the IP address of the service
present in ARCON PAM

1000
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the type of service present in


ARCON PAM

Response Result string

1.8.7.2 Code Blocks for ‘/GetRootCredentials’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2haM",
"x-PAM-Version":"2"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetRootCredentials?ServerIp=10.10.0.211&ServiceType=windows");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM");
request.AddHeader("x-PAM-Version","2");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1001
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2haM")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetRootCredentials?
ServerIp=10.10.0.211&ServiceType=windows"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2haM',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.8 GetTargetDevicePassKeyV2
This API is used to Get Service Password or Key.

Type of Request POST

Endpoint /api/ServicePassword/GetTargetDevicePassKey

Available in API All versions


Version

Release Version U13

1002
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
[
{
"ServerIp": "10.10.1.111",
"TargetType": "Linux",
"UserName": "UserName_1",
"DbInstanceName": "",
"OpenForHours": "1"
},
{
"ServerIp": "10.10.1.112",
"TargetType": "Linux",
"UserName": "UserName_2",
"DbInstanceName": "",
"OpenForHours": "1"
}
]

1003
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "11/Feb/2021 10:47:30",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"ServerIp": "10.10.1.111",
"UserName": "UserName_1",
"Password": "JwdXjk96qRrH9/
le7v7hw3ZuXJO3IFgFYsyJdZX9Fdo=",
"PassKey": "",
"Status": false,
"Message": "Requested vault details not found"
},
{
"ServerIp": "10.10.1.112",
"UserName": "UserName_2",
"Password":
"ilKGkIRbqmXkyNsfMHS6I3ZuXJO3IFgFYsyJdZX9Fdo=",
"PassKey": "",
"Status": false,
"Message": "Requested vault details not found"
}
]
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.8.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIp string This value refers to the IP address of the service
present in ARCON PAM

TargetType string This value refers to the target type of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

DbInstanceName string This value refers to the instance name of the


service present in ARCON PAM

1004
PAM API Part 1

Type Parameters Data Type Description

OpenForHours string

Response ServerIp string This value refers to the IP address of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value is in encrypted format refers to the


password of the service present in ARCON PAM

PassKey string This value refers to the passkey of the target


device in ARCON PAM

Status bool This value will be like ‘true' or 'false’

Message string This value refers to the success or failure


message

1.8.8.2 Code Blocks for ‘/GetTargetDevicePassKey’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE",
"x-PAM-Version": "2"
},
"data": JSON.stringify([{"ServerIP":"10.10.1.111","TargetType":"Linux","UserName":"
UserName_1","DbInstanceName":"","OpenForHours":1},{"ServerIP":"10.10.1.112","TargetT
ype":"Linux","UserName":"UserName_2","DbInstanceName":"","OpenForHours":1}]),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

1005
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetTargetDevicePassKey");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "[\n\t{\n\t\t\"ServerIP\":\"10.10.1.111\",
\n\t\t\"TargetType\":\"Linux\",\n\t\t\"UserName\":\"UserName_1\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":
\"10.10.1.112\",\n\t\t\"TargetType\":\"Linux\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "[\n\t{\n\t\t\"ServerIP\":
\"10.10.1.111\",\n\t\t\"TargetType\":\"Linux\",\n\t\t\"UserName\":\"UserName_1\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":
\"10.10.1.112\",\n\t\t\"TargetType\":\"Linux\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

1006
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKey"

payload = "[\n\t{\n\t\t\"ServerIP\":\"10.10.1.111\",\n\t\t\"TargetType\":\"Linux\",
\n\t\t\"UserName\":\"UserName_1\",\n\t\t\"DbInstanceName\":\"\",
\n\t\t\"OpenForHours\":1\n\t},\n\t{\n\t\t\"ServerIP\":\"10.10.1.112\",
\n\t\t\"TargetType\":\"Linux\",\n\t\t\"UserName\":\"UserName_2\",
\n\t\t\"DbInstanceName\":\"\",\n\t\t\"OpenForHours\":1\n\t}\n\t]"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.9 GetSecretServicePassword
This api is use to fetch the secret service password in encrypted format

Type of Request POST

Endpoint /api/ServicePassword/GetSecretServicePassword

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

1007
PAM API Part 1

Body
{
"IPAddress":"10.10.0.0",
"UserName":"jdshng"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "11/Feb/2021 01:08:55",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Secret Service Password fetched successfully in
encrypted format.",
"Result": "NsidBO0cnyeiT4Lp/fbLLFKZQJjIu2QG3KnFAtg/ojg="
}

Response Time 540 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.9.1 Data Types of Request and Response

Type Parameters Data Type Description

Request IPAddress string This value refers to the IP address of the service
present in ARCON PAM

Mandatory Parameter.

UserName string This value is in encrypted format refers to the user


name of the user present in ARCON PAM

Mandatory Parameter.

Response Message string This value refers to the message of the requested
api

Result string This value is in encrypted format refers to the


secret password of the service

1008
PAM API Part 1

1.8.9.2 Code Blocks for ‘/GetSecretServicePassword’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"IPAddress":"10.10.0.0","UserName":"jdshng"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetSecretServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\n\"IPAddress\":"10.10.0.0",
\n\"UserName\":\"jdshng\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1009
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"IPAddress\":"10.10.0.0",
\n\"UserName\":\"jdshng\"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetSecretServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServicePassword"

payload = "{\n\"IPAddress\":"10.10.0.0",\n\"UserName\":\"jdshng\"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.10 GetSecretServiceList
This api is use to fetch secret service list.

Type of Request POST

Endpoint /api/ServicePassword/GetSecretServiceList

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

1010
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"UserID":35
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "11/Feb/2021 03:49:51",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Data Fetched Successfully",
"Result": [
{
"URL": "https://github.com/login",
"Service_id": 3
},
{
"URL": "https://www.facebook.com/",
"Service_id": 4
}
]
}

Response Time 370 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.10.1 Data Types of Request and Response

Type Parameters Data Type Description

Request UserID int This value refers to the id of the user group
present in ARCON PAM

Mandatory Parameter.

1011
PAM API Part 1

Type Parameters Data Type Description

Response URL string This value refers to the URL present in arcos
secret storage table

Service_id int This value refers to the Service Id present in arcos


secret storage table

1.8.10.2 Code Blocks for '/GetSecretServiceList'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"UserID":35}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetSecretServiceList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddHeader("x-PAM-Version","2");
questq
request.AddParameter("application/json", "{\n \"UserID\":35\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1012
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"UserID\":35\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceList"

payload = "{\n \"UserID\":35\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.11 GetSecretServiceDetails
This api is use to fetch secret service list.

Type of Request POST

Endpoint /api/ServicePassword/GetSecretServiceDetails

Available in API All versions


Version

Release Version U10

Pre Endpoint Call /arconToken

1013
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"ServiceID":3
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "11/Feb/2021 05:43:51",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Data Fetched Successfully",
"Result": {
"Username": "[email protected]",
"Password": "yrky2027"
}
}

Response Time 100 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.11.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceID int This value refers to the id of the service present in
ARCON PAM

Mandatory Parameter.

Response Username string This value is in encrypted format refers to the user
name of the user present in ARCON PAM

Password string This value is in encrypted format refers to the


password of the service present in ARCON PAM

1014
PAM API Part 1

1.8.11.2 Code Blocks for '/GetSecretServiceDetails'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceDetails",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[... Removed for brevity ....]vW54",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"ServiceID":3}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetSecretServiceDetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54");
request.AddHeader("x-PAM-Version","2");
questq
request.AddParameter("application/json", "{\n \"ServiceID\":3\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1015
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"ServiceID\":3\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceDetails")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[... Removed for brevity ....]vW54")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetSecretServiceDetails"

payload = "{\n \"ServiceID\":3\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[... Removed for brevity ....]vW54',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.12 RequestForServicePassword
This Api is use to request for service password

Type of Request POST

Endpoint /api/ServicePassword/RequestForServicePassword

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

1016
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"ServerIP":"192.168.0.241",
"ServiceTypeID":1,
"UserName":"Administrator",
"DBInstanceName":""
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Feb/2021 12:34:01",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Service Password fetched successfully.",
"Result": "82yvGJPPnTRKyZf6rgfYPVBo0DZ1x0TL2D80rsxyTrs="
}

Response Time 525 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.12.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIP string This value refers to the IP address of the service
present in ARCON PAM

Mandatory Parameter.

ServiceTypeID int This value refers to the id of the service type


present in ARCON PAM

Mandatory Parameter.

1017
PAM API Part 1

Type Parameters Data Type Description

UserName string This value refers to the username of the service


present in ARCON PAM

Mandatory Parameter.

DBInstanceName string This value refers to the instance name of the


service present in ARCON PAM

Response ServiceId string This value refers to the id of the service present in
ARCON PAM

Message string This value refers to the response message in string


format

Result string This value refers to the password in encrypted


format

1.8.12.2 Code Blocks for ‘/RequestForServicePassword’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/RequestForServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"ServerIP":"192.168.0.241","ServiceTypeID":1,"UserName":"A
dministrator","DBInstanceName":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

1018
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


RequestForServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\n\"ServerIP\":"192.168.0.241",
\n\"ServiceTypeID\":\1\n,\n\"UserName\":\"Administrator"\n,\n\"DBInstanceName\":\""\
n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"ServerIP\":"192.168.0.241",
\n\"ServiceTypeID\":\1\n,\n\"UserName\":\"Administrator"\n,\n\"DBInstanceName\":\""\
n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/RequestForServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

1019
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/RequestForServicePassword"

payload = "{\n\"ServerIP\":"192.168.0.241",\n\"ServiceTypeID\":\1\n,\n\"UserName\":
\"Administrator"\n,\n\"DBInstanceName\":\""\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.13 GetPasswordWithoutIP
This api is use to get password without IP

Type of Request POST

Endpoint /api/ServicePassword/GetPasswordWithoutIP

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - - -

1020
PAM API Part 1

Body
[{
"ServerIP":"192.168.0.241",
"ServiceTypeID":"1",
"UserName":"Administrator",
"DBInstanceName":"",
"ServiceID":"7021",
"ServicePassword":"",
"HostName":"",
"DomainName":"",
"RequestorIP":"",
"RequestorMAC":"",
"TargetType":"",
"ActionType":"",
"OpenForHours":"1"
}]

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "12/Feb/2021 05:45:32",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found",
"Result": [
{
"ServerIp": "",
"UserName": "Administrator",
"Password": "",
"PassKey": "M?-)??",
"Status": false,
"Message": "Requested vault details not found"
}
]
}

Response Time 520 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.8.13.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServerIP string This value refers to the IP address of the service
present in ARCON PAM

1021
PAM API Part 1

Type Parameters Data Type Description

ServiceTypeID string This value refers to the id of the service type


present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

DBInstanceName string This value refers to the instance name of the


service present in ARCON PAM

ServiceID string This value refers to the id of the service present


in ARCON PAM

ServicePassword string This value refers to the password of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

DomainName string This value refers to the domain name for the user

RequestorIP string This value refers to the requestor Ip

RequestorMAC string This value refers to the requestor MAC

TargetType string This value refers to the target type

ActionType string This value refers to the Action type

OpenForHours int This value refers to the Open for hours

Response ServerIp string This value refers to the IP address of the service
present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM

PassKey string This value refers to the passkey of the service


present in ARCON PAM

Status bool This value is in boolean format, ‘true' or 'false’

Message string This value is string format refers to the response


message

1022
PAM API Part 1

1.8.13.2 Code Blocks for '/GetPasswordWithoutIP'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetPasswordWithoutIP",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"ServerIP":"192.168.0.241","ServiceTypeID":"1","UserName":"
Administrator","DBInstanceName":"","ServiceID":"7021","ServicePassword":"",
"HostName":"","DomainName":"","RequestorIP":"","RequestorMAC":"","TargetType":"",
"ActionType":"","OpenForHours":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetPasswordWithoutIP");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"ServerIP\":\"192.168.0.241\",
\r\n \"ServiceTypeID\":\"1\",\r\n \"UserName\":\"Administrator\",\r\n
\"DBInstanceName\":\"\",\r\n \"ServiceID\":\"7021\"\r\n,\r\n
\"ServicePassword\":\"\"\r\n,\r\n \"HostName\":\"\"\r\n,\r\n \"DomainName\":
\"\"\r\n,\r\n \"RequestorIP\":\"\"\r\n,\r\n \"RequestorMAC\":\"\"\r\n,\r\n
\"TargetType\":\"\"\r\n,\r\n \"ActionType\":\"\"\r\n,\r\n \"OpenForHours\":
\"\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1023
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServerIP\":
\"192.168.0.241\",\r\n \"ServiceTypeID\":\"1\",\r\n \"UserName\":
\"Administrator\",\r\n \"DBInstanceName\":\"\",\r\n \"ServiceID\":
\"7021\"\r\n,\r\n \"ServicePassword\":\"\"\r\n,\r\n \"HostName\":\"\"\r\n,\r\n
\"DomainName\":\"\"\r\n,\r\n \"RequestorIP\":\"\"\r\n,\r\n \"RequestorMAC\":
\"\"\r\n,\r\n \"TargetType\":\"\"\r\n,\r\n \"ActionType\":\"\"\r\n,\r\n
\"OpenForHours\":\"\"\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetPasswordWithoutIP")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetPasswordWithoutIP"

payload = "{\r\n \"ServerIP\":\"192.168.0.241\",\r\n \"ServiceTypeID\":\"1\",


\r\n \"UserName\":\"Administrator\",\r\n \"DBInstanceName\":\"\",\r\n
\"ServiceID\":\"7021\"\r\n,\r\n \"ServicePassword\":\"\"\r\n,\r\n
\"HostName\":\"\"\r\n,\r\n \"DomainName\":\"\"\r\n,\r\n \"RequestorIP\":
\"\"\r\n,\r\n \"RequestorMAC\":\"\"\r\n,\r\n \"TargetType\":\"\"\r\n,\r\n
\"ActionType\":\"\"\r\n,\r\n \"OpenForHours\":\"\"\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.14 SyncServicePassword
This Api is use to sync service password.

Type of Request POST

1024
PAM API Part 1

Endpoint /api/ServicePassword/SyncServicePassword

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2

Body
{
"Password":"CteyFeK0fnC7vHf6hj4yxw==",
"UserName":"CteyFeK0fnC7vHf6hj4yxw==",
"HostName":"",
"HistoryId":""
}

1025
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Mar/2021 11:43:30",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Password Changed for total 10 Services Done.",
"Result": [
{
"ServiceId": "114605",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114606",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114607",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114609",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{

1026
PAM API Part 1

"ServiceId": "114612",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114615",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114630",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114641",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114642",
"IPAddress": "",
"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
},
{
"ServiceId": "114646",
"IPAddress": "",

1027
PAM API Part 1

"Hostname": "",
"ServiceUserName": "",
"Port": "",
"ServiceType": "Amazon Web Services (AWS)",
"DomainName": "",
"ResultMessage": "Password Changed Successfully."
}
]
}

Response Time 520 milliseconds

Post Endpoint Call All API's

Supported Features ARCOS Log Archiver Service

1.8.14.1 Data Types of Request and Response

Type Parameters Data Type Description

Request Password string This value refers to the password of the service
present in ARCON PAM

Mandatory Parameter.

UserName string This value refers to the username of the service


type present in ARCON PAM

Mandatory Parameter.

HostName string This value refers to the hostname of the service


present in ARCON PAM

HistoryId string This value refers to the History Id

Response ServiceId string This value refers to the id of the service present in
ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

Hostname string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value is in encrypted format refers to the


username of the ARCON PAM service

Port string This value refers to the port of the service present
in ARCON PAM

1028
PAM API Part 1

Type Parameters Data Type Description

ServiceType string This value refers to the name of the service type
present in ARCON PAM

DomainName string This value refers to the domain name of the


service present in ARCON PAM

ResultMessage string This is message in string

1.8.14.2 Code Blocks for '/SyncServicePassword'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/SyncServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]lSlE"
},
"data": JSON.stringify({"Password":"CteyFeK0fnC7vHf6hj4yxw==","UserName":"CteyFeK0
fnC7vHf6hj4yxw==","HostName":"","HistoryId":""}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


SyncServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE");
request.AddParameter("application/json", "{\r\n \"Password\":
\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n \"UserName\":\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n
\"HostName\":\"\",\r\n \"HistoryId\":\"\",\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1029
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"Password\":
\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n \"UserName\":\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n
\"HostName\":\"\",\r\n \"HistoryId\":\"\",\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/SyncServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]lSlE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/SyncServicePassword"

payload = "{\r\n \"Password\":\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n \"UserName\":


\"CteyFeK0fnC7vHf6hj4yxw==\",\r\n \"HostName\":\"\",\r\n \"HistoryId\":\"\",
\r\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]lSlE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.15 GetSyncFailedServices
This api is use to fetch Sync failed services.

Type of Request GET

Endpoint /api/ServicePassword/GetSyncFailedServices

Available in API Version All versions

Release Version U9

Pre Endpoint Call /arconToken

1030
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[... Mandatory


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

1031
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Mar/2021 01:28:11",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Total 7 failed services found.",
"Result": [
{
"ServiceId": "114224",
"IPAddress": "10.10.0.71",
"Hostname": "ATSTEST",
"UserName": "qa.admin",
"DomainName": "ATSTESTDC",
"Password": ""
},
{
"ServiceId": "114225",
"IPAddress": "10.10.0.91",
"Hostname": "ARCOS-UAT2",
"UserName": "suhas.dingankar",
"DomainName": "ANBGLOBALDC",
"Password": ""
},
{
"ServiceId": "114274",
"IPAddress": "10.10.0.71",
"Hostname": "ATSTEST",
"UserName": "Pratap.patil",
"DomainName": "ATSTESTDC",
"Password": ""
},
{
"ServiceId": "114413",
"IPAddress": "10.10.0.173",
"Hostname": "SERVER",
"UserName": "User1008",
"DomainName": "ATSTESTDC",
"Password": ""
},
{
"ServiceId": "114433",
"IPAddress": "10.10.1.53",
"Hostname": "10.10.1.53",
"UserName": "ADB_01",
"DomainName": "ATSTESTDC",
"Password": ""
},
{

1032
PAM API Part 1

"ServiceId": "114436",
"IPAddress": "10.10.1.9",
"Hostname": "10.10.1.9",
"UserName": "ADB_03",
"DomainName": "ATSTESTDC",
"Password": ""
},
{
"ServiceId": "114437",
"IPAddress": "10.10.1.9",
"Hostname": "10.10.1.9",
"UserName": "ADB_04",
"DomainName": "ATSTESTDC",
"Password": ""
}
]
}

Response Time 133 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.15.1 Data Types of Request and Response

Type Parameters Data Type Description

Request No Parameters

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

IPAddress string This value refers to the IP address of the service


present in ARCON PAM

Hostname string This value refers to the hostname of the service


present in ARCON PAM

UserName string This value refers to the username of the service


present in ARCON PAM

DomainName string This value refers to the domain of the ARCON


PAM user

Password string This value refers to the password of the service


present in ARCON PAM

1033
PAM API Part 1

1.8.15.2 Code Blocks for '/GetSyncFailedServices'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetSyncFailedServices",
"method": "GET",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]4CvA",
"x-PAM-Version":"2"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetSyncFailedServices");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1034
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/GetSyncFailedServices")
.method("GET", null)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]4CvA")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetSyncFailedServices"

payload = {}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]4CvA',
'x-PAM-Version':'2'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.16 UpdateSyncFailedServicesFlag
This Api is use to update Sync failed services log.

Type of Request POST

Endpoint /api/ServicePassword/UpdateSyncFailedServicesFlag

Available in API All versions


Version

Release Version U7

Pre Endpoint Call /arconToken

Request Params - - - -

1035
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"ServiceID":"114224"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "09/Mar/2021 04:52:50",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Sync service password flag updated successfully.",
"Result": null
}

Response Time 525 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.16.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceID string This value refers to the id of the service present
in ARCON PAM

Response Message string This value refers to the message in string format

Result string This value refers to the Result in string format

1036
PAM API Part 1

1.8.16.2 Code Blocks for ‘/UpdateSyncFailedServicesFlag’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/
UpdateSyncFailedServicesFlag",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"ServiceID":"114224"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


UpdateSyncFailedServicesFlag");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\n\"ServiceID\":"114224"\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1037
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"ServiceID\":"114224"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/
UpdateSyncFailedServicesFlag")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/UpdateSyncFailedServicesFlag"

payload = "{\n\"ServiceID\":"114224"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.17 PostSecretServicePassword
This Api is use to post Secret service password.

Type of Request POST

Endpoint /api/ServicePassword/PostSecretServicePassword

Available in API All versions


Version

Release Version U9

Pre Endpoint Call /arconToken

1038
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version 2 -

Body
{
"URL":"http://localhost:12356",
"createdBy":35,
"UserName":"ARCOSADMIN",
"Password":"ARCOSADMIN"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "10/Mar/2021 10:49:20",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Data Saved Successfully",
"Result": "Data Inserted Successfully"
}

Response Time 525 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.17.1 Data Types of Request and Response

Type Parameters Data Type Description

Request URL string This value refers to the URL

Mandatory Parameter.

createdBy int This value refers to the id of the ARCON PAM user

Mandatory Parameter.

1039
PAM API Part 1

Type Parameters Data Type Description

UserName string This value refers to the username of the service


present in ARCON PAMThis value refers to the id
of the ARCON PAM user

Mandatory Parameter.

Password string This value refers to the password of the service


present in ARCON PAM

Mandatory Parameter.

Response Message string This value refers to the message in string format
that shows data inserted or not

Result string This value refers to the result in string format that
shows data inserted or not

1.8.17.2 Code Blocks for ‘/PostSecretServicePassword’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/PostSecretServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE",
"x-PAM-Version":"2"
},
"data": JSON.stringify({"URL":"http://localhost:12356","createdBy":35,"UserName":"
ARCOSADMIN","Password":"ARCOSADMIN"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

1040
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


PostSecretServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddHeader("x-PAM-Version","2")
request.AddParameter("application/json", "{\n\"URL\":"http://localhost:12356",
\n\"createdBy\":\35\n,\n\"UserName\":\"ARCOSADMIN"\n,\n\"Password\":
\"ARCOSADMIN"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\"URL\":"http://
localhost:12356",\n\"createdBy\":\35\n,\n\"UserName\":\"ARCOSADMIN"\n,
\n\"Password\":\"ARCOSADMIN"\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePassword/PostSecretServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.addHeader("x-PAM-Version","2")
.build();
Response response = client.newCall(request).execute();

1041
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/PostSecretServicePassword"

payload = "{\n\"URL\":"http://localhost:12356",\n\"createdBy\":\35\n,\n\"UserName\":
\"ARCOSADMIN"\n,\n\"Password\":\"ARCOSADMIN"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE',
'x-PAM-Version':'2'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.18 GetTargetDevicePassKeyByID
This Api is use to fetch service password by only one parameter i.e. ServiceID.

Type of Request POST

Endpoint /api/ServicePassword/GetTargetDevicePassKeyByID

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
[
{
ServiceID:11435
}
]

1042
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "08/Feb/2021 06:09:29",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found",
"Result": [
{
"ServiceId": 11435,
"Password": "rootadmin",
"PassKey": "",
"Status": true,
"Message": ""
}

]
}

Response Time 574 milliseconds

Post Endpoint Call All API's

Supported Features NA

1.8.18.1 Data Types of Request and Response

Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present
in ARCON PAM

ServiceId int This value refers to the id of the service present


in ARCON PAM

Password string This value refers to the password of the service


present in ARCON PAM
Response
PassKey string This value refers to the passkey of the target
device in ARCON PAM

Status boolean This value will be like ‘true' or 'false’

Message string This value refers to the success or failure


message

1043
PAM API Part 1

1.8.18.2 Code Blocks for ‘/GetTargetDevicePassKeyByID’

Code For Javascript - Jquery

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKeyByID",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]tdtk"
},
"data": JSON.stringify({"ServiceId":11435}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/ServicePassword/


GetTargetDevicePassKeyByID");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk");
request.AddParameter("application/json", "{\r\n \"ServiceId\11435":\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1044
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"ServiceId\":11435\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/ServicePassword/GetTargetDevicePassKeyByID")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]tdtk")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePassword/GetTargetDevicePassKeyByID"

payload = "{\r\n \"ServiceId\":11435\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]tdtk'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1.8.19 GetAwsSTS
This API is used to fetch Temporary Access, Secret & Session Token of the IAM User.

Request POST

Endpoint /api/ServicePassword/GetAwsSTS

Available in API All versions


Version

Release Version U16

Pre Endpoint Call /arconToken

Request Params - - - -

1045
PAM API Part 1

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
[
{
"AccessKey": "AKIAUZ6RUBH3O2O2PUXK",
"SecretKey": "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",
"RoleARN": "arn:aws:iam::330615228918:role/
ConnectorSTSRole",
"RoleName": "ConnectorSTSRole",
"Duration": "1"
}
]

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "25/Jun/2021 01:03:05",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": null,
"Result": [
{
"AccessKey": "ASIAUZ6RUBH3OQA4YYQQ",
"SecretKey": "yMlBcRLSefYZ50Qy0fVBBT/
k54tfuvTh4SLmT1AM",
"SessionToken":
"FwoGZXIvYXdzEGEaDLREg4TEW0lG8VxMgSK0ARsf2n4PB1xdTCjN6dS3vwHvFzF8m
us0KGhQsvZUuszwFf0sej5FXSXtThvOMlYKJTukhZgDX/
FWqu3MXcTupT05n65qvQ0sMJMeL6IBoU6xS7rPYsRRLWXGBoB74ezTEYbq1plV+Hts
uXVzdJi8oWhJQcFrZQmxNh3bAJKwkO0umtzmjXyrQ6EwhYzzTAGA5nDqj1bbbqpDQU
DpMO+KeqhBx2dMUp82jh9HXdqZfK8uMp951CizjdaGBjItas3rMTrAwE9VkPU9+RQ4
abkE5OLlvn4F7q2x6ntSMRGY8IZIomHRbNwkd+yH",
"Expiration": "06/25/2021 14:03:07",
"Status": true,
"Message": "Success"
}
]
}

Response Time 1959 milliseconds

Post Endpoint Call None

1046
PAM API Part 1

Supported Features NA

1.8.19.1 Data Types of Request and Response

Type Parameters Data Type Description

Request AccessKey string Access Key of the IAM user that is stored in the
sso_services table

SecretKey string Secret Key of the IAM user that is stores in the
sso_services table

RoleARN string The mapping between the roleArn and service


can be found in the ss_aws_user_role table

RoleName string Name of the role present in the roleArn

Duration string Duration of the time based access in seconds

Response AccessKey string Access Key of the IAM user that is stored in the
sso_services table

SecretKey string Secret Key of the IAM user that is stores in the
sso_services table

SessionToken string It is a temporary token

Expiration string This value refers to session token expiration


duration

Status bool This value will be like ‘true' or 'false’

Message string This value refers to the success or failure


message

1047
PAM API Part 1

1.8.19.2 Code Blocks for '/GetAwsSTS'

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://10.10.0.91:17522/api/ServicePassword/GetAwsSTS",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiIzRXo2TTM
weXM3Z0xuekhQUVI3L0gxcUI1bGgvNlFZYTZoN1llT3dwTFRVPSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q
6ODg5MC8iLCJhdWQiOiI4YTY0ZWNiNWFhMjk0YmY0YjZkOWViMmNiMDYzY2EyNSIsImV4cCI6MTYyNTkzMDQ
0NywibmJmIjoxNjI1ODQ0MDQ3fQ.XMVNhkxBwq0W08HkijTTyVMkeHCQ1rN_IAP_0tRokO0",
"Content-Type": "application/json",
"Cookie": "ASP.NET_SessionId=euh4j3ypscazrj33u1iohh2x"
},
"data": JSON.stringify([
{
"AccessKey": "AKIAUZ6RUBH3O2O2PUXK",
"SecretKey": "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",
"RoleARN": "arn:aws:iam::330615228918:role/ConnectorSTSRole",
"RoleName": "ConnectorSTSRole",
"Duration": "1"
}
]),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

1048
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://10.10.0.91:17522/api/ServicePassword/GetAwsSTS")


;
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiIzRXo2TTM
weXM3Z0xuekhQUVI3L0gxcUI1bGgvNlFZYTZoN1llT3dwTFRVPSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q
6ODg5MC8iLCJhdWQiOiI4YTY0ZWNiNWFhMjk0YmY0YjZkOWViMmNiMDYzY2EyNSIsImV4cCI6MTYyNTkzMDQ
0NywibmJmIjoxNjI1ODQ0MDQ3fQ.XMVNhkxBwq0W08HkijTTyVMkeHCQ1rN_IAP_0tRokO0");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Cookie", "ASP.NET_SessionId=euh4j3ypscazrj33u1iohh2x");
var body = @"[" + "\n" +
@" {" + "\n" +
@" ""AccessKey"": ""AKIAUZ6RUBH3O2O2PUXK""," + "\n" +
@" ""SecretKey"": ""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""," + "\n" +
@" ""RoleARN"": ""arn:aws:iam::330615228918:role/ConnectorSTSRole""," + "\n"
+
@" ""RoleName"": ""ConnectorSTSRole""," + "\n" +
@" ""Duration"": ""1""" + "\n" +
@" }" + "\n" +
@"]";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1049
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "[\n {\n \"AccessKey\":
\"AKIAUZ6RUBH3O2O2PUXK\",\n \"SecretKey\":
\"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\",\n \"RoleARN\":
\"arn:aws:iam::330615228918:role/ConnectorSTSRole\",\n \"RoleName\":
\"ConnectorSTSRole\",\n \"Duration\": \"1\"\n }\n]");
Request request = new Request.Builder()
.url("http://10.10.0.91:17522/api/ServicePassword/GetAwsSTS")
.method("POST", body)
.addHeader("Authorization", "bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiIzRXo2TTM
weXM3Z0xuekhQUVI3L0gxcUI1bGgvNlFZYTZoN1llT3dwTFRVPSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q
6ODg5MC8iLCJhdWQiOiI4YTY0ZWNiNWFhMjk0YmY0YjZkOWViMmNiMDYzY2EyNSIsImV4cCI6MTYyNTkzMDQ
0NywibmJmIjoxNjI1ODQ0MDQ3fQ.XMVNhkxBwq0W08HkijTTyVMkeHCQ1rN_IAP_0tRokO0")
.addHeader("Content-Type", "application/json")
.addHeader("Cookie", "ASP.NET_SessionId=euh4j3ypscazrj33u1iohh2x")
.build();
Response response = client.newCall(request).execute();

1050
PAM API Part 1

Code For Python Using Requests

import requests
import json

url = "http://10.10.0.91:17522/api/ServicePassword/GetAwsSTS"

payload = json.dumps([
{
"AccessKey": "AKIAUZ6RUBH3O2O2PUXK",
"SecretKey": "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",
"RoleARN": "arn:aws:iam::330615228918:role/ConnectorSTSRole",
"RoleName": "ConnectorSTSRole",
"Duration": "1"
}
])
headers = {
'Authorization': 'bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiRGVmYXVsdCIsIkFQSVVzZXIiOiIzRXo2TTM
weXM3Z0xuekhQUVI3L0gxcUI1bGgvNlFZYTZoN1llT3dwTFRVPSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q
6ODg5MC8iLCJhdWQiOiI4YTY0ZWNiNWFhMjk0YmY0YjZkOWViMmNiMDYzY2EyNSIsImV4cCI6MTYyNTkzMDQ
0NywibmJmIjoxNjI1ODQ0MDQ3fQ.XMVNhkxBwq0W08HkijTTyVMkeHCQ1rN_IAP_0tRokO0',
'Content-Type': 'application/json',
'Cookie': 'ASP.NET_SessionId=euh4j3ypscazrj33u1iohh2x'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

1051
PAM API Part 1

2 ServicePasswordDependancy
Services Dependancies for Password Change helps to add dependant child services to the parent service,
wherein when the password of the parent service is changed then the password of the child service is
automatically changed.

2.1 SetServicepwdDependancy
This API is used to Set Service Dependency.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/SetServicepwdDependancy

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceID_Main": 5,
"ServiceID_On": "126",
"Dependancy_Type": 3
}

1052
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 03:30:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Mapped Successfully",
"Result": [
{
"ResultMessage": "Password Dependancy Set Successfully"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA

2.1.1 Data Types of Request and Response


Type Parameters Data Type Description

Request ServiceID_Main int This value refers to the id of the main service
present in ARCON PAM

ServiceID_On string This value refers to the id of the parent service


present in ARCON PAM

Dependancy_Type int This value refers to the dependency type for the
service present in ARCON PAM

Response ResultMessage string This value refers to the success or failure


message

1053
PAM API Part 1

2.1.2 Code Blocks for ‘/SetServicepwdDependancy’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
SetServicepwdDependancy",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({"ServiceID_Main":"5","ServiceID_On":"126","Dependancy_Type
":"3"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/SetServicepwdDependancy");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "\t{\n\t\t\"ServiceID_Main\":\"5\",
\n\t\t\"ServiceID_On\":\"126\",\n\t\t\"Dependancy_Type\":\"3\"\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1054
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n\t\t\"ServiceID_Main\":\"5\",
\n\t\t\"ServiceID_On\":\"126\",\n\t\t\"Dependancy_Type\":\"3\"\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
SetServicepwdDependancy")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
SetServicepwdDependancy"

payload = "\t{\n\t\t\"ServiceID_Main\":\"5\",\n\t\t\"ServiceID_On\":\"126\",
\n\t\t\"Dependancy_Type\":\"3\"\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.2 RemoveServicepwdDependancy
This API is used to remove dependency from a service.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/RemoveServicepwdDependancy

Available in API All versions


Version

Release Version U3

1055
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceID_Main": 5,
"ServiceID_On": "126",
"Dependancy_Type": 3
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 4:47:36",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Unmapped Successfully",
"Result": [
{
"ResultMessage": "Password Dependancy Removed Successfully"
}
]
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA

2.2.1 Data Types of Request and Response


Type Parameters Data Type Description

Request ServiceID_Main int This value refers to the id of the main service
present in ARCON PAM

ServiceID_On string This value refers to the id of the parent service


present in ARCON PAM

1056
PAM API Part 1

Type Parameters Data Type Description

Dependancy_Type int This value refers to the dependency type for the
service present in ARCON PAM

Response ResultMessage string This value refers to the success or failure


message

2.2.2 Code Blocks for ‘/RemoveServicepwdDependancy’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
RemoveServicepwdDependancy",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({"ServiceID_Main":"5","ServiceID_On":"126","Dependancy_Type
":"3"}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/RemoveServicepwdDependancy");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "\t{\n\t\t\"ServiceID_Main\":\"5\",
\n\t\t\"ServiceID_On\":\"126\",\n\t\t\"Dependancy_Type\":\"3\"\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1057
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n\t\t\"ServiceID_Main\":\"5\",
\n\t\t\"ServiceID_On\":\"126\",\n\t\t\"Dependancy_Type\":\"3\"\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
RemoveServicepwdDependancy")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
RemoveServicepwdDependancy"

payload = "\t{\n\t\t\"ServiceID_Main\":\"5\",\n\t\t\"ServiceID_On\":\"126\",
\n\t\t\"Dependancy_Type\":\"3\"\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.3 GetActiveServiceList
This API is used to fetch details of all active services.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/GetActiveServiceList

Available in API All versions


Version

Release Version U3

1058
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/JSON Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body {
"ServiceTypeId":1,
"LOBId":12
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 5:22:36",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"ServiceId": 127,
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "User2778",
"ServiceDomain": "ATSTESTDC",
"DBInstance": ""
},
{
"ServiceId": 128,
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "User2779",
"ServiceDomain": "ATSTESTDC",
"DBInstance": ""
}
]
}

Response Time 347 milliseconds

Post Endpoint Call All API's

Supported Features NA

1059
PAM API Part 1

2.3.1 Data Types of Request and Response


Type Parameters Data Type Description

Request ServiceTypeId int This value refers to the id of the service type
present in ARCON PAM

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

Response ServiceId int This value refers to the id of the service present in
ARCON PAM

IpAddress string This value refers to the IP address of the service


present in ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

ServiceDomain string This value refers to the domain name of the


service present in ARCON PAM

DBInstance string This value refers to the instance name of the


service present in ARCON PAM

2.3.2 Code Blocks for ‘/GetActiveServiceList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({"ServiceTypeId":1,"LOBId":12}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

1060
PAM API Part 1

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/GetActiveServiceList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json",
"\t{\n\t\t\"ServiceTypeId\":1,\n\t\t\"LOBId\":12\n\t}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType,
"\t{\n\t\t\"ServiceTypeId\":1,\n\t\t\"LOBId\":12\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

1061
PAM API Part 1

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList"

payload = "\t{\n\t\t\"ServiceTypeId\":1,\n\t\t\"LOBId\":12\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.4 GetPasswordDependancyTypeList
This API is used to fetch the type of dependency which is used in Set Service Dependency API.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/GetPasswordDependancytypeList

Available in API All versions


Version

Release Version U3

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

1062
PAM API Part 1

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 06:30:47",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "4 Records Found",
"Result": [
{
"PDM_ID": 0,
"PDM_Name": "None"
},
{
"PDM_ID": 1,
"PDM_Name": "Change Password - Process With Same Password"
},
{
"PDM_ID": 2,
"PDM_Name": "Change Password - Process With New Password"
},
{
"PDM_ID": 3,
"PDM_Name": "Change Password - Update Service Password Only"
}
]
}

Response Time 189 milliseconds

Post Endpoint Call All API's

Supported Features NA

2.4.1 Data Types of Request and Response


Type Parameters Data Type Description

Request No Parameters

Response PDM_ID int This value refers to the id of the password


dependency type present in ARCON PAM

PDM_Name string This value refers to the name of the password


dependency type present in ARCON PAM

1063
PAM API Part 1

2.4.2 Code Blocks for ‘/GetPasswordDependancytypeList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetPasswordDependancytypeList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/GetPasswordDependancytypeList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "\t{\n\t\t\n\t}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1064
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{\n\t\t\n\t}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetPasswordDependancytypeList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetPasswordDependancytypeList"

payload = "\t{\n\t\t\n\t}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.5 UpdateDependentServicePassword
This API is used to update the dependent password of the service.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/UpdateDependentServicePassword

Available in API All versions


Version

Release Version U4

Pre Endpoint Call /arconToken

1065
PAM API Part 1

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"ServiceId":114307
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "22/Jul/2020 01:13:31",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "Password Modified Successfully",
"Result": true
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA

2.5.1 Data Types of Request and Response


Type Parameters Data Type Description

Request ServiceId int This value refers to the id of the service present
in ARCON PAM

Response Message string This value refers to the success or failure


message

1066
PAM API Part 1

2.5.2 Code Blocks for ‘/UpdateDependentServicePassword’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
UpdateDependentServicePassword",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9VOc"
},
"data": JSON.stringify({"ServiceId":114307}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/UpdateDependentServicePassword");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc");
request.AddParameter("application/json", "{\r\n \"ServiceId\":114307\r\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1067
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"ServiceId\":114307\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
UpdateDependentServicePassword")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
UpdateDependentServicePassword"

payload = "{\r\n \"ServiceId\":114307\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9VOc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.6 GetDependantServiceList
This API is used to get the dependent services list of the service.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/GetDependantServiceList

Available in API All versions


Version

Release Version U4

1068
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"Service_Id":114307,
"LOBId":1
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "22/Jul/2020 02:23:54",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "No Record Found",
"Result": []
}

Response Time 281 milliseconds

Post Endpoint Call All API's

Supported Features NA

2.6.1 Data Types of Request and Response


Type Parameters Data Type Description

Request Service_Id int This value refers to the id of the service present in
ARCON PAM

LOBId int This value refers to the id of the LOB profile


present in ARCON PAM

Response Result string This value refers to the success or failure


message

1069
PAM API Part 1

2.6.2 Code Blocks for ‘/GetDependantServiceList’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetDependantServiceList",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]9VOc"
},
"data": JSON.stringify({"Service_Id":114307,"LOBId":1}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/GetDependantServiceList");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc");
request.AddParameter("application/json", "{\r\n \"Service_Id\":114307,\r\n
\"LOBId\":1\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1070
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n
\"Service_Id\":114307,\r\n \"LOBId\":1\r\n}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetDependantServiceList")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]9VOc")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetDependantServiceList"

payload = "{\r\n \"Service_Id\":114307,\r\n \"LOBId\":1\r\n}"


headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]9VOc'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.7 GetActiveServiceList_QuickSearch
This Api is use to fetch active service list.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/GetActiveServiceList_QuickSearch

Available in API All versions


Version

Release Version U13

1071
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params -- - - -

Headers Content-Type application/json Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body
{
"PARAM":"WIN2K3_ARCONSRV13"
}

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "15/Feb/2021 01:14:02",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "1 Records Found",
"Result": [
{
"ServiceId": 7021,
"IpAddress": "192.168.0.241",
"HostName": "WIN2K3_ARCONSRV13",
"ServiceUserName": "Administrator",
"ServiceDomainName": "ARCON",
"ServiceDomainID": 0,
"LOBID": 3,
"LOBNAME": "DEFAULT TEST LOB",
"ServiceTypeID": 1,
"ServiceTypeName": "Windows RDP",
"DBInstance": "",
"Port": "33891",
"Description1": "Domain Server",
"Description2": "<WKG>",
"Description3": ""
}
]
}

Response Time 345 milliseconds

Post Endpoint Call NA

1072
PAM API Part 1

Supported Features NA

2.7.1 Data Types of Request and Response


Type Parameters Data Type Description

Request PARAM string This value refers to the server host present in
service table in ARCON PAM

Mandatory Parameter.

Response ServiceId string This value refers to the id of the service present in
ARCON PAM

HostName string This value refers to the hostname of the service


present in ARCON PAM

ServiceUserName string This value refers to the username of the service


present in ARCON PAM

ServiceDomainNa string This value refers to domain name of the service


me present in ARCON PAM

ServiceDomainID int This value refers to domain id of the service


present in ARCON PAM

LOBID int This value refers to the id of LOB under which the
service belongs in ARCON PAM

LOBNAME string This value refers to the name of the LOB present
in ARCON PAM

ServiceTypeID int This value refers to the id of the service type


present in ARCON PAM

ServiceTypeName string This value refers to the name of the service type
present in ARCON PAM

DBInstance string This value refers to the instance name of the


service present in ARCON PAM

Port Date time This value refers to the port

Description1 string This value refers to the Description 1

Description2 string This value refers to the Description 2

Description3 string This value refers to the Description 3

1073
PAM API Part 1

2.7.2 Code Blocks for ‘/GetActiveServiceList_QuickSearch’

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList_QuickSearch",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[....Removed for brevity....]2Ras"
},
"data": "{\n\tPARAM:"WIN2K3_ARCONSRV13"\n}",
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/GetActiveServiceList_QuickSearch");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras");
request.AddParameter("application/json", "{\n\tPARAM:"WIN2K3_ARCONSRV13"\n}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1074
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\tPARAM:"WIN2K3_ARCONSRV13"\n}")
;
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList_QuickSearch")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[....Removed for brevity....]2Ras")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceList_QuickSearch"

payload = "{\n\tPARAM:"WIN2K3_ARCONSRV13"\n}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[....Removed for brevity....]2Ras'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

2.8 GetActiveServiceListWithoutMandateValue
This API is used to fetch details of all active services.

Type of Request POST

Endpoint /api/ServicePasswordDependancy/GetActiveServiceListWithoutMandateValue

Available in API All versions


Version

Release Version U16

1075
PAM API Part 1

Pre Endpoint Call /arconToken

Request Params - - - -

Headers Content-Type application/JSON Mandatory -

Authorization bearer eyJ0[...


Removed for
brevity ....]q0gs

x-PAM-Version - Not Applicable -

Body -

Response
{
"Program": "ARCON PAM API",
"Version": "1.0",
"DateTime": "03/Jun/2020 5:22:36",
"Success": true,
"ErrorCode": null,
"ErrorMessage": null,
"Message": "2 Records Found",
"Result": [
{
"ServiceId": 127,
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "User2778",
"ServiceDomain": "ATSTESTDC",
"DBInstance": ""
"LobName":"DEFAULT LOB 1",
"ServiceType":"Windows"
},
{
"ServiceId": 128,
"IpAddress": "10.10.0.71",
"HostName": "ATSTEST",
"ServiceUserName": "User2779",
"ServiceDomain": "ATSTESTDC",
"DBInstance": "",
"LobName":"DEFAULT LOB 1",
"ServiceType":"Windows"
}
]
}

Response Time 347 milliseconds

Post Endpoint Call All API's

Supported Features NA

1076
PAM API Part 1

2.8.1 Data Types of Request and Response

Code For Javascript - Jquery Using AJAX

var settings = {
"url": "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceListWithoutMandateValue",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer eyJ0[.... Removed for brevity ....]N2fE"
},
"data": JSON.stringify({}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

Code For C# Using RestSharp

var client = new RestClient("http://pamapi.arconnet.com/api/


ServicePasswordDependancy/GetActiveServiceListWithoutMandateValue");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer eyJ0[.... Removed for
brevity ....]N2fE");
request.AddParameter("application/json", "\t{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

1077
PAM API Part 1

Code For Java Using OkHttp

OkHttpClient client = new OkHttpClient().newBuilder()


.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "\t{}");
Request request = new Request.Builder()
.url("http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceListWithoutMandateValue")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer eyJ0[.... Removed for brevity ....]N2fE")
.build();
Response response = client.newCall(request).execute();

Code For Python Using Requests

import requests

url = "http://pamapi.arconnet.com/api/ServicePasswordDependancy/
GetActiveServiceListWithoutMandateValue"

payload = "\t{}"
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJ0[.... Removed for brevity ....]N2fE'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

1078
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any
means such as electronic, mechanical, photocopying, recording, or otherwise without permission.

You might also like