getMessages

get

/ccadmin/v1/notificationMessages

Get Messages. Get a list of notification messages. Supports standard SCIM querying.

Request

Supported Media Types
Query Parameters
  • The number of items per block
  • startingIndex the index of the first record to load
  • 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 Option id: Sort order
  • flag to include count of total notifications
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getMessages_response
Type: object
Show Source
Nested Schema : items
Type: array
Items of publish changes.
Show Source
Nested Schema : sort
Type: array
Sort information of the notifications.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (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
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top