General - Get notification body

API Url

Used for loading the notification body (the message itself).

GET
http://localhost:16010/ProMarkREST/rest/General/notifications/{id}/details

Permissions: user

Path parameters

FieldTypeDescription
idNumber

Unique identifier of the notification.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  messageString

Notification body.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Success example:

HTTP/1.1 200 OK
{
"response": {
"message": "Project notify\n\nMFA1 Mircea Alexandru\nWeek No: 36 (2015-09-01 - 2015-09-06)\nAttendance time: 00:00\nProject time: 00:00",
"errorCode": 0,
"errorMessage": ""
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.

  messageString

Notification body (empty).