Community articleReply content
Added by IBM contributorIBM on June 19, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Lists the elements in a reply entry as it is defined by Atom.



Lists the elements in a reply entry as it is defined by Atom.

All elements are in the http://www.w3.org/2005/Atom namespace, except those that are prefixed as follows:

snx
In the http://www.ibm.com/xmlns/prod/sn namespace.
thr
In the http://purl.org/syndication/thread/1.0 namespace.
Table 1. Reply entry elements
Element
How treated on input
Description
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="reply" label="Reply" />
Required
Identifies a reply entry.

Note: When you retrieve a reply created in IBM® Connections 2.0 from a version 1.0.x feed, the entry is represented as follows:

<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="comment" label="Reply"/>

Notice that the term attribute is set to comment instead of reply.
<content type="html">
Required
The formatted text content of the reply; may be empty
<title type="text">
Required
Entry title; the title of the reply specified in text format. The type attribute is optional; type="text" is the default and only format allowed.
<snx:position>
Optional
Position of the entry in the containing activity entry's array of fields. Use numbers separated by large increments to allow for repositioning. For example, use 1000, 2000, 3000, and so on. Choose a number that positions the entry relative to other entries in the activity. If a number is used more than once, the server renumbers the entries, while maintaining the relative positions of all entries.
<thr:in-reply-to ref="<unique_id>" type="application/atom+xml" href="<server_dns>/activities/service/atom2/activitynode?activityNodeUuid>" source="<unique_id>" />
Optional
Use this web address to obtain the parent of this entry.
<author>
  <name>
  <email>
  <snx:userid>
  <snx:ldapid>
  <snx:userState>
</author>

Ignored
The author of this entry. Accepts the <name> element as specified in the Atom specification. Also accepts the <snx:ldapid> and <snx:userid> elements. If IBM Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported. Otherwise, it can be used.
<contributor>
  <name>
  <email>
  <snx:userid>
  <snx:ldapid>
  <snx:userState>
</contributor>

Ignored
The person who contributed this entry. Accepts the <name> element as specified in the Atom specification. Also accepts the <snx:ldapid> and <snx:userid> elements. If IBM Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported. Otherwise, it can be used. The <snx:userid> element identifies whether the person is an active or inactive user.
<id>
Ignored
Unique identifier of a message node
<link rel="self" type="application/atom+xml" href="..."/>
Ignored
As defined in the Atom specification.
<link rel="edit" type="application/atom+xml" href="..."/>
Ignored
Use this web address to obtain the latest full content (not just summary) of this reply and to update or delete it.
<link rel="alternate" type="text/html" href="..."/>
Ignored
Use this web address to obtain a HTML representation of this reply suitable for display in a browser.
<link rel="alternate" type="application/xhtml+xml" href="..."/>
Ignored
As defined in the Atom specification.
<published>
Ignored
The date this entry was published, as defined in the Atom specification.
<snx:activity>
Ignored
Unique identifier of the activity in which the entry resides. This identifier is assigned to the activity by the server.
<updated>
Ignored
The date this entry was updated, as defined in the Atom specification.


Example

<entry>
  <id>urn:lsid:ibm.com:oa:BF6G0A0A0A0A1E1A06D960F1C3287F000042</id> 
  <title type="text">Untitled</title> 
  <updated>2008-02-29T14:48:55Z</updated> 
  <published>2008-01-25T22:28:58Z</published> 
  <author>
    <name>Michelle Jenkins</name> 
    <email>michelle_jenkins@us.example.com</email> 
    <snx:userid>937965j0-4f0c-1028-5a06-db07163b51b2</snx:userid>
    <snx:ldapid>96CG046E0E4B47BEF6967B3131AD5900026D</snx:ldapid>
  </author>
  <contributor>
    <name>Michelle Jenkins</name> 
    <email>michelle_jenkins@us.example.com</email> 
    <snx:userid>937965j0-4f0c-1028-5a06-db07163b51b2</snx:userid>
    <snx:ldapid>96CG046E0E4B47BEF6967B3131AD5900026D</snx:ldapid> 
  </contributor>
  <category 
   scheme="http://www.ibm.com/xmlns/prod/sn/type" term="reply" label="Reply" /> 
  <thr:in-reply-to 
   ref="urn:lsid:ibm.com:oa:592G0A0A0A0A1E1A06D960F1C3287F00001F" 
   type="application/atom+xml" 
   href="https://sales.enterprise.example.com/activities/service/atom2/
    activitynode?activityNodeUuid=592G0A0A0A0A1E1A06D960F1C3287F00001F" 
   source="urn:lsid:ibm.com:oa:3F8G0A0A0A0AAAF115C2B208A75140000002" /> 
  <snx:activity>3F8G0A0A0A0AAAF115C2B208A75140000002</snx:activity> 
  <link 
   rel="edit" 
   type="application/atom+xml" 
   href="https://sales.enterprise.example.com/activities/service/atom2/
    activitynode?activityNodeUuid=BF6G0A0A0A0A1E1A06D960F1C3287F000042" /> 
  <link 
   rel="self" type="application/atom+xml" 
   href="https://sales.enterprise.example.com/activities/service/atom2/
    activitynode?activityNodeUuid=BF6G0A0A0A0A1E1A06D960F1C3287F000042" /> 
  <link 
   rel="alternate" 
   type="application/xhtml+xml" 
   href="https://sales.enterprise.example.com:443/activities/service/html2/
    activityentry?uuid=BF6G0A0A0A0A1E1A06D960F1C3287F000042" /> 
  <link 
   rel="alternate" 
   type="text/html" 
   href="https://sales.enterprise.example.com:443/activities/service/html2/
    activityentry?uuid=BF6G0A0A0A0A1E1A06D960F1C3287F000042" /> 
  <snx:position>2000</snx:position> 
  <content type="html">my response<br></content> 
</entry>