The Security API is a set of endpoints that allow your applications to log on, log off, and discover Alliant System and Application Layers.'
Login
Log in to Alliant to acquire an Alliant session Security Token. An Alliant session Security Token is returned in token
response property. It is valid until the time indicated in the expires
response property
or until a you logout. You must pass the Alliant session Security Token to all requests that require TokenAuth in the HTTP X-AlliantSession request header.
query Parameters
systemLayer required | string System Layer Name. You can request a list of the Alliant System Layers configured on the Web Server using the List the Alliant System Layers endpoint. Example: systemLayer=Alliant |
applicationLayer required | string Application Layer Name. You can request a list of the Alliant Application Layers configured on the Web Server using the List the Alliant Application Layers for a specific Alliant System Layer endpoint. Example: applicationLayer=Alliant_prod |
OK
Bad Request
Unauthorized
Forbidden
Conflict
Internal Server Error
- 200
- 400
- 401
- 403
- 409
- 500
{- "result": {
- "token": "RsBQJVjdxaCIyOR8MusNqokWxFGH0JL4gGum03sY/mukGTtfzhQGeyQwNlfbuwgn",
- "expires": "2021-08-06T15:52:50.72",
- "expiresUtc": "2021-08-07T01:52:50.72"
}, - "errors": [ ],
- "warnings": [ ],
- "hasErrors": false,
- "hasWarnings": false
}
Logout
Log off the Alliant User associated with an Alliant session Security Token provided in the request. This request invalidates the Alliant session Security Token.
OK
Internal Server Error
- 200
- 500
{- "result": "Bye",
- "errors": [ ],
- "warnings": [ ],
- "hasErrors": false,
- "hasWarnings": false
}
List the Alliant System Layers
Request a list of the Alliant System Layers that are available on the Alliant Web Server.
OK
Internal Server Error
- 200
- 500
{- "result": [
- {
- "key": "Alliant72",
- "displayName": "Alliant72"
}
], - "errors": [ ],
- "warnings": [ ],
- "hasErrors": false,
- "hasWarnings": false
}
List the Alliant Application Layers for an Alliant System Layer
Request a list of the Alliant Application Layers that are available for a System Layer on the Alliant Web Server.
OK
Not Found
Internal Server Error
- 200
- 404
- 500
{- "result": [
- "Alliant72_Master",
- "Alliant72_Test",
- "Alliant72_Deploy"
], - "errors": [ ],
- "warnings": [ ],
- "hasErrors": false,
- "hasWarnings": false
}