Get Read Notifications

URL:
Method: GET	
    https://saasapi.igainapp.in/v1/notifications.php/getread
					

Request Parameters

Parameter Type Position # Description
Authorization string Header Required Authorization is the Enrypted Company API KEY
membershipid string Body Required Membership ID / Mobile No.

Sample Request Body

{
	"membershipid":"2019000000076"
}

Sample Request Response

{
    "errorcode": 1001,
    "message": "Successful",
    "notificationdata": [
        {
            "id": 3526,
            "subject": "Enrollment Details",
            "date": "2020-09-13"
        },
        {
            "id": 3846,
            "subject": "You have Received Points from ",
            "date": "2020-10-06"
        },
        {
            "id": 4279,
            "subject": "Request to Set Password",
            "date": "2020-11-04"
        },
        {
            "id": 4660,
            "subject": "Thank you for your gift card purchase on NovaCaffe",
            "date": "2020-12-16"
        }
    ]
}

Error Codes

Error Code Description
3121 Required field(s) is missing or empty
2012 No Data Found
2003 Invalid or unable to locate membership id
1001 Successful