Resource information
URL | https://api.softnetsport.com/v2/default-outcomes |
---|---|
XSD | |
Method | GET |
Description | Returns default outcomes assigned to markets |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd:int | Determines maximum number of returned records on page. Used in paginated data. Default value is 500. Possible values: 5, 10, 25, 50, 100, 250, 500 |
required_participant | xsd:string | |
is_single | xsd:string | |
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned. |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/replacers.xml?token={{YOUR_TOKEN}} | Returns a list of all replacers in XML format |
https://api.softnetsport.com/v2/replacers?token={{YOUR_TOKEN}} | Returns a list of all replacers in JSON format |
Output elements
.default-outomces | |
---|---|
..default-outomce | |
id | Unique identifier of the replacer |
name | Name of the default outcome |
format | Format of returned replacer. Possible values:
|
description | Description of the replacer |
ut | Information about the date and time of when the stage record was last updated. Format UNIX_TIMESTAMP |
Sample XML/JSON
Code Block | ||
---|---|---|
| ||
<replacers>
<replacer id="1" name="#totalPoints#" format="decimal" description="Contains the number of points (e.g in basketball, volleyball) used for specific market" ut=""/>
</replacers> |