Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.


REST/MVC Path for News definition
HTTP MethodPathDescriptionController Method
Image Added
/rest/news/{newsId}Retrieves news entry by identifiergetNews(newsId: String)
Parameters:
  • newsId: News primary key  (Path parameter)

Image Added

/rest/news/Adds a news item

updateNews(news: NewsDTO)

Parameters:
  • news: News json (Body)
Image Added
/rest/news/{newsId}Updates an existent news itemupdateNews(news: NewsDTO, newsId: String)
Parameters:
  • news: News json (Body)
  • newsId: News identifier  (Path parameter)
Image Added/rest/news/{newsId}Removes an existent news entryremoveNews(newsId: String)
Parameters:
  • newsId: News primary key  (Path parameter)
Image Added
/rest/news/Search for news by criteria

findNewsByCriteria(criteria : NewsCriteria)

Parameters:
  • criteria: Criteria filter json (Body parameter)