<< Back to oGoing API Documentation

DirectMessage/Inbox

Returns a list of the 20 most recent direct messages sent to the authenticating user.

URL:

http://api.ogoing.com/directmessage/inbox

Formats:

xml

Requires Authentication

True

Parameters

  • UserName - Specifies the username of the user.
  • Password - Password of user
  • PortalName - Portal name where user is registered.
  • PageIndex - PageIndex starts from 1. API returns 20 records per page.

Response

<ArrayOfOGoingUpdate>
   <oGoingUpdate>
      <ID>432621</ID>
      <LikedCount>1</LikedCount>
      <SendDirectToUserID>0</SendDirectToUserID>
      <IsFavorite>false</IsFavorite>
      <Text> This is very very secret message !!!...</Text>
      <CreatedOn>2009-12-31T06:48:23.83</CreatedOn>
      <User>
         <ID>334</ID>
         <UserName>mike</UserName>
         <FullName>Mike smith</FullName>
         <Location>Boston, MA</Location>
         <Email>mike.smith@ogoing.com</Email>
         <TimeZone>-10:00</TimeZone>
         <Description>Chief innovator and marketer at oGoing.</Description>
         <IsProtected>false</IsProtected>
         <NoOfFollower>20</NoOfFollower>
         <NoOfFollowing>35</NoOfFollowing>
         <UpdateCount>250</UpdateCount>
         <HomeTimelineCount>0</HomeTimeLineCount>
      </User>
   </oGoingUpdate>
   <oGoingUpdate>  ...   </oGoingUpdate>
   <oGoingUpdate>  ...   </oGoingUpdate>
         ...
<ArrayOfOGoingUpdate>

Usage Example

http://api.ogoing.com/directmessage/inbox?username=hiren&password=hirenman&portalname=http://www.ogoing.com&pageindex=1

<< Back to oGoing API Documentation