POST api/Data/GetNotifications
Request Information
URI Parameters
None.
Body Parameters
NotificationInputFilterName | Description | Type | Additional information |
---|---|---|---|
DeviceToken | string |
None. |
|
Type | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
AuthKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DeviceToken": "sample string 1", "Type": "sample string 2", "StartDate": "2025-01-09T05:24:05.3972076+02:00", "EndDate": "2025-01-09T05:24:05.3972076+02:00", "AuthKey": "sample string 5" }
application/xml, text/xml
Sample:
<NotificationInputFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRB.BLL.Models"> <AuthKey>sample string 5</AuthKey> <DeviceToken>sample string 1</DeviceToken> <EndDate>2025-01-09T05:24:05.3972076+02:00</EndDate> <StartDate>2025-01-09T05:24:05.3972076+02:00</StartDate> <Type>sample string 2</Type> </NotificationInputFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NotificationDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Game_Id | integer |
None. |
|
Date_Time | date |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
Alarm | integer |
None. |
|
First_Alarm | boolean |
None. |
|
Second_Alarm | boolean |
None. |
|
Third_Alarm | boolean |
None. |
|
First_Alarm_Description | string |
None. |
|
Second_Alarm_Description | string |
None. |
|
Third_Alarm_Description | string |
None. |
|
First_Alarm_Interval | integer |
None. |
|
Second_Alarm_Interval | integer |
None. |
|
Third_Alarm_Interval | integer |
None. |
|
tv_id | integer |
None. |
|
p1_id | integer |
None. |
|
p2_id | integer |
None. |
|
p1_name | string |
None. |
|
p2_name | string |
None. |
|
p1_image | string |
None. |
|
p2_image | string |
None. |
|
media_name | string |
None. |
|
media_image | string |
None. |
|
branch_id | integer |
None. |
|
branch_name | string |
None. |
|
league_id | integer |
None. |
|
league_name | string |
None. |
|
league_image | string |
None. |
|
stadium_id | integer |
None. |
|
stadium_name | string |
None. |
|
stadium_image | string |
None. |
|
broadcast_text | string |
None. |
|
index | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Game_Id": 2, "Date_Time": "2025-01-09T05:24:05.3972076+02:00", "Title": "sample string 4", "Description": "sample string 5", "Alarm": 6, "First_Alarm": true, "Second_Alarm": true, "Third_Alarm": true, "First_Alarm_Description": "sample string 10", "Second_Alarm_Description": "sample string 11", "Third_Alarm_Description": "sample string 12", "First_Alarm_Interval": 13, "Second_Alarm_Interval": 14, "Third_Alarm_Interval": 15, "tv_id": 16, "p1_id": 17, "p2_id": 18, "p1_name": "sample string 19", "p2_name": "sample string 20", "p1_image": "sample string 21", "p2_image": "sample string 22", "media_name": "sample string 23", "media_image": "sample string 24", "branch_id": 25, "branch_name": "sample string 26", "league_id": 27, "league_name": "sample string 28", "league_image": "sample string 29", "stadium_id": 30, "stadium_name": "sample string 31", "stadium_image": "sample string 32", "broadcast_text": "sample string 33", "index": "sample string 34" }, { "Id": 1, "Game_Id": 2, "Date_Time": "2025-01-09T05:24:05.3972076+02:00", "Title": "sample string 4", "Description": "sample string 5", "Alarm": 6, "First_Alarm": true, "Second_Alarm": true, "Third_Alarm": true, "First_Alarm_Description": "sample string 10", "Second_Alarm_Description": "sample string 11", "Third_Alarm_Description": "sample string 12", "First_Alarm_Interval": 13, "Second_Alarm_Interval": 14, "Third_Alarm_Interval": 15, "tv_id": 16, "p1_id": 17, "p2_id": 18, "p1_name": "sample string 19", "p2_name": "sample string 20", "p1_image": "sample string 21", "p2_image": "sample string 22", "media_name": "sample string 23", "media_image": "sample string 24", "branch_id": 25, "branch_name": "sample string 26", "league_id": 27, "league_name": "sample string 28", "league_image": "sample string 29", "stadium_id": 30, "stadium_name": "sample string 31", "stadium_image": "sample string 32", "broadcast_text": "sample string 33", "index": "sample string 34" } ]
application/xml, text/xml
Sample:
<ArrayOfNotificationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRB.BLL.Models"> <NotificationDto> <Alarm>6</Alarm> <Date_Time>2025-01-09T05:24:05.3972076+02:00</Date_Time> <Description>sample string 5</Description> <First_Alarm>true</First_Alarm> <First_Alarm_Description>sample string 10</First_Alarm_Description> <First_Alarm_Interval>13</First_Alarm_Interval> <Game_Id>2</Game_Id> <Id>1</Id> <Second_Alarm>true</Second_Alarm> <Second_Alarm_Description>sample string 11</Second_Alarm_Description> <Second_Alarm_Interval>14</Second_Alarm_Interval> <Third_Alarm>true</Third_Alarm> <Third_Alarm_Description>sample string 12</Third_Alarm_Description> <Third_Alarm_Interval>15</Third_Alarm_Interval> <Title>sample string 4</Title> <branch_id>25</branch_id> <branch_name>sample string 26</branch_name> <broadcast_text>sample string 33</broadcast_text> <index>sample string 34</index> <league_id>27</league_id> <league_image>sample string 29</league_image> <league_name>sample string 28</league_name> <media_image>sample string 24</media_image> <media_name>sample string 23</media_name> <p1_id>17</p1_id> <p1_image>sample string 21</p1_image> <p1_name>sample string 19</p1_name> <p2_id>18</p2_id> <p2_image>sample string 22</p2_image> <p2_name>sample string 20</p2_name> <stadium_id>30</stadium_id> <stadium_image>sample string 32</stadium_image> <stadium_name>sample string 31</stadium_name> <tv_id>16</tv_id> </NotificationDto> <NotificationDto> <Alarm>6</Alarm> <Date_Time>2025-01-09T05:24:05.3972076+02:00</Date_Time> <Description>sample string 5</Description> <First_Alarm>true</First_Alarm> <First_Alarm_Description>sample string 10</First_Alarm_Description> <First_Alarm_Interval>13</First_Alarm_Interval> <Game_Id>2</Game_Id> <Id>1</Id> <Second_Alarm>true</Second_Alarm> <Second_Alarm_Description>sample string 11</Second_Alarm_Description> <Second_Alarm_Interval>14</Second_Alarm_Interval> <Third_Alarm>true</Third_Alarm> <Third_Alarm_Description>sample string 12</Third_Alarm_Description> <Third_Alarm_Interval>15</Third_Alarm_Interval> <Title>sample string 4</Title> <branch_id>25</branch_id> <branch_name>sample string 26</branch_name> <broadcast_text>sample string 33</broadcast_text> <index>sample string 34</index> <league_id>27</league_id> <league_image>sample string 29</league_image> <league_name>sample string 28</league_name> <media_image>sample string 24</media_image> <media_name>sample string 23</media_name> <p1_id>17</p1_id> <p1_image>sample string 21</p1_image> <p1_name>sample string 19</p1_name> <p2_id>18</p2_id> <p2_image>sample string 22</p2_image> <p2_name>sample string 20</p2_name> <stadium_id>30</stadium_id> <stadium_image>sample string 32</stadium_image> <stadium_name>sample string 31</stadium_name> <tv_id>16</tv_id> </NotificationDto> </ArrayOfNotificationDto>