messaging.notices

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
current (accepted)enum(1)

DOCUMENTATION

GET

Get all group account notices

--

Example Request:

{
        "module":"messaging.notices",
        "method":"GET",
        "request":{
 
        }
}

Example Response:

{
  "status": 1,
  "data": {
    "203": {
      "id": "203",
      "franchise": "202039",
      "date_sent": "2017-06-08 14:35:04",
      "subject": "Notice",
      "message": "Test Notice",
      "groups": [
        "5",
        "4",
        "3",
        "2",
        "6",
        "7"
      ],
      "start_timestamp": "2017-06-08 00:00:00",
      "end_timestamp": "2017-06-10 00:00:00",
      "last_edited": null,
      "edited_by": null,
      "from": "2097936",
      "visible_name": "0",
      "name": "Jelena Pavlovic",
      "start": {
        "id": 2962,
        "month": 6,
        "day": 8,
        "wday": 4,
        "year": 2017,
        "weekday": "Thu",
        "mname": "Jun",
        "week": 23,
        "dayid": 5,
        "timeid": 1,
        "timeid_exact": 1,
        "formatted": "Jun 8, 2017",
        "iso8601": "2017-06-08T00:00:00+0300",
        "time": "12:00am",
        "timestamp": 1496869200,
        "hours": 0,
        "minutes": 0,
        "seconds": 0,
        "date": "2017-06-08 00:00:00",
        "day_of_year": "158",
        "week_adjusted": 23,
        "sp_wday": 5
      },
      "end": {
        "id": 2964,
        "month": 6,
        "day": 10,
        "wday": 6,
        "year": 2017,
        "weekday": "Sat",
        "mname": "Jun",
        "week": 23,
        "dayid": 7,
        "timeid": 1,
        "timeid_exact": 1,
        "formatted": "Jun 10, 2017",
        "iso8601": "2017-06-10T00:00:00+0300",
        "time": "12:00am",
        "timestamp": 1497042000,
        "hours": 0,
        "minutes": 0,
        "seconds": 0,
        "date": "2017-06-10 00:00:00",
        "day_of_year": "160",
        "week_adjusted": 23,
        "sp_wday": 7
      }
    }
  },
  "token": "xxxxxxx"
}