Message Boards
Obtaining title from JournalArticle invoking web services
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:
/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",
"content": "<!--?xml version=\"1.0\"?-->\n\n<root available-locales="\"en_US\"" default-locale="\"en_US\"">\n\t<dynamic-element name="\"content\"" type="\"text_area\"" index-type="\"text\"" instance-id="\"qpqh\"">\n\t\t<dynamic-content language-id="\"en_US\""><p>contingut content</p>\n\n<p>bla bla bla</p></dynamic-content>\n\t</dynamic-element>\n</root>",
"createDate": 1575983614689,
"defaultLanguageId": "en_US",
"displayDate": 1575983520000,
"expirationDate": null,
"folderId": "0",
"groupId": "20124",
"id": "33602",
"indexable": true,
"lastPublishDate": null,
"layoutUuid": "",
"modifiedDate": 1575983614939,
"mvccVersion": "1",
"resourcePrimKey": "33603",
"reviewDate": null,
"smallImage": false,
"smallImageId": "33609",
"smallImageURL": "",
"status": 0,
"statusByUserId": "33501",
"statusByUserName": "Vicente Javier Ferrer",
"statusDate": 1575983614939,
"treePath": "/",
"urlTitle": "t%C3%ADtol-del-contingut",
"userId": "33501",
"userName": "Vicente Javier Ferrer",
"uuid": "99413bce-e457-8dfa-d1f2-2d75ae6b1e9e",
"version": 1
}