getNotification
get
/ccadmin/v1/notificationMessages/{id}
Get Notification. Get the notification.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
Id of notification.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getNotification_response
Type:
Show Source
object
-
count(optional):
integer
1 for simple notification and >1 for rolled up notification.
-
createdDate(optional):
string
Date time when notification was created.
-
details(optional):
string
Detailed information formatted as JSON payload..
-
id(optional):
string
Id of notification.
-
key(optional):
string
Key to roll up notification.
-
message(optional):
string
Message content in notification.
-
pinned(optional):
boolean
Is this notification pinned?
-
rolledUp(optional):
boolean
Is this notification rolled up?
-
viewedDate(optional):
string
Date time when notification was viewed.
Example Response (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
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code