getNotification
get
/ccadmin/v1/notificationMessages/{id}
Get Notification. Get the notification.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueId of notification.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getNotification_response
- 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.
Example application/json
{
"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\"}",
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadminui/v1/notificationMessages/931269"
}
],
"id":"931269",
"message":"This is Failing",
"key":"test"
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
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 : errors
Nested Schema : items
Type:
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:
{
"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\"}",
"links": [{
"rel": "self",
"href": "http://localhost:9080/ccadminui/v1/notificationMessages/931269"
}],
"id": "931269",
"message": "This is Failing",
"key": "test"
}