public class TTEntityNotes
extends java.lang.Object
TTEntityNotes has the following elements:
id
- title
- parentId
- content
- author
- createDate
- modifyDate
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services" xmlns:xsd="http://objects.services/xsd">
<soapenv:Header/>
<soapenv:Body>
<ser:getEntityNotes>
<ser:sessionId>91253ba1-ee1e-4fbd-8eb6-26ecddb3cb44</ser:sessionId>
<ser:entityTypeId>4</ser:entityTypeId>
<ser:entityId>1638654057</ser:entityId>
<ser:noteTypeId>65</ser:noteTypeId>
</ser:getEntityNotes>
</soapenv:Body>
</soapenv:Envelope>
Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getEntityNotesResponse xmlns:ns="http://services" xmlns:ax21="http://objects.services/xsd">
<ns:return xsi:type="ax21:EntityObj" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:entityTypeId>4</ax21:entityTypeId>
<ax21:entityId>1638654057</ax21:entityId>
<ax21:noteTypeId>65</ax21:noteTypeId>
<ax21:Note xsi:type="ax21:Note">
<ax21:id>XXXX</ax21:id>
<ax21:title>Top level Note 1</ax21:title>
<ax21:parentId>XXXX{ProjectId}</ax21:parentId>
<ax21:content>Test content</ax21:content>
<ax21:author>User,Admin</ax21:author>
<ax21:createDate>2016-02-10T17:11:38Z</ax21:createDate>
<ax21:modifyDate>2016-02-10T17:11:38Z</ax21:modifyDate>
<ax21:Note xsi:type="ax21:Note">
<ax21:id>XXXX</ax21:id>
<ax21:title>Reply Note 1</ax21:title>
<ax21:parentId>XXXX{parent note Id}</ax21:parentId>
<ax21:content>Test content</ax21:content>
<ax21:author>User,Admin</ax21:author>
<ax21:createDate>2016-02-10T17:11:38Z</ax21:createDate>
<ax21:modifyDate>2016-02-10T17:11:38Z</ax21:modifyDate>
</ax21:Note>
<ax21:Note xsi:type="ax21:Note">
<ax21:id>XXXX</ax21:id>
<ax21:title>Reply Note 2</ax21:title>
<ax21:parentId>XXXX{parent note Id}</ax21:parentId>
<ax21:content>Test content</ax21:content>
<ax21:author>User,Admin</ax21:author>
<ax21:createDate>2016-02-10T17:11:38Z</ax21:createDate>
<ax21:modifyDate>2016-02-10T17:11:38Z</ax21:modifyDate>
<ax21:Note xsi:type="ax21:Note">
<ax21:id>XXXX</ax21:id>
<ax21:title>Reply to Reply Note 2</ax21:title>
<ax21:parentId>XXXX{parent note Id}</ax21:parentId>
<ax21:content>Test content</ax21:content>
<ax21:author>User,Admin</ax21:author>
<ax21:createDate>2016-02-10T17:11:38Z</ax21:createDate>
<ax21:modifyDate>2016-02-10T17:11:38Z</ax21:modifyDate>
</ax21:Note>
</ax21:Note>
</ax21:Note>
<ax21:Note xsi:type="ax21:Note">
<ax21:id>XXXX</ax21:id>
<ax21:title>Top level Note 2</ax21:title>
<ax21:parentId>XXXX{ProjectId Id}</ax21:parentId>
<ax21:content>Test content</ax21:content>
<ax21:author>User,Admin</ax21:author>
<ax21:createDate>2016-02-10T17:11:38Z</ax21:createDate>
<ax21:modifyDate>2016-02-10T17:11:38Z</ax21:modifyDate>
</ax21:Note>
</ns:return>
</ns:getEntityNotes>
</soapenv:Body>
</soapenv:Envelope>
Constructor and Description |
---|
TTEntityNotes()
Constructor
|
TTEntityNotes(long pEntityId,
long pEntityTypeId,
long pNoteTypeId) |
Modifier and Type | Method and Description |
---|---|
long |
getEntityId() |
long |
getEntityTypeId() |
TTApiNote[] |
getNote() |
long |
getNoteTypeId() |
OMElement |
serialize(OMFactory fac) |
void |
setEntityId(long pEntityId) |
void |
setEntityTypeId(long pEntityTypeId) |
void |
setNote(TTApiNote[] pNote) |
void |
setNoteTypeId(long noteTypeId) |
public TTEntityNotes()
public TTEntityNotes(long pEntityId, long pEntityTypeId, long pNoteTypeId)
public long getEntityId()
public void setEntityId(long pEntityId)
public long getEntityTypeId()
public void setEntityTypeId(long pEntityTypeId)
public long getNoteTypeId()
public void setNoteTypeId(long noteTypeId)
public TTApiNote[] getNote()
public void setNote(TTApiNote[] pNote)
public OMElement serialize(OMFactory fac)