getMessages
get
/ccadmin/v1/notificationMessages
Get Messages. Get a list of notification messages. Supports standard SCIM querying.
Request
Supported Media Types
- application/json
Query Parameters
- limit
-
Type:
integerThe number of items per block- offset
Type:integerstartingIndex the index of the first record to load- q
Type:stringA SCIM filter string for selecting a subset of all products. See [https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2)section 3.2.2.2 of the SCIM specification for details on the SCIM filter format. Examples: Get all products whose displayName contains shirt: q=displayName co "shirt" Get all products with an orderLimit between 5 and 10: q=orderLimit gt 5 and orderLimit lt 10 Text, date and time values appearing in SCIM filters should be quoted, with date and time values using ISO-8601 format. Numeric and boolean values should not be quoted.- sort
Type:stringSort Option id: Sort order- totalResults
Type:booleanflag to include count of total notificationsResponse
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : getMessages_response- items
-
Type:
arrayitemsAdditional Properties Allowed:Items of publish changes. - limit
-
Type:
integerLimit of number of changes. - offset
-
Type:
integerOffset. - sort
-
Type:
arraysortAdditional Properties Allowed:Sort information of the notifications. - total
-
Type:
integerTotal number of changes published. Deprecated. - totalResults
-
Type:
integerTotal number of changes published.
Nested Schema : itemsNested Schema : sortNested Schema : itemsType:object- count
-
Type:
integer1 for simple notification and >1 for rolled up notification. - createdDate
-
Type:
stringDate time when notification was created. - details
-
Type:
stringDetailed information formatted as JSON payload.. - id
-
Type:
stringId of notification. - key
-
Type:
stringKey to roll up notification. - message
-
Type:
stringMessage content in notification. - pinned
-
Type:
booleanIs this notification pinned? - rolledUp
-
Type:
booleanIs this notification rolled up? - viewedDate
-
Type:
stringDate time when notification was viewed.
Nested Schema : itemsType:object- order
-
Type:
stringOrder of notifications. - property
-
Type:
stringProperty of changes say display name.
Example application/json
{ "total":1, "totalResults":1, "offset":0, "limit":250, "links":[ { "rel":"self", "href":"http://localhost:9080/ccadminui/v1/notificationMessages" } ], "sort":[ { "property":"createdDate", "order":"asc" } ], "items":[ { "viewedDate":null, "rolledUp":false, "pinned":false, "createdDate":"2016-10-19T19:46:11.754Z", "count":1, "details":"{\"Type\":\"test\",\"rate\":2.55,\"http code\":500,\"Date\":\"2016-10-19T19:46:11.753Z\"}", "id":"931269", "message":"This is Failing", "key":"test" } ] }Default ResponseThe error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |51200|Internal Error.|BodyRoot Schema : errorModelType:object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "total": 1, "totalResults": 1, "offset": 0, "limit": 250, "links": [{ "rel": "self", "href": "http://localhost:9080/ccadminui/v1/notificationMessages" }], "sort": [{ "property": "createdDate", "order": "asc" }], "items": [{ "viewedDate": null, "rolledUp": false, "pinned": false, "createdDate": "2016-10-19T19:46:11.754Z", "count": 1, "details": "{\"Type\":\"test\",\"rate\":2.55,\"http code\":500,\"Date\":\"2016-10-19T19:46:11.753Z\"}", "id": "931269", "message": "This is Failing", "key": "test" }] }