Ascio Web Service v2
Python LogIn
Before you can access the AWS functionality, you must log into the service using your Ascio
account username and password. You only need to log in once per session, as the login
function returns a unique sessionId that can be used in next calls. Each sessionId remains
valid until you call the logout function or after twenty minutes of inactivity. It is possible to have multiple sessions at the same time.
Response LogIn(Session session)
Response codes
ResultCode | Message | Value |
---|---|---|
200 | OK | |
401 | Authorization failed |
LogIn Request
Property |
---|
session |
LogInResponse
Property | Description |
---|---|
LogInResult | |
sessionId | You need the sessionId for all requests. Multiple sessionIds are possibe. You need to re-login after the session expires. Example: o58t9fjgw9bjarp6q7byv13e |
Python example
import zeep
import base64
from zeep import xsd, Client, Settings
# This is the test-environment. Please remove "demo." for the live-environment
wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl"
settings = Settings(strict=False)
client = zeep.Client(wsdl=wsdl, settings=settings)
# Session
session = {
"Account" : "AccountTest",
"Password" : "PasswordTest"
}
result = client.service.LogIn(session = session)
print(result)
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.