Message Boards

Obtaining title from JournalArticle invoking web services

thumbnail
Vicente Rosselló Ferrer, modified 4 Years ago.

Obtaining title from JournalArticle invoking web services

New Member Posts: 7 Join Date: 3/28/11 Recent Posts
I'm  invoking an api/jsonws REST method in last version of Liferay 7.1 community and 7.2 community
  /journal.journalarticle/get-article
with the associated parameters of a article content  (groupId and articleId) and I obtain the json response without the field title of the content !!How can I obtain the title via REST????
Thanks in advanceThe json example response:
{
  "DDMStructureKey": "BASIC-WEB-CONTENT",
  "DDMTemplateKey": "BASIC-WEB-CONTENT",
  "articleId": "33601",
  "classNameId": "0",
  "classPK": "0",
  "companyId": "20101",
&nbsp; "content": "<!--?xml version=\"1.0\"?-->\n\n<root available-locales="\&quot;en_US\&quot;" default-locale="\&quot;en_US\&quot;">\n\t<dynamic-element name="\&quot;content\&quot;" type="\&quot;text_area\&quot;" index-type="\&quot;text\&quot;" instance-id="\&quot;qpqh\&quot;">\n\t\t<dynamic-content language-id="\&quot;en_US\&quot;">&lt;p&gt;contingut content&lt;/p&gt;\n\n&lt;p&gt;bla bla bla&lt;/p&gt;</dynamic-content>\n\t</dynamic-element>\n</root>",
&nbsp; "createDate": 1575983614689,
&nbsp; "defaultLanguageId": "en_US",
&nbsp; "displayDate": 1575983520000,
&nbsp; "expirationDate": null,
&nbsp; "folderId": "0",
&nbsp; "groupId": "20124",
&nbsp; "id": "33602",
&nbsp; "indexable": true,
&nbsp; "lastPublishDate": null,
&nbsp; "layoutUuid": "",
&nbsp; "modifiedDate": 1575983614939,
&nbsp; "mvccVersion": "1",
&nbsp; "resourcePrimKey": "33603",
&nbsp; "reviewDate": null,
&nbsp; "smallImage": false,
&nbsp; "smallImageId": "33609",
&nbsp; "smallImageURL": "",
&nbsp; "status": 0,
&nbsp; "statusByUserId": "33501",
&nbsp; "statusByUserName": "Vicente Javier Ferrer",
&nbsp; "statusDate": 1575983614939,
&nbsp; "treePath": "/",
&nbsp; "urlTitle": "t%C3%ADtol-del-contingut",
&nbsp; "userId": "33501",
&nbsp; "userName": "Vicente Javier Ferrer",
&nbsp; "uuid": "99413bce-e457-8dfa-d1f2-2d75ae6b1e9e",
&nbsp; "version": 1
}