POST api/BetModels
Request Information
URI Parameters
None.
Body Parameters
BetModelName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
ParentId | integer |
None. |
|
SuperId | integer |
None. |
|
AdminId | integer |
None. |
|
UserName | string |
None. |
|
SportsId | integer |
None. |
|
EventId | string |
None. |
|
EventName | string |
None. |
|
MarketId | string |
None. |
|
MarketName | string |
None. |
|
RunnerId | string |
None. |
|
RunnerName | string |
None. |
|
BetType | string |
None. |
|
Odds | decimal number |
None. |
|
Price | decimal number |
None. |
|
Stake | decimal number |
None. |
|
Exposure | decimal number |
None. |
|
Profit | decimal number |
None. |
|
BetStatus | string |
None. |
|
Result | string |
None. |
|
IpAddress | string |
None. |
|
id | integer |
None. |
|
deleted | boolean |
None. |
|
status | boolean |
None. |
|
createdOn | date |
None. |
|
updatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "ParentId": 2, "SuperId": 3, "AdminId": 4, "UserName": "sample string 5", "SportsId": 6, "EventId": "sample string 7", "EventName": "sample string 8", "MarketId": "sample string 9", "MarketName": "sample string 10", "RunnerId": "sample string 11", "RunnerName": "sample string 12", "BetType": "sample string 13", "Odds": 14.1, "Price": 15.1, "Stake": 16.1, "Exposure": 17.1, "Profit": 18.1, "BetStatus": "sample string 19", "Result": "sample string 20", "IpAddress": "sample string 21", "id": 22, "deleted": true, "status": true, "createdOn": "2024-12-23T05:32:05.1909735+05:30", "updatedOn": "2024-12-23T05:32:05.1909735+05:30" }
application/xml, text/xml
Sample:
<BetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FixWebApi.Models"> <createdOn>2024-12-23T05:32:05.1909735+05:30</createdOn> <deleted>true</deleted> <id>22</id> <status>true</status> <updatedOn>2024-12-23T05:32:05.1909735+05:30</updatedOn> <AdminId>4</AdminId> <BetStatus>sample string 19</BetStatus> <BetType>sample string 13</BetType> <EventId>sample string 7</EventId> <EventName>sample string 8</EventName> <Exposure>17.1</Exposure> <IpAddress>sample string 21</IpAddress> <MarketId>sample string 9</MarketId> <MarketName>sample string 10</MarketName> <Odds>14.1</Odds> <ParentId>2</ParentId> <Price>15.1</Price> <Profit>18.1</Profit> <Result>sample string 20</Result> <RunnerId>sample string 11</RunnerId> <RunnerName>sample string 12</RunnerName> <SportsId>6</SportsId> <Stake>16.1</Stake> <SuperId>3</SuperId> <UserId>1</UserId> <UserName>sample string 5</UserName> </BetModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDTOName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Result | Object |
None. |
|
Pay | Object |
None. |
|
Count | decimal number |
None. |
|
bets | Object |
None. |
|
eventDetail | Object |
None. |
|
cricketCount | decimal number |
None. |
|
footballCount | decimal number |
None. |
|
TennisCount | decimal number |
None. |
|
cricketInplayCount | decimal number |
None. |
|
footballInplayCount | decimal number |
None. |
|
TennisInplayCount | decimal number |
None. |
|
GreyHoundCount | decimal number |
None. |
|
GreyHoundInplayCount | decimal number |
None. |
|
HorseRacingCount | decimal number |
None. |
|
HorseRacingInplayCount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Result": {}, "Pay": {}, "Count": 4.1, "bets": {}, "eventDetail": {}, "cricketCount": 7.1, "footballCount": 8.1, "TennisCount": 9.1, "cricketInplayCount": 10.1, "footballInplayCount": 11.1, "TennisInplayCount": 12.1, "GreyHoundCount": 13.1, "GreyHoundInplayCount": 14.1, "HorseRacingCount": 15.1, "HorseRacingInplayCount": 16.1 }
application/xml, text/xml
Sample:
<ResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FixWebApi.Models.DTO"> <Count>4.1</Count> <GreyHoundCount>13.1</GreyHoundCount> <GreyHoundInplayCount>14.1</GreyHoundInplayCount> <HorseRacingCount>15.1</HorseRacingCount> <HorseRacingInplayCount>16.1</HorseRacingInplayCount> <Pay /> <Result /> <Status>true</Status> <TennisCount>9.1</TennisCount> <TennisInplayCount>12.1</TennisInplayCount> <bets /> <cricketCount>7.1</cricketCount> <cricketInplayCount>10.1</cricketInplayCount> <eventDetail /> <footballCount>8.1</footballCount> <footballInplayCount>11.1</footballInplayCount> </ResponseDTO>