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: integer
The number of items per block
offset
Type: integer
startingIndex the index of the first record to load
q
Type: string
A 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: string
Sort Option id: Sort order
totalResults
Type: boolean
flag to include count of total notifications

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getMessages_response
Nested Schema : items
Type: array
Items of publish changes.
Nested Schema : sort
Type: array
Sort information of the notifications.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
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 Response
The 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.|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

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"
  }]
}