POST Sports/CreateSettings
Request Information
URI Parameters
None.
Body Parameters
Collection of UserSettingModelName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
SportsId | integer |
None. |
|
SportsName | string |
None. |
|
MaxStake | decimal number |
None. |
|
MinStake | decimal number |
None. |
|
BeforeInplayMaxStake | decimal number |
None. |
|
BeforeInPlayMinStake | decimal number |
None. |
|
MaxOdds | decimal number |
None. |
|
BetDelay | decimal number |
None. |
|
FancyDelay | decimal number |
None. |
|
MaxProfit | decimal number |
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, "SportsId": 2, "SportsName": "sample string 3", "MaxStake": 4.1, "MinStake": 5.1, "BeforeInplayMaxStake": 6.1, "BeforeInPlayMinStake": 7.1, "MaxOdds": 8.1, "BetDelay": 9.1, "FancyDelay": 10.1, "MaxProfit": 11.1, "id": 12, "deleted": true, "status": true, "createdOn": "2024-12-23T05:10:58.3306246+05:30", "updatedOn": "2024-12-23T05:10:58.3306246+05:30" }, { "UserId": 1, "SportsId": 2, "SportsName": "sample string 3", "MaxStake": 4.1, "MinStake": 5.1, "BeforeInplayMaxStake": 6.1, "BeforeInPlayMinStake": 7.1, "MaxOdds": 8.1, "BetDelay": 9.1, "FancyDelay": 10.1, "MaxProfit": 11.1, "id": 12, "deleted": true, "status": true, "createdOn": "2024-12-23T05:10:58.3306246+05:30", "updatedOn": "2024-12-23T05:10:58.3306246+05:30" } ]
application/xml, text/xml
Sample:
<ArrayOfUserSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FixWebApi.Models"> <UserSettingModel> <createdOn>2024-12-23T05:10:58.3306246+05:30</createdOn> <deleted>true</deleted> <id>12</id> <status>true</status> <updatedOn>2024-12-23T05:10:58.3306246+05:30</updatedOn> <BeforeInPlayMinStake>7.1</BeforeInPlayMinStake> <BeforeInplayMaxStake>6.1</BeforeInplayMaxStake> <BetDelay>9.1</BetDelay> <FancyDelay>10.1</FancyDelay> <MaxOdds>8.1</MaxOdds> <MaxProfit>11.1</MaxProfit> <MaxStake>4.1</MaxStake> <MinStake>5.1</MinStake> <SportsId>2</SportsId> <SportsName>sample string 3</SportsName> <UserId>1</UserId> </UserSettingModel> <UserSettingModel> <createdOn>2024-12-23T05:10:58.3306246+05:30</createdOn> <deleted>true</deleted> <id>12</id> <status>true</status> <updatedOn>2024-12-23T05:10:58.3306246+05:30</updatedOn> <BeforeInPlayMinStake>7.1</BeforeInPlayMinStake> <BeforeInplayMaxStake>6.1</BeforeInplayMaxStake> <BetDelay>9.1</BetDelay> <FancyDelay>10.1</FancyDelay> <MaxOdds>8.1</MaxOdds> <MaxProfit>11.1</MaxProfit> <MaxStake>4.1</MaxStake> <MinStake>5.1</MinStake> <SportsId>2</SportsId> <SportsName>sample string 3</SportsName> <UserId>1</UserId> </UserSettingModel> </ArrayOfUserSettingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.