-
Notifications
You must be signed in to change notification settings - Fork 0
Login
- Login
Accepts an account username and password, verifies them and provides an encrypted cookie that can be used to authenticate additional API transactions.
URL https://[instance-name]:[port]/SecurityService/Login Method POST Input Username (Text) Username for the Lockpath application account.
Password (Text) Password for the Lockpath application.Output A cookie to establish sessions within the component services API. Permissions The account that is used to log into the application must have access to the Lockpath API.
Users must also have appropriate permissions for any data they wish to access or manipulate.
In this example, cURL uses the –c option to store the encrypted cookie that is returned in a file. The cookie can be sent to authenticate all data manipulation commands in the ComponentService API with a single cURL command line switch (-b). The response sample includes both the header of the response (to view the cookie) and the XML response.
curl -c cookie.txt -H "content-type: application/xml;charset=utf-8" -X POST -d
"<Login><username>username</username><password>password</password></Login>"
https://[instance-name]:[port]/SecurityService/Logincurl -c cookie.txt -H "content-type: application/json" -H "Accept: application/json" -X POST
-d "{ \"username\": \"user1\", \"password\": \"12345\" }"
https://[instance-name]:[port]/SecurityService/LoginBack to PowerShellForLockpath
Import-LockpathConfiguration
Remove-LockpathCredential
Reset-LockpathConfiguration
Set-LockpathConfiguration
Set-LockpathCredential
Show-LockpathConfiguration
Get-LockpathComponent
Get-LockpathComponentByAlias
Get-LockpathComponentList
Get-LockpathField
Get-LockpathFieldList
Get-LockpathFieldLookupReportColumns
Get-LockpathRecord
Get-LockpathRecordAttachment
Get-LockpathRecordAttachments
Get-LockpathRecordCount
Get-LockpathRecordDetail
Get-LockpathRecords
Get-LockpathRecordsAvailableForLookup
Get-LockpathRecordsDetails
Import-LockpathFile
New-LockpathRecord
Remove-LockpathRecord
Remove-LockpathRecordAttachments
Set-LockpathRecord
Set-LockpathRecordAttachments
Set-LockpathRecordTransition
Set-LockpathRecordVote
Get-LockpathGroup
Get-LockpathGroups
Get-LockpathGroupsDetails
Get-LockpathUser
Get-LockpathUserCount
Get-LockpathUsers
Get-LockpathUsersDetails
Get-LockpathWorkflow
Get-LockpathWorkflows
New-LockpathGroup
New-LockpathUser
Remove-LockpathGroup
Remove-LockpathUser
Send-LockpathLogin
Send-LockpathLogout
Send-LockpathPing
Set-LockpathGroup
Set-LockpathUser