This repo stores all news messages with their content.

GET
Retrieve order review records by conditions

_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Module\XC\News\Model\NewsMessage>[] array
Sample response
[{"id":87,"enabled":false,"date":57,"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example"}]

GET
Retrieve order review record by id

id
integer Required
Id value of the NewsMessage object
default Success <XLite\Module\XC\News\Model\NewsMessage>
Sample response
{"id":87,"enabled":false,"date":57,"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example"}
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type

PUT
Update order review record by id

id
integer Required
Id value of the NewsMessage object
<XLite\Module\XC\News\Model\NewsMessage>
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
default Success <XLite\Module\XC\News\Model\NewsMessage>
Sample response
{"id":87,"enabled":false,"date":57,"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example"}
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type

DELETE
Delete order review record by id

id
integer Required
Id value of the NewsMessage object
default Success <XLite\Module\XC\News\Model\NewsMessage>
Sample response
{"id":87,"enabled":false,"date":57,"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example"}
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type

POST
Add order review record

<XLite\Module\XC\News\Model\NewsMessage>
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type
default Success <XLite\Module\XC\News\Model\NewsMessage>
Sample response
{"id":87,"enabled":false,"date":57,"cleanURLs":[{"page":"<XLite\\Module\\CDev\\SimpleCMS\\Model\\Page>","newsMessage":"<XLite\\Module\\XC\\News\\Model\\NewsMessage>","id":"integer","product":"<XLite\\Model\\Product>","category":"<XLite\\Model\\Category>","cleanURL":"string"}],"metaDescType":"example"}
id
integer
Unique ID
enabled
boolean
Is menu enabled or not
date
integer
Date add news message
cleanURLs
[] array
Clean URLs
metaDescType
string
Meta description type