Web service API

How to use PageSeeder's Web service API

get self

/self [GET]

com.pageseeder.member.SelfMember

Description

Returns the member details for the member that is currently authenticated.

Parameters

No parameters required.

Permission

Only the member herself can invoke this service.

Response

This service returns the extended <member> element and will include the email address and admin flag.

The XML returned is always:

<member id="[member id]"
        firstname="[first name]"
        surname="[surname]"
        username="[username]"
        status="[activated|unactivated]"
       [onvacation="true"]
       [attachments="true"]
       [created="[date]"]
       [activated="[date]"]
       [lastpasswordchange="[date]"]
       [lastlogin="[date]"]
       [locked="true"]
       [admin="true"]>
   <fullname>[full name]</fullname>
</member>

For example:

<member id="123" firstname="Joan" surname="Smith" username="jsmith" status="activated">
  <fullname>Joan Smith</fullname>
</member> 

Error handling

CodeCause / Description
0x1029 A member is not logged in
0x102A Member not found

Created on , last edited on