Information Technology Reference
In-Depth Information
P Table A.4 Return Fields for Login Calls
Name
Format
Description
session_id
Maximum of 64 characters
API partner identifier supplied by Yahoo!
Maximum of 128 characters
API partner password supplied by Yahoo!
server_url
As mentioned earlier, you should use the retrieved server Url for subsequent calls.
What follows is a code example of the login request and response so you can get
a better idea of what the fields represent.
login request:
<?xml version=”1.0” encoding=”utf-8”?>
<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<soapenv:Body>
<Login xmlns=”http://v3.soap.api.indextools.com”>
<PartnerId>PARTNERID</PartnerId>
<PartnerPassword>PARTNERPASSWORD</PartnerPassword>
<UserId>USERID</UserId>
<UserPassword>USERPASSWORD</UserPassword>
<secure>true</secure>
</Login>
</soapenv:Body>
</soapenv:Envelope>
353
login response:
<?xml version=”1.0” encoding=”utf-8”?>
<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<soapenv:Body>
<LoginResponse xmlns=”http://v3.soap.api.indextools.com”>
<ServerUrl> https://ondemand.indextools.com/IndexTools/services/IndexTools
ApiV3;jsessionid=FA60577E4AA2E30447D7502956C0D681
</ServerUrl>
<SessionId>FA60577E4AA2E30447D7502956C0D681</SessionId>
</LoginResponse>
</soapenv:Body>
</soapenv:Envelope>
Search WWH ::




Custom Search