[RESTful Web-service Documentation v1.0]
go top

get-user-profile

return the user profile of an user account

Parameter

non

User-Authentication

required

Endpoint

http://rest.panthermedia.net/get-user-profile

Sample Request

POST http://rest.panthermedia.net/get-user-profile
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e7b0dada779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1f&access_key=9de82c2a78df66e615274eec2622b53795abb2dd&timestamp=Thu%2C%2002%20Aug%202012%2005%3A54%3A55%20UTC&nonce=123&algo=sha1&auth_token=c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474&access_token=da857e7ff0013b003185aee5cd41178bead62e46

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
  <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
  <user username="Morpheus" id="666">
    <firstname><![CDATA[Claire]]></firstname>
    <surname><![CDATA[Redfield]]></surname>
    <company><![CDATA[Umbrella Corporation]]></company>       
    <street><![CDATA[Mainstreet 2]]></street>
    <zipcode><![CDATA[99999]]></zipcode>
    <city><![CDATA[Redcoon]]></city>
    <country><![CDATA[de]]></country>
    <internet>
       <email rel="business"><value><![CDATA[cr@umbrellacorporation.com]]></value></email>
       <email rel="private"><value><![CDATA[xyz@mydom.com]]></value></email>
       ...
    </internet>
    <dail>
       <voice rel="business"><value><![CDATA[+112255555]]></value></voice>
       <fax rel="business"><value><![CDATA[+112255555]]></value></fax>
       ...
    </dail>
    <verified>false</verified>
    <verified_type>paypal</verified_type>
  </user>
</rsp>

possible rel attribute for email and dial numbers
business | private
possible tags for dial numbers
voice | fax | cell | video | pager | textphone