POST api/Data/AddRequest

Request Information

URI Parameters

None.

Body Parameters

GameDetails
NameDescriptionTypeAdditional information
First_Alarm_Id

integer

None.

Second_Alarm_Id

integer

None.

Third_Alarm_Id

integer

None.

AuthKey

string

None.

DeviceToken

string

None.

Game_Id

integer

None.

First_Alarm

boolean

None.

Second_Alarm

boolean

None.

Third_Alarm

boolean

None.

Title

string

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.

Date_Time

date

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.

Request Formats

application/json, text/json

Sample:
{
  "First_Alarm_Id": 1,
  "Second_Alarm_Id": 1,
  "Third_Alarm_Id": 1,
  "AuthKey": "sample string 1",
  "DeviceToken": "sample string 2",
  "Game_Id": 3,
  "First_Alarm": true,
  "Second_Alarm": true,
  "Third_Alarm": true,
  "Title": "sample string 7",
  "First_Alarm_Description": "sample string 8",
  "Second_Alarm_Description": "sample string 9",
  "Third_Alarm_Description": "sample string 10",
  "First_Alarm_Interval": 11,
  "Second_Alarm_Interval": 12,
  "Third_Alarm_Interval": 13,
  "Date_Time": "2025-01-09T05:06:07.8529917+02:00",
  "tv_id": 15,
  "p1_id": 16,
  "p2_id": 17,
  "p1_name": "sample string 18",
  "p2_name": "sample string 19",
  "p1_image": "sample string 20",
  "p2_image": "sample string 21",
  "media_name": "sample string 22",
  "media_image": "sample string 23",
  "branch_id": 24,
  "branch_name": "sample string 25",
  "league_id": 26,
  "league_name": "sample string 27",
  "league_image": "sample string 28",
  "stadium_id": 29,
  "stadium_name": "sample string 30",
  "stadium_image": "sample string 31",
  "broadcast_text": "sample string 32",
  "index": "sample string 33"
}

application/xml, text/xml

Sample:
<GameDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRB.BLL.Models">
  <AuthKey>sample string 1</AuthKey>
  <Date_Time>2025-01-09T05:06:07.8529917+02:00</Date_Time>
  <DeviceToken>sample string 2</DeviceToken>
  <First_Alarm>true</First_Alarm>
  <First_Alarm_Description>sample string 8</First_Alarm_Description>
  <First_Alarm_Id>1</First_Alarm_Id>
  <First_Alarm_Interval>11</First_Alarm_Interval>
  <Game_Id>3</Game_Id>
  <Second_Alarm>true</Second_Alarm>
  <Second_Alarm_Description>sample string 9</Second_Alarm_Description>
  <Second_Alarm_Id>1</Second_Alarm_Id>
  <Second_Alarm_Interval>12</Second_Alarm_Interval>
  <Third_Alarm>true</Third_Alarm>
  <Third_Alarm_Description>sample string 10</Third_Alarm_Description>
  <Third_Alarm_Id>1</Third_Alarm_Id>
  <Third_Alarm_Interval>13</Third_Alarm_Interval>
  <Title>sample string 7</Title>
  <branch_id>24</branch_id>
  <branch_name>sample string 25</branch_name>
  <broadcast_text>sample string 32</broadcast_text>
  <index>sample string 33</index>
  <league_id>26</league_id>
  <league_image>sample string 28</league_image>
  <league_name>sample string 27</league_name>
  <media_image>sample string 23</media_image>
  <media_name>sample string 22</media_name>
  <p1_id>16</p1_id>
  <p1_image>sample string 20</p1_image>
  <p1_name>sample string 18</p1_name>
  <p2_id>17</p2_id>
  <p2_image>sample string 21</p2_image>
  <p2_name>sample string 19</p2_name>
  <stadium_id>29</stadium_id>
  <stadium_image>sample string 31</stadium_image>
  <stadium_name>sample string 30</stadium_name>
  <tv_id>15</tv_id>
</GameDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

First_Alarm_Id

integer

None.

Second_Alarm_Id

integer

None.

Third_Alarm_Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Message": "sample string 2",
  "First_Alarm_Id": 1,
  "Second_Alarm_Id": 1,
  "Third_Alarm_Id": 1
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRB.BLL.Models">
  <Code>sample string 1</Code>
  <First_Alarm_Id>1</First_Alarm_Id>
  <Message>sample string 2</Message>
  <Second_Alarm_Id>1</Second_Alarm_Id>
  <Third_Alarm_Id>1</Third_Alarm_Id>
</Response>