Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

Resource information

URLhttps://api.softnetsport.com/v2/booked-events
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/booked-events.index.xsd
MethodGET

Description

Returns a list of events booked by the client for the selected product.
Please note:the list will only contain events with the status: "finished, "live" and "scheduled" including events from the day before and for the next 7 days.
PackageThis resource is included in ALL packages
Cache900 seconds (15 min.)
Authorization requiredNo

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
client_idxsd:intREQUIRED. Assigned to you by the softnetSPORT administrator
productxsd:string

REQUIRED. Determines product in which given events were booked. Possible values:

  • livescorepro
  • scoutsfeed 
events_detailsxsd:string

Determines if subnodes of events (details, participants, results, stats) will be visible. Possible values:

  • yes - events subnodes will be shown
  • no - events subnodes will be hidden
langxsd:stringDetermines language for the output data. softnetSPORT API provides the following languages: 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

Method calling examples

LinkDescription
https://api.softnetsport.com/v2/booked-events.xml?client_id=1&product=livescorepro&events_details=noReturns list of booked events without detailed node about events.

Output elements

.booked_events 
..event 
idUnique identifier for the event
client_event_idUnique event identifier for the client.
nameName of the event i.e. Spain - Italy
start_dateDate when the event starts in format DATE_TIME (2015-03-01 11:02)
ft_only

Determines when the result of the event is updated. Possible values:

  • yes - result updated only when event is finished 
  • no - result updated during the event
coverage_type

Type of event coverage. Possible values:

  • venue - means the scout is relating the event directly from the stadium
  • tv - means the scout is relating the event from tv transmission
scoutsfeed

Information concerning scouts coverage. Possible values:

  • yes
  • no
status_idUnique identifier of the event status. softnetSPORT API provides the following statuses: statuses.index
status_name

Name of the event status

status_type

Type of the status. Possible values:

  • live
  • scheduled
  • finished
  • cancelled
  • interrupted
  • deleted
  • other
sport_idUnique identifier of the sport in which event is played. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which event is played
dayDay in the season
neutral_venue

Determines if event is played on neutral venue. Possible values:

  • yes
  • no
item_status

Describes status of the item (record). Possible values:

  • active - the record is active
  • deleted - the record was deleted by the admin. In case when event was added by mistake
utInformation about date and time when the event record was last updated. Format UNIX_TIMESTAMP
old_event_iddeprecated. The attribute will be removed in the next API version
slugfriendly url for event
logoAttribute for internal purposes
competition_idUnique identifier of the competition
competition_short_nameShort name of the competition
......details
 additional information related to event
.......detail
 
idUnique identifier for the detail
nameName of the detail. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the detail
......participants
 
.......participant
 
counterNumber of participant in the event. Participant with counter="1" is home team.
idUnique identifier of the participant
type

Participant type. Possible values:

  • team
  • person
nameParticipant name
short_nameParticipant short name, max length: 20 characters
acronymMax 3 characters length mini name, f.e: BAR, REA
gender

Participant gender. Possible value:

  • male
  • female
  • mixed (for doubles in tennis f.e)
area_idUnique identifier of the area represented by the participant. softnetSPORT API provides the following areas: areas.index
area_nameArea name represented by the participant
area_codeMax 3 characters length of the short area name f.e: GER, POL, FRA
sport_idUnique identifier of the sport in which participant occures. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which participant occures
national

Determines if participant is national team. Possible values:

  • yes
  • no
websiteParticipant official website
utInformation about date and time when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be deprecated in next API version
slugfriendly url for participant
competition_idUnique identifier for the competition
competition_short_nameShorter name of the competition i.e.: U19 WCH, Max 20 characters
........results
 
.........result
 
idUnique identifier for the result
nameName of the result. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the result
........stats
 
.........stat
 
idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the statistic
  • No labels