Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

URLhttps://api.softnetsport.com/v2/default-outcomes
XSD
MethodGET

Description

Returns default outcomes assigned to markets
Cache60 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
langxsd:string

Determines language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd: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_participantxsd:string
is_singlexsd:string
timestampxsd:unix_timestampSelection 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
outcomes

..default-
outomce
outcome
idUnique identifier of the replacer
nameName of the default outcome
format
static name
Format of returned replacer.
Static name of the default outcome
is_single_outcome

Possible values:

decimal
  • yes
integerdescriptionDescription of the replacer
  • no
  • text
  • variable_text
  • required_participant

    Possible values:

    • yes
    • no
    utInformation about the date and time of when the stage record was last updated. Format UNIX_TIMESTAMP

    Sample XML/JSON

    Code Block
    languagexml
    <replacers><default_outcomes>
    	<replacer<default_outcome id="1" name="#totalPoints#" formatstatic_name="decimal" descriptionis_single_outcome=""Contains the number of points (e.g in basketball, volleyball) used for specific market required_participant="" ut="45678901"/>
     </replacers>default_outcomes>