Logging in and out - BlueCat Integrity - 9.5.0

Address Manager Legacy v1 API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.5.0

Log in as an API user using the login method:
## log in and establish a session
$service->login(
SOAP::Data->name('username')->
            value('apiUserName')->
            type('string')->
            attr({xmlns => ''}),
SOAP::Data->name('password')->
            value('apiUserPassword')->
            type('string')->
            attr({xmlns => ''}) );
When finished with your API session, log out using the logout method:
$service->logout();
Note: While a session will expire based on the Session Timeout value set on the Configure Global Settings page of the Address Manager web interface, BlueCat recommends using the logout method to close the API user session.