PMessage.get

Description

Returns the messages in a personal message conversation. Requires OAuth authentification.

Method

GET

Endpoint

Parameters

Required Name Type Description
required msgid string The id of the firt message in a conversation.

Example Request

Example Return XML

<PMessageSet xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
  <Count>2</Count> 
  <PMessages> 
    <PMessage> 
      <Body>Since yours is an old account...</Body> 
      <Date>2008-02-25T15:03:36.05</Date> 
      <Recipient>xxx</Recipient> 
      <Sender>xxx</Sender> 
    </PMessage> 
    <PMessage> 
      <Body>yes they do. Nice app!Body> 
      <Date>2008-02-25T15:06:14.753</Date> 
      <Recipient>xxx</Recipient> 
      <Sender>xxx</Sender> 
    </PMessage> 
  </PMessages> 
  <Subject i:nil="true" /> 
</PMessageSet>

Example Return JSON

{
  "Count":2,
  "PMessages":[
    {"Body":"Since yours is an old account...","Date":"\/Date(1203951816050+0000)\/",
      "Recipient":"xxx","Sender":"xxx"},
    {"Body":"yes they do. Nice app!Date":"\/Date(1203951974753+0000)\/",
      "Recipient":"xxx","Sender":"xxx"}
  ],
  "Subject":null
}

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/pmessage.get.txt · Last modified: 2008/10/20 15:29 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