PSN API
Click here for a complete list of operations.
getPSNID
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ps3/api/psn.asmx HTTP/1.1
Host: www.psnapi.com.ar
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.psnapi.com.ar/ps3/api/getPSNID"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getPSNID xmlns="http://www.psnapi.com.ar/ps3/api">
<sPSNID>string</sPSNID>
</getPSNID>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getPSNIDResponse xmlns="http://www.psnapi.com.ar/ps3/api">
<getPSNIDResult>
<ID>string</ID>
<AvatarSmall>string</AvatarSmall>
<AvatarMedium>string</AvatarMedium>
<Avatar>string</Avatar>
<AboutMe>string</AboutMe>
<Level>int</Level>
<Progress>int</Progress>
<Trophies>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData />
</Trophies>
<Games>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount xsi:nil="true" />
<Trophies xsi:nil="true" />
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData xsi:nil="true" />
</Game>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount xsi:nil="true" />
<Trophies xsi:nil="true" />
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData xsi:nil="true" />
</Game>
</Games>
<UpdateSignature>dateTime</UpdateSignature>
<UpdateDate>dateTime</UpdateDate>
<UpdateGamesDate>dateTime</UpdateGamesDate>
<Country>
<IdCountry>int</IdCountry>
<Culture>string</Culture>
<Descripcion>string</Descripcion>
<Bandera>string</Bandera>
<ExtensionData />
</Country>
<Ranking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</Ranking>
<CountryRanking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</CountryRanking>
<Status>
<Online>boolean</Online>
<Away>boolean</Away>
<Comment>string</Comment>
<Mode>string</Mode>
<ObjectId>string</ObjectId>
<Playing>string</Playing>
<Title>string</Title>
<ExtensionData />
</Status>
<LastSeen>dateTime</LastSeen>
<Identity>string</Identity>
<LevelData>
<Points>int</Points>
<Floor>int</Floor>
<Ceiling>int</Ceiling>
<Progress>int</Progress>
<level>int</level>
<ExtensionData />
</LevelData>
<Plus>boolean</Plus>
<jid>string</jid>
<panelUrl>string</panelUrl>
<GameCompletion>double</GameCompletion>
<server>string</server>
<Alias>string</Alias>
<Background>
<R>string</R>
<G>string</G>
<B>string</B>
<A>string</A>
<ExtensionData />
</Background>
</getPSNIDResult>
</getPSNIDResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ps3/api/psn.asmx HTTP/1.1
Host: www.psnapi.com.ar
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<getPSNID xmlns="http://www.psnapi.com.ar/ps3/api">
<sPSNID>string</sPSNID>
</getPSNID>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<getPSNIDResponse xmlns="http://www.psnapi.com.ar/ps3/api">
<getPSNIDResult>
<ID>string</ID>
<AvatarSmall>string</AvatarSmall>
<AvatarMedium>string</AvatarMedium>
<Avatar>string</Avatar>
<AboutMe>string</AboutMe>
<Level>int</Level>
<Progress>int</Progress>
<Trophies>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData />
</Trophies>
<Games>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount xsi:nil="true" />
<Trophies xsi:nil="true" />
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData xsi:nil="true" />
</Game>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount xsi:nil="true" />
<Trophies xsi:nil="true" />
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData xsi:nil="true" />
</Game>
</Games>
<UpdateSignature>dateTime</UpdateSignature>
<UpdateDate>dateTime</UpdateDate>
<UpdateGamesDate>dateTime</UpdateGamesDate>
<Country>
<IdCountry>int</IdCountry>
<Culture>string</Culture>
<Descripcion>string</Descripcion>
<Bandera>string</Bandera>
<ExtensionData />
</Country>
<Ranking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</Ranking>
<CountryRanking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</CountryRanking>
<Status>
<Online>boolean</Online>
<Away>boolean</Away>
<Comment>string</Comment>
<Mode>string</Mode>
<ObjectId>string</ObjectId>
<Playing>string</Playing>
<Title>string</Title>
<ExtensionData />
</Status>
<LastSeen>dateTime</LastSeen>
<Identity>string</Identity>
<LevelData>
<Points>int</Points>
<Floor>int</Floor>
<Ceiling>int</Ceiling>
<Progress>int</Progress>
<level>int</level>
<ExtensionData />
</LevelData>
<Plus>boolean</Plus>
<jid>string</jid>
<panelUrl>string</panelUrl>
<GameCompletion>double</GameCompletion>
<server>string</server>
<Alias>string</Alias>
<Background>
<R>string</R>
<G>string</G>
<B>string</B>
<A>string</A>
<ExtensionData />
</Background>
</getPSNIDResult>
</getPSNIDResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ps3/api/psn.asmx/getPSNID?sPSNID=string HTTP/1.1 Host: www.psnapi.com.ar
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<PSNId xmlns="http://www.psnapi.com.ar/ps3/api">
<ID>string</ID>
<AvatarSmall>string</AvatarSmall>
<AvatarMedium>string</AvatarMedium>
<Avatar>string</Avatar>
<AboutMe>string</AboutMe>
<Level>int</Level>
<Progress>int</Progress>
<Trophies>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData />
</Trophies>
<Games>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</TrophiesCount>
<Trophies>
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Trophies>
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData />
</Game>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</TrophiesCount>
<Trophies>
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Trophies>
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData />
</Game>
</Games>
<UpdateSignature>dateTime</UpdateSignature>
<UpdateDate>dateTime</UpdateDate>
<UpdateGamesDate>dateTime</UpdateGamesDate>
<Country>
<IdCountry>int</IdCountry>
<Culture>string</Culture>
<Descripcion>string</Descripcion>
<Bandera>string</Bandera>
<ExtensionData />
</Country>
<Ranking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</Ranking>
<CountryRanking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</CountryRanking>
<Status>
<Online>boolean</Online>
<Away>boolean</Away>
<Comment>string</Comment>
<Mode>string</Mode>
<ObjectId>string</ObjectId>
<Playing>string</Playing>
<Title>string</Title>
<ExtensionData />
</Status>
<LastSeen>dateTime</LastSeen>
<Identity>string</Identity>
<LevelData>
<Points>int</Points>
<Floor>int</Floor>
<Ceiling>int</Ceiling>
<Progress>int</Progress>
<level>int</level>
<ExtensionData />
</LevelData>
<Plus>boolean</Plus>
<jid>string</jid>
<panelUrl>string</panelUrl>
<GameCompletion>double</GameCompletion>
<server>string</server>
<Alias>string</Alias>
<Background>
<R>string</R>
<G>string</G>
<B>string</B>
<A>string</A>
<ExtensionData />
</Background>
</PSNId>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ps3/api/psn.asmx/getPSNID HTTP/1.1 Host: www.psnapi.com.ar Content-Type: application/x-www-form-urlencoded Content-Length: length sPSNID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<PSNId xmlns="http://www.psnapi.com.ar/ps3/api">
<ID>string</ID>
<AvatarSmall>string</AvatarSmall>
<AvatarMedium>string</AvatarMedium>
<Avatar>string</Avatar>
<AboutMe>string</AboutMe>
<Level>int</Level>
<Progress>int</Progress>
<Trophies>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData />
</Trophies>
<Games>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</TrophiesCount>
<Trophies>
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Trophies>
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData />
</Game>
<Game>
<Id>string</Id>
<IdGameEurope>string</IdGameEurope>
<Title>string</Title>
<Image>string</Image>
<Guide>string</Guide>
<TitleOnGuide>string</TitleOnGuide>
<Progress>int</Progress>
<TrophiesCount>
<Earned>int</Earned>
<Total>int</Total>
<Platinum>int</Platinum>
<Gold>int</Gold>
<Silver>int</Silver>
<Bronze>int</Bronze>
<ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</TrophiesCount>
<Trophies>
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Trophy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Trophies>
<OrderPlayed>int</OrderPlayed>
<Updated>boolean</Updated>
<LastUpdated>dateTime</LastUpdated>
<Released>dateTime</Released>
<TotalPoints>int</TotalPoints>
<TotalTrophies>int</TotalTrophies>
<UserPoints>int</UserPoints>
<Stars>double</Stars>
<Reviews>int</Reviews>
<Platform>string</Platform>
<ExtensionData />
</Game>
</Games>
<UpdateSignature>dateTime</UpdateSignature>
<UpdateDate>dateTime</UpdateDate>
<UpdateGamesDate>dateTime</UpdateGamesDate>
<Country>
<IdCountry>int</IdCountry>
<Culture>string</Culture>
<Descripcion>string</Descripcion>
<Bandera>string</Bandera>
<ExtensionData />
</Country>
<Ranking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</Ranking>
<CountryRanking>
<Position>int</Position>
<Total>int</Total>
<ExtensionData />
</CountryRanking>
<Status>
<Online>boolean</Online>
<Away>boolean</Away>
<Comment>string</Comment>
<Mode>string</Mode>
<ObjectId>string</ObjectId>
<Playing>string</Playing>
<Title>string</Title>
<ExtensionData />
</Status>
<LastSeen>dateTime</LastSeen>
<Identity>string</Identity>
<LevelData>
<Points>int</Points>
<Floor>int</Floor>
<Ceiling>int</Ceiling>
<Progress>int</Progress>
<level>int</level>
<ExtensionData />
</LevelData>
<Plus>boolean</Plus>
<jid>string</jid>
<panelUrl>string</panelUrl>
<GameCompletion>double</GameCompletion>
<server>string</server>
<Alias>string</Alias>
<Background>
<R>string</R>
<G>string</G>
<B>string</B>
<A>string</A>
<ExtensionData />
</Background>
</PSNId>