掲示板

Search JournalArticle

10年前 に Aurélien Praga によって更新されました。

Search JournalArticle

New Member 投稿: 7 参加年月日: 12/01/16 最新の投稿
Hi,

I would like to get a JournalArticle list corresponding to a structure with the Liferay API. For that, I think that the journalarticle/search method is the best.

The problem is that there is a lot of parameters and I don't really know the required parameters.

Here is the list :

companyId
groupId
classNameId
articleId
version
title
description
content
type
structureId
templateId
displayDateGT
displayDateLT
status
reviewDate
andOperator
start
end
obc

Which parameter is required ? What is the date format (for displayDateGT and displayDateLT for example) ?

And do you have an url example ?

Thank you for your help

PS : for the moment, I'm using the Liferay interface at http://.../api/jsonws
10年前 に Aurélien Praga によって更新されました。

RE: Search JournalArticle

New Member 投稿: 7 参加年月日: 12/01/16 最新の投稿
I've found some of these params (timestamp for date...). For example :

http://localhost:8080/api/jsonws/journalarticle/search?formDate=1367322795683&p_auth=TP0uh1pd&companyId=165&groupId=19&classNameId=10103&articleId=null&version=1&title=&description=&content=&type=&structureId=10867&templateId=&displayDateGT=1367323291&displayDateLT=1367323291&status=-1&reviewDate=1367323291&andOperator=true&start=2000&end=0&+obc=com.liferay.portlet.journal.util.comparator.ArticleModifiedDateComparator&p_auth=TP0uh1pd

I'm uinge REST Client for Firefox and I've this error :

{"exception":"No JSON web service action associated with path /journalarticle/search and method POST for /"}

An idea ?
thumbnail
10年前 に Vilmos Papp によって更新されました。

RE: Search JournalArticle

Liferay Master 投稿: 529 参加年月日: 10/10/21 最新の投稿
It's maybe related to this issue (already fixed on trunk): http://issues.liferay.com/browse/LPS-29265
10年前 に Aurélien Praga によって更新されました。

RE: Search JournalArticle (回答)

New Member 投稿: 7 参加年月日: 12/01/16 最新の投稿
Finally, with a colleague, we found the problem : http://localhost:8080/api/jsonws/journalarticle/search.19?...

With that, the ws know exactly which method use.

Thank you for your answer
thumbnail
10年前 に Vilmos Papp によって更新されました。

RE: Search JournalArticle

Liferay Master 投稿: 529 参加年月日: 10/10/21 最新の投稿
You're welcome!
thumbnail
7年前 に Krunal Kumar Patel によって更新されました。

RE: Search JournalArticle

New Member 投稿: 7 参加年月日: 12/07/27 最新の投稿
Aurélien Praga:
Finally, with a colleague, we found the problem : http://localhost:8080/api/jsonws/journalarticle/search.19?...

With that, the ws know exactly which method use.

Thank you for your answer



Can you tell me how many field is required ?
Because, I also want to search journal article based on tags, category, content title and keyword.

How you have solve issue?

Thanks in advance.

Krunal Patel
5年前 に LARYSSA CRISTINO によって更新されました。

RE: Search JournalArticle

New Member 投稿: 2 参加年月日: 18/03/05 最新の投稿
Aurélien Praga:
Finally, with a colleague, we found the problem : http://localhost:8080/api/jsonws/journalarticle/search[b].19[/b]?... With that, the ws know exactly which method use. Thank you for your answer



Sorry,

 

Can you explain me?

I need so much this resolution...

 

Thanks.