Mark as seen - celdotro/marketplace GitHub Wiki

About

  • Marks a notification as seen

Class

celmarket\Admin\AdminAccount

Method

markAsSeen

API

  • method: admininfo
  • action: markAsSeen

Parameters

  • id = notification's ID

Response

An object with the following attributes

  • success = 1 - operation was successfully executed

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Admin/20.markAsSeen.php

Example - JSON

{
  "request": {
   "id": 1 
  },
  
  "response": {
    "currentServerTime": "2018-01-01 00:00:00"
  }
}
⚠️ **GitHub.com Fallback** ⚠️