User.Profile.get

Description

Returns the profile details for a user. Requires OAuth authentification.

Method

GET

Endpoint

Parameters

Required Name Type Description

Example Request

Example Return XML

<ProfileSmall xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
  <Email>charlie@cixoffice.com</Email> 
  <FirstOn>1995-02-07T18:57:47</FirstOn> 
  <Fname>Charlie</Fname> 
  <LastOn>2008-10-16T13:28:22.287</LastOn> 
  <LastPost>2008-10-16T10:22:36</LastPost> 
  <Location>Huddersfield, UK</Location> 
  <Sex>m</Sex> 
  <Sname>Brook</Sname> 
  <Uname>charlie</Uname> 
</ProfileSmall>

Example Return JSON

{
  "Email":"charlie@cixoffice.com",
  "FirstOn":"\/Date(792183467000+0000)\/",
  "Fname":"Charlie",
  "LastOn":"\/Date(1224160102287+0100)\/",
  "LastPost":"\/Date(1224148956000+0100)\/",
  "Location":"Huddersfield, UK",
  "Sex":0,
  "Sname":"Brook",
  "Uname":"charlie"
}

Error Codes

Code Description
400 Bad request. Check input parameters.
401 Authentication failed. Missing required parameter : {parameter name}.
401 Signature expired. Either the timestamp or the nonce have expired or are invalid.
 
cix.api/user.profile.get.txt · Last modified: 2008/10/16 13:59 by charlie
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki