POST notification/get/all/{token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

None.

Response Information

Resource Description

NotificationResponseModel
NameDescriptionTypeAdditional information
data

Collection of NotificationModel

None.

meta

meta

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": 1,
      "userid": 2,
      "unread": true,
      "notificationtype": "sample string 4",
      "typeid": "sample string 5",
      "date": "2020-11-29T19:59:40.1682718+00:00",
      "photo": "sample string 6",
      "username": "sample string 7",
      "message": "sample string 8"
    },
    {
      "id": 1,
      "userid": 2,
      "unread": true,
      "notificationtype": "sample string 4",
      "typeid": "sample string 5",
      "date": "2020-11-29T19:59:40.1682718+00:00",
      "photo": "sample string 6",
      "username": "sample string 7",
      "message": "sample string 8"
    }
  ],
  "meta": {
    "code": 1,
    "detail": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<NotificationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/connecttierWebAPI.Models">
  <data>
    <NotificationModel>
      <date>2020-11-29T19:59:40.1682718+00:00</date>
      <id>1</id>
      <message>sample string 8</message>
      <notificationtype>sample string 4</notificationtype>
      <photo>sample string 6</photo>
      <typeid>sample string 5</typeid>
      <unread>true</unread>
      <userid>2</userid>
      <username>sample string 7</username>
    </NotificationModel>
    <NotificationModel>
      <date>2020-11-29T19:59:40.1682718+00:00</date>
      <id>1</id>
      <message>sample string 8</message>
      <notificationtype>sample string 4</notificationtype>
      <photo>sample string 6</photo>
      <typeid>sample string 5</typeid>
      <unread>true</unread>
      <userid>2</userid>
      <username>sample string 7</username>
    </NotificationModel>
  </data>
  <meta>
    <code>1</code>
    <detail>sample string 2</detail>
  </meta>
</NotificationResponseModel>