> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/origin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/origin/apis-all/sports-api/sports.md).

# Sports

## Get a specific Event by ID.

> Get a specific Event by ID.

```json
{"openapi":"3.1.1","info":{"title":"fabric Origin API","version":"3.0"},"tags":[{"name":"sports"}],"servers":[{"url":"https://api.origin.fabricdata.com"}],"paths":{"/Sports/":{"get":{"tags":["sports"],"summary":"Get a specific Event by ID.","description":"Get a specific Event by ID.","operationId":"GetEvent_Get","parameters":[{"schema":{"type":"integer"},"name":"Id","in":"path","description":"Required ID of Event in Sports/{Id} format.","required":true},{"schema":{"type":"array","items":{"type":"string","enum":["Participants","AlternateTitles","Releases","ExternalIds","Descriptions","Availabilities","Images","Videos"]}},"style":"form","explode":true,"name":"Includes","in":"query","description":"List of additional objects to include in the event response.","required":false},{"schema":{"type":"boolean"},"name":"IncludeAll","in":"query","description":"Flag indicating to include all additional objects in the response.","required":false}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverEvent"}}}}},"deprecated":false}}},"components":{"schemas":{"DiscoverEvent":{"title":"DiscoverEvent","properties":{"Id":{"description":"Unique ID of the Event in format 'Sports/{Id}'","type":"string"},"EventCategory":{"description":"Category of the Event","type":"string"},"EventSubCategory":{"description":"Type of the Event","type":"string"},"Title":{"description":"English version of event Title.","type":"string"},"Titles":{"type":"array","items":{"type":"string"}},"EventDate":{"description":"Date of the Event.","type":"string"},"EventTime":{"description":"Time of the Event.","type":"string"},"OriginalPlatform":{"description":"Original platform.","type":"string"},"Status":{"description":"Status of the event.","type":"string"},"SportLeague":{"description":"Sport league of the event.","type":"string"},"Participants":{"description":"List of participants (Team, Athlete, Performer, Musician, Politician, etc.) for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventParticipant"}},"AlternateTitles":{"description":"List of alternate titles for this Program.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateTitle"}},"Releases":{"description":"List of releases associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventRelease"}},"ExternalIds":{"description":"List of external Ids associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateId"}},"Descriptions":{"description":"List of descriptions for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventDescription"}},"Availabilities":{"description":"List of availabilities for event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAvailability"}},"Images":{"description":"List of images.","type":"array","items":{"$ref":"#/components/schemas/IndexEventImage"}},"Videos":{"description":"List of videos.","type":"array","items":{"$ref":"#/components/schemas/IndexEventVideo"}},"Modified":{"description":"DateTime DiscoverEvent record last modified.","type":"string","format":"date-time"},"Created":{"description":"DateTime record was created.","type":"string","format":"date-time"},"Deleted":{"description":"Flag signifies if Event record is 'Deleted'.","type":"boolean"},"EventChangeHistory":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventChangeHistory"}}},"description":"DiscoverEvent","type":"object"},"IndexEventParticipant":{"title":"IndexEventParticipant","properties":{"Id":{"type":"integer","format":"int64"},"ParticipantId":{"type":"integer","format":"int64"},"ParticipantName":{"type":"string"},"ParticipantType":{"type":"string"}},"description":"IndexEventParticipant","type":"object"},"IndexEventAlternateTitle":{"title":"IndexEventAlternateTitle","properties":{"Title":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"CountryFabricId":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventAlternateTitle","type":"object"},"LanguageDetail":{"title":"LanguageDetail","properties":{"Id":{"description":"Unique ID of a Language.","type":"integer","format":"int32"},"IsoCode":{"description":"ISO code for this Language.","type":"string"},"Name":{"description":"Name of the Language.","type":"string"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IETFCode":{"description":"IETF BCP 47 code for this language.","type":"string"}},"description":"LanguageDetail","type":"object"},"IndexEventRelease":{"title":"IndexEventRelease","properties":{"Date":{"type":"string","format":"date-time"},"Certification":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"FabricCountryId":{"type":"string"},"Type":{"type":"string"}},"description":"IndexEventRelease","type":"object"},"IndexEventAlternateId":{"title":"IndexEventAlternateId","properties":{"Type":{"type":"string"},"Id":{"type":"string"}},"description":"IndexEventAlternateId","type":"object"},"IndexEventDescription":{"title":"IndexEventDescription","properties":{"Description":{"type":"string"},"DescriptionType":{"type":"string"},"Attribution":{"type":"string"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventDescription","type":"object"},"IndexEventAvailability":{"title":"IndexEventAvailability","properties":{"Provider":{"type":"string"},"OfferType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Price":{"type":"number","format":"double"},"Currency":{"type":"string"},"PreSale":{"type":"boolean"},"Quality":{"type":"string"},"Country":{"type":"string"},"CountryDetail":{"$ref":"#/components/schemas/CountryDetail"},"Links":{"type":"array","items":{"$ref":"#/components/schemas/OfferLink"}},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"}},"description":"IndexEventAvailability","type":"object"},"CountryDetail":{"title":"CountryDetail","properties":{"Id":{"type":"integer","format":"int32"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IsoCode":{"description":"ISO code for a Country.","type":"string"},"IsoCodeA3":{"description":"ISO 3 character code for a Country.","type":"string"},"Name":{"description":"Name of the Country.","type":"string"},"AlternateNames":{"description":"Alternate names of the Country.","type":"array","items":{"type":"string"}}},"description":"CountryDetail","type":"object"},"OfferLink":{"title":"OfferLink","properties":{"Platform":{"type":"string"},"Url":{"type":"string"}},"description":"OfferLink","type":"object"},"IndexEventImage":{"title":"IndexEventImage","properties":{"ImageType":{"type":"string"},"Attribution":{"type":"string"},"Width":{"type":"integer","format":"int32"},"Height":{"type":"integer","format":"int32"},"Violence":{"type":"integer","format":"int32"},"Sexuality":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"},"Tags":{"type":"array","items":{"type":"string"}},"Official":{"type":"boolean"},"FilePath":{"type":"string"},"Modified":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time"}},"description":"IndexEventImage","type":"object"},"IndexEventVideo":{"title":"IndexEventVideo","properties":{"Id":{"type":"integer","format":"int64"},"Title":{"type":"string"},"Type":{"type":"string"},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"},"Mature":{"type":"boolean"},"CaptionID":{"description":"Closed Caption ID for a video, see the /Videos/ClosedCaption API for more details","type":"integer","format":"int64"},"Duration":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageSubtitled":{"type":"string"},"Company":{"type":"string"},"Clean":{"type":"boolean"},"AllowAdvertising":{"type":"boolean"},"Certification":{"type":"boolean"},"Theatrical":{"type":"boolean"},"HomeVideo":{"type":"boolean"},"TuneIn":{"type":"boolean"},"SourceVideoWidth":{"type":"integer","format":"int32"},"SourceVideoHeight":{"type":"integer","format":"int32"},"Encoded":{"type":"string","format":"date-time"},"ScreenCaptures":{"type":"array","items":{"$ref":"#/components/schemas/VideoScreenCapture"}},"TargetCountries":{"type":"array","items":{"type":"string"}},"TargetCountriesDetail":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventVideoTargetCountry"}},"TargetLanguage":{"type":"string"},"TargetLanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventVideo","type":"object"},"VideoScreenCapture":{"title":"VideoScreenCapture","properties":{"Height":{"type":"integer","format":"int32"},"Width":{"type":"integer","format":"int32"},"Aspect":{"type":"string"},"FilePath":{"type":"string"}},"description":"VideoScreenCapture","type":"object"},"IndexEventVideoTargetCountry":{"title":"IndexEventVideoTargetCountry","properties":{"CountryId":{"type":"integer","format":"int32"},"Country":{"type":"string"},"CountryName":{"type":"string"},"FabricId":{"type":"string"}},"description":"IndexEventVideoTargetCountry","type":"object"},"IndexEventChangeHistory":{"title":"IndexEventChangeHistory","properties":{"Id":{"type":"integer","format":"int64"},"Entity":{"type":"string"},"Modified":{"type":"string","format":"date-time"}},"description":"IndexEventChangeHistory","type":"object"}}}}
```

## Get a specific Event by ID.

> Get a specific Event by ID.

```json
{"openapi":"3.1.1","info":{"title":"fabric Origin API","version":"3.0"},"tags":[{"name":"sports"}],"servers":[{"url":"https://api.origin.fabricdata.com"}],"paths":{"/Sports/":{"post":{"tags":["sports"],"summary":"Get a specific Event by ID.","description":"Get a specific Event by ID.","operationId":"GetEvent_Post","parameters":[{"schema":{"type":"integer"},"name":"Id","in":"path","description":"Required ID of Event in Sports/{Id} format.","required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverEvent"}}}}},"deprecated":false,"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"Includes":{"type":"array","description":"List of additional objects to include in the event response."},"IncludeAll":{"type":"boolean","description":"Flag indicating to include all additional objects in the response."}},"required":[]}}}}}}},"components":{"schemas":{"DiscoverEvent":{"title":"DiscoverEvent","properties":{"Id":{"description":"Unique ID of the Event in format 'Sports/{Id}'","type":"string"},"EventCategory":{"description":"Category of the Event","type":"string"},"EventSubCategory":{"description":"Type of the Event","type":"string"},"Title":{"description":"English version of event Title.","type":"string"},"Titles":{"type":"array","items":{"type":"string"}},"EventDate":{"description":"Date of the Event.","type":"string"},"EventTime":{"description":"Time of the Event.","type":"string"},"OriginalPlatform":{"description":"Original platform.","type":"string"},"Status":{"description":"Status of the event.","type":"string"},"SportLeague":{"description":"Sport league of the event.","type":"string"},"Participants":{"description":"List of participants (Team, Athlete, Performer, Musician, Politician, etc.) for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventParticipant"}},"AlternateTitles":{"description":"List of alternate titles for this Program.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateTitle"}},"Releases":{"description":"List of releases associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventRelease"}},"ExternalIds":{"description":"List of external Ids associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateId"}},"Descriptions":{"description":"List of descriptions for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventDescription"}},"Availabilities":{"description":"List of availabilities for event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAvailability"}},"Images":{"description":"List of images.","type":"array","items":{"$ref":"#/components/schemas/IndexEventImage"}},"Videos":{"description":"List of videos.","type":"array","items":{"$ref":"#/components/schemas/IndexEventVideo"}},"Modified":{"description":"DateTime DiscoverEvent record last modified.","type":"string","format":"date-time"},"Created":{"description":"DateTime record was created.","type":"string","format":"date-time"},"Deleted":{"description":"Flag signifies if Event record is 'Deleted'.","type":"boolean"},"EventChangeHistory":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventChangeHistory"}}},"description":"DiscoverEvent","type":"object"},"IndexEventParticipant":{"title":"IndexEventParticipant","properties":{"Id":{"type":"integer","format":"int64"},"ParticipantId":{"type":"integer","format":"int64"},"ParticipantName":{"type":"string"},"ParticipantType":{"type":"string"}},"description":"IndexEventParticipant","type":"object"},"IndexEventAlternateTitle":{"title":"IndexEventAlternateTitle","properties":{"Title":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"CountryFabricId":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventAlternateTitle","type":"object"},"LanguageDetail":{"title":"LanguageDetail","properties":{"Id":{"description":"Unique ID of a Language.","type":"integer","format":"int32"},"IsoCode":{"description":"ISO code for this Language.","type":"string"},"Name":{"description":"Name of the Language.","type":"string"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IETFCode":{"description":"IETF BCP 47 code for this language.","type":"string"}},"description":"LanguageDetail","type":"object"},"IndexEventRelease":{"title":"IndexEventRelease","properties":{"Date":{"type":"string","format":"date-time"},"Certification":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"FabricCountryId":{"type":"string"},"Type":{"type":"string"}},"description":"IndexEventRelease","type":"object"},"IndexEventAlternateId":{"title":"IndexEventAlternateId","properties":{"Type":{"type":"string"},"Id":{"type":"string"}},"description":"IndexEventAlternateId","type":"object"},"IndexEventDescription":{"title":"IndexEventDescription","properties":{"Description":{"type":"string"},"DescriptionType":{"type":"string"},"Attribution":{"type":"string"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventDescription","type":"object"},"IndexEventAvailability":{"title":"IndexEventAvailability","properties":{"Provider":{"type":"string"},"OfferType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Price":{"type":"number","format":"double"},"Currency":{"type":"string"},"PreSale":{"type":"boolean"},"Quality":{"type":"string"},"Country":{"type":"string"},"CountryDetail":{"$ref":"#/components/schemas/CountryDetail"},"Links":{"type":"array","items":{"$ref":"#/components/schemas/OfferLink"}},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"}},"description":"IndexEventAvailability","type":"object"},"CountryDetail":{"title":"CountryDetail","properties":{"Id":{"type":"integer","format":"int32"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IsoCode":{"description":"ISO code for a Country.","type":"string"},"IsoCodeA3":{"description":"ISO 3 character code for a Country.","type":"string"},"Name":{"description":"Name of the Country.","type":"string"},"AlternateNames":{"description":"Alternate names of the Country.","type":"array","items":{"type":"string"}}},"description":"CountryDetail","type":"object"},"OfferLink":{"title":"OfferLink","properties":{"Platform":{"type":"string"},"Url":{"type":"string"}},"description":"OfferLink","type":"object"},"IndexEventImage":{"title":"IndexEventImage","properties":{"ImageType":{"type":"string"},"Attribution":{"type":"string"},"Width":{"type":"integer","format":"int32"},"Height":{"type":"integer","format":"int32"},"Violence":{"type":"integer","format":"int32"},"Sexuality":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"},"Tags":{"type":"array","items":{"type":"string"}},"Official":{"type":"boolean"},"FilePath":{"type":"string"},"Modified":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time"}},"description":"IndexEventImage","type":"object"},"IndexEventVideo":{"title":"IndexEventVideo","properties":{"Id":{"type":"integer","format":"int64"},"Title":{"type":"string"},"Type":{"type":"string"},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"},"Mature":{"type":"boolean"},"CaptionID":{"description":"Closed Caption ID for a video, see the /Videos/ClosedCaption API for more details","type":"integer","format":"int64"},"Duration":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageSubtitled":{"type":"string"},"Company":{"type":"string"},"Clean":{"type":"boolean"},"AllowAdvertising":{"type":"boolean"},"Certification":{"type":"boolean"},"Theatrical":{"type":"boolean"},"HomeVideo":{"type":"boolean"},"TuneIn":{"type":"boolean"},"SourceVideoWidth":{"type":"integer","format":"int32"},"SourceVideoHeight":{"type":"integer","format":"int32"},"Encoded":{"type":"string","format":"date-time"},"ScreenCaptures":{"type":"array","items":{"$ref":"#/components/schemas/VideoScreenCapture"}},"TargetCountries":{"type":"array","items":{"type":"string"}},"TargetCountriesDetail":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventVideoTargetCountry"}},"TargetLanguage":{"type":"string"},"TargetLanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventVideo","type":"object"},"VideoScreenCapture":{"title":"VideoScreenCapture","properties":{"Height":{"type":"integer","format":"int32"},"Width":{"type":"integer","format":"int32"},"Aspect":{"type":"string"},"FilePath":{"type":"string"}},"description":"VideoScreenCapture","type":"object"},"IndexEventVideoTargetCountry":{"title":"IndexEventVideoTargetCountry","properties":{"CountryId":{"type":"integer","format":"int32"},"Country":{"type":"string"},"CountryName":{"type":"string"},"FabricId":{"type":"string"}},"description":"IndexEventVideoTargetCountry","type":"object"},"IndexEventChangeHistory":{"title":"IndexEventChangeHistory","properties":{"Id":{"type":"integer","format":"int64"},"Entity":{"type":"string"},"Modified":{"type":"string","format":"date-time"}},"description":"IndexEventChangeHistory","type":"object"}}}}
```

## Find Event by AlternateId ID and IDType.

> Requires a valid AlternateId and IdType.

```json
{"openapi":"3.1.1","info":{"title":"fabric Origin API","version":"3.0"},"tags":[{"name":"sports"}],"servers":[{"url":"https://api.origin.fabricdata.com"}],"paths":{"/Sports/FindByAlternateId":{"get":{"tags":["sports"],"summary":"Find Event by AlternateId ID and IDType.","description":"Requires a valid AlternateId and IdType.","operationId":"FindEventByAlternateIdFindByAlternateId_Get","parameters":[{"schema":{"type":"string"},"name":"Id","in":"query","description":"Required Event ALternate ID.","required":true},{"schema":{"type":"integer","format":"int32"},"name":"IdType","in":"query","description":"Required Event ALternate ID Type.","required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"title":"String","type":"string"}}}}},"deprecated":false}}}}
```

## Search all Events.

> Search all Events.

```json
{"openapi":"3.1.1","info":{"title":"fabric Origin API","version":"3.0"},"tags":[{"name":"sports"}],"servers":[{"url":"https://api.origin.fabricdata.com"}],"paths":{"/Sports/Search/":{"get":{"tags":["sports"],"summary":"Search all Events.","description":"Search all Events.","operationId":"SearchEventSearch_Get","parameters":[{"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"name":"Ids","in":"query","description":"Filter results matching any of the supplied event Ids. Ex: Sports/123. Combined with other search filters; an empty list does not filter by Id.","required":false},{"schema":{"type":"string"},"name":"Title","in":"query","description":"Title search.","required":false},{"schema":{"type":"string"},"name":"EventDate","in":"query","description":"Filter results based on event date.","required":false},{"schema":{"type":"string"},"name":"EventCategory","in":"query","description":"Category of the Event","required":false},{"schema":{"type":"string"},"name":"EventSubCategory","in":"query","description":"Type of the Event","required":false},{"schema":{"type":"string"},"name":"SportLeague","in":"query","description":"Sport league of the event.","required":false},{"schema":{"type":"array","items":{"type":"string","enum":["Participants","AlternateTitles","Releases","ExternalIds","Descriptions","Availabilities","Images","Videos"]}},"style":"form","explode":true,"name":"Includes","in":"query","description":"Include sub objects from the program","required":false},{"schema":{"type":"integer","format":"int32"},"name":"Skip","in":"query","description":"Rows to skip, used for paging. Default is 0.","required":false},{"schema":{"type":"integer","format":"int32"},"name":"Take","in":"query","description":"Rows to return, used for paging. Default is 10, limit is 10.","required":false},{"schema":{"type":"string"},"name":"NextPageToken","in":"query","description":"Used for deep paging of record (typically beyond 10,000). Provide the NextPageToken returned from search results when using Timestamp sorting for optimal performance while paging large result sets. Skip is ignored when this parameter is provided.","required":false},{"schema":{"type":"array","items":{"type":"string","enum":["NFL+","ESPN+","Hulu","Peacock","Amazon Prime Video","YouTube TV","Sling TV","MLB.TV","HBO Max","Fubo","FOX One","DIRECTV","Apple TV","Paramount+","NBC","NBA","FOX Sports","Disney+","ABC"]}},"style":"form","explode":true,"name":"Providers","in":"query","description":"List of event availability providers.","required":false},{"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"name":"AvailabilityCountries","in":"query","description":"List of 2 character country codes.","required":false},{"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"name":"ParticipantNames","in":"query","description":"List of participant names. Maximum of 3.","required":false},{"schema":{"type":"boolean"},"name":"SortByTimeStamp","in":"query","description":"Sort results based on last modified descending.  Default is sorted by _score. DEPRECIATED! Use SortBy instead.","required":false}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEventResponse"}}}}},"deprecated":false}}},"components":{"schemas":{"SearchEventResponse":{"title":"SearchEventResponse","properties":{"Took":{"type":"integer","format":"int64"},"Total":{"type":"integer","format":"int64"},"MaxScore":{"type":"number","format":"double"},"Hits":{"type":"array","items":{"$ref":"#/components/schemas/EventSearchHit"}},"Message":{"type":"string"},"NextPageToken":{"type":"string"}},"description":"SearchEventResponse","type":"object"},"EventSearchHit":{"title":"EventSearchHit","properties":{"Score":{"type":"number","format":"double"},"Source":{"$ref":"#/components/schemas/DiscoverEvent"},"Id":{"type":"string"}},"description":"EventSearchHit","type":"object"},"DiscoverEvent":{"title":"DiscoverEvent","properties":{"Id":{"description":"Unique ID of the Event in format 'Sports/{Id}'","type":"string"},"EventCategory":{"description":"Category of the Event","type":"string"},"EventSubCategory":{"description":"Type of the Event","type":"string"},"Title":{"description":"English version of event Title.","type":"string"},"Titles":{"type":"array","items":{"type":"string"}},"EventDate":{"description":"Date of the Event.","type":"string"},"EventTime":{"description":"Time of the Event.","type":"string"},"OriginalPlatform":{"description":"Original platform.","type":"string"},"Status":{"description":"Status of the event.","type":"string"},"SportLeague":{"description":"Sport league of the event.","type":"string"},"Participants":{"description":"List of participants (Team, Athlete, Performer, Musician, Politician, etc.) for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventParticipant"}},"AlternateTitles":{"description":"List of alternate titles for this Program.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateTitle"}},"Releases":{"description":"List of releases associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventRelease"}},"ExternalIds":{"description":"List of external Ids associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateId"}},"Descriptions":{"description":"List of descriptions for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventDescription"}},"Availabilities":{"description":"List of availabilities for event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAvailability"}},"Images":{"description":"List of images.","type":"array","items":{"$ref":"#/components/schemas/IndexEventImage"}},"Videos":{"description":"List of videos.","type":"array","items":{"$ref":"#/components/schemas/IndexEventVideo"}},"Modified":{"description":"DateTime DiscoverEvent record last modified.","type":"string","format":"date-time"},"Created":{"description":"DateTime record was created.","type":"string","format":"date-time"},"Deleted":{"description":"Flag signifies if Event record is 'Deleted'.","type":"boolean"},"EventChangeHistory":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventChangeHistory"}}},"description":"DiscoverEvent","type":"object"},"IndexEventParticipant":{"title":"IndexEventParticipant","properties":{"Id":{"type":"integer","format":"int64"},"ParticipantId":{"type":"integer","format":"int64"},"ParticipantName":{"type":"string"},"ParticipantType":{"type":"string"}},"description":"IndexEventParticipant","type":"object"},"IndexEventAlternateTitle":{"title":"IndexEventAlternateTitle","properties":{"Title":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"CountryFabricId":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventAlternateTitle","type":"object"},"LanguageDetail":{"title":"LanguageDetail","properties":{"Id":{"description":"Unique ID of a Language.","type":"integer","format":"int32"},"IsoCode":{"description":"ISO code for this Language.","type":"string"},"Name":{"description":"Name of the Language.","type":"string"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IETFCode":{"description":"IETF BCP 47 code for this language.","type":"string"}},"description":"LanguageDetail","type":"object"},"IndexEventRelease":{"title":"IndexEventRelease","properties":{"Date":{"type":"string","format":"date-time"},"Certification":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"FabricCountryId":{"type":"string"},"Type":{"type":"string"}},"description":"IndexEventRelease","type":"object"},"IndexEventAlternateId":{"title":"IndexEventAlternateId","properties":{"Type":{"type":"string"},"Id":{"type":"string"}},"description":"IndexEventAlternateId","type":"object"},"IndexEventDescription":{"title":"IndexEventDescription","properties":{"Description":{"type":"string"},"DescriptionType":{"type":"string"},"Attribution":{"type":"string"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventDescription","type":"object"},"IndexEventAvailability":{"title":"IndexEventAvailability","properties":{"Provider":{"type":"string"},"OfferType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Price":{"type":"number","format":"double"},"Currency":{"type":"string"},"PreSale":{"type":"boolean"},"Quality":{"type":"string"},"Country":{"type":"string"},"CountryDetail":{"$ref":"#/components/schemas/CountryDetail"},"Links":{"type":"array","items":{"$ref":"#/components/schemas/OfferLink"}},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"}},"description":"IndexEventAvailability","type":"object"},"CountryDetail":{"title":"CountryDetail","properties":{"Id":{"type":"integer","format":"int32"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IsoCode":{"description":"ISO code for a Country.","type":"string"},"IsoCodeA3":{"description":"ISO 3 character code for a Country.","type":"string"},"Name":{"description":"Name of the Country.","type":"string"},"AlternateNames":{"description":"Alternate names of the Country.","type":"array","items":{"type":"string"}}},"description":"CountryDetail","type":"object"},"OfferLink":{"title":"OfferLink","properties":{"Platform":{"type":"string"},"Url":{"type":"string"}},"description":"OfferLink","type":"object"},"IndexEventImage":{"title":"IndexEventImage","properties":{"ImageType":{"type":"string"},"Attribution":{"type":"string"},"Width":{"type":"integer","format":"int32"},"Height":{"type":"integer","format":"int32"},"Violence":{"type":"integer","format":"int32"},"Sexuality":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"},"Tags":{"type":"array","items":{"type":"string"}},"Official":{"type":"boolean"},"FilePath":{"type":"string"},"Modified":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time"}},"description":"IndexEventImage","type":"object"},"IndexEventVideo":{"title":"IndexEventVideo","properties":{"Id":{"type":"integer","format":"int64"},"Title":{"type":"string"},"Type":{"type":"string"},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"},"Mature":{"type":"boolean"},"CaptionID":{"description":"Closed Caption ID for a video, see the /Videos/ClosedCaption API for more details","type":"integer","format":"int64"},"Duration":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageSubtitled":{"type":"string"},"Company":{"type":"string"},"Clean":{"type":"boolean"},"AllowAdvertising":{"type":"boolean"},"Certification":{"type":"boolean"},"Theatrical":{"type":"boolean"},"HomeVideo":{"type":"boolean"},"TuneIn":{"type":"boolean"},"SourceVideoWidth":{"type":"integer","format":"int32"},"SourceVideoHeight":{"type":"integer","format":"int32"},"Encoded":{"type":"string","format":"date-time"},"ScreenCaptures":{"type":"array","items":{"$ref":"#/components/schemas/VideoScreenCapture"}},"TargetCountries":{"type":"array","items":{"type":"string"}},"TargetCountriesDetail":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventVideoTargetCountry"}},"TargetLanguage":{"type":"string"},"TargetLanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventVideo","type":"object"},"VideoScreenCapture":{"title":"VideoScreenCapture","properties":{"Height":{"type":"integer","format":"int32"},"Width":{"type":"integer","format":"int32"},"Aspect":{"type":"string"},"FilePath":{"type":"string"}},"description":"VideoScreenCapture","type":"object"},"IndexEventVideoTargetCountry":{"title":"IndexEventVideoTargetCountry","properties":{"CountryId":{"type":"integer","format":"int32"},"Country":{"type":"string"},"CountryName":{"type":"string"},"FabricId":{"type":"string"}},"description":"IndexEventVideoTargetCountry","type":"object"},"IndexEventChangeHistory":{"title":"IndexEventChangeHistory","properties":{"Id":{"type":"integer","format":"int64"},"Entity":{"type":"string"},"Modified":{"type":"string","format":"date-time"}},"description":"IndexEventChangeHistory","type":"object"}}}}
```

## Search all Events.

> Search all Events.

```json
{"openapi":"3.1.1","info":{"title":"fabric Origin API","version":"3.0"},"tags":[{"name":"sports"}],"servers":[{"url":"https://api.origin.fabricdata.com"}],"paths":{"/Sports/Search/":{"post":{"tags":["sports"],"summary":"Search all Events.","description":"Search all Events.","operationId":"SearchEventSearch_Post","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEventResponse"}}}}},"deprecated":false,"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"Ids":{"type":"array","description":"Filter results matching any of the supplied event Ids. Ex: Sports/123. Combined with other search filters; an empty list does not filter by Id."},"Title":{"type":"string","description":"Title search."},"EventDate":{"type":"string","description":"Filter results based on event date."},"EventCategory":{"type":"string","description":"Category of the Event"},"EventSubCategory":{"type":"string","description":"Type of the Event"},"SportLeague":{"type":"string","description":"Sport league of the event."},"Includes":{"type":"array","description":"Include sub objects from the program"},"Skip":{"type":"integer","description":"Rows to skip, used for paging. Default is 0.","format":"int32"},"Take":{"type":"integer","description":"Rows to return, used for paging. Default is 10, limit is 10.","format":"int32"},"NextPageToken":{"type":"string","description":"Used for deep paging of record (typically beyond 10,000). Provide the NextPageToken returned from search results when using Timestamp sorting for optimal performance while paging large result sets. Skip is ignored when this parameter is provided."},"Providers":{"type":"array","description":"List of event availability providers."},"AvailabilityCountries":{"type":"array","description":"List of 2 character country codes."},"ParticipantNames":{"type":"array","description":"List of participant names. Maximum of 3."},"SortByTimeStamp":{"type":"boolean","description":"Sort results based on last modified descending.  Default is sorted by _score. DEPRECIATED! Use SortBy instead."}},"required":[]}}}}}}},"components":{"schemas":{"SearchEventResponse":{"title":"SearchEventResponse","properties":{"Took":{"type":"integer","format":"int64"},"Total":{"type":"integer","format":"int64"},"MaxScore":{"type":"number","format":"double"},"Hits":{"type":"array","items":{"$ref":"#/components/schemas/EventSearchHit"}},"Message":{"type":"string"},"NextPageToken":{"type":"string"}},"description":"SearchEventResponse","type":"object"},"EventSearchHit":{"title":"EventSearchHit","properties":{"Score":{"type":"number","format":"double"},"Source":{"$ref":"#/components/schemas/DiscoverEvent"},"Id":{"type":"string"}},"description":"EventSearchHit","type":"object"},"DiscoverEvent":{"title":"DiscoverEvent","properties":{"Id":{"description":"Unique ID of the Event in format 'Sports/{Id}'","type":"string"},"EventCategory":{"description":"Category of the Event","type":"string"},"EventSubCategory":{"description":"Type of the Event","type":"string"},"Title":{"description":"English version of event Title.","type":"string"},"Titles":{"type":"array","items":{"type":"string"}},"EventDate":{"description":"Date of the Event.","type":"string"},"EventTime":{"description":"Time of the Event.","type":"string"},"OriginalPlatform":{"description":"Original platform.","type":"string"},"Status":{"description":"Status of the event.","type":"string"},"SportLeague":{"description":"Sport league of the event.","type":"string"},"Participants":{"description":"List of participants (Team, Athlete, Performer, Musician, Politician, etc.) for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventParticipant"}},"AlternateTitles":{"description":"List of alternate titles for this Program.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateTitle"}},"Releases":{"description":"List of releases associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventRelease"}},"ExternalIds":{"description":"List of external Ids associated with event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAlternateId"}},"Descriptions":{"description":"List of descriptions for this event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventDescription"}},"Availabilities":{"description":"List of availabilities for event.","type":"array","items":{"$ref":"#/components/schemas/IndexEventAvailability"}},"Images":{"description":"List of images.","type":"array","items":{"$ref":"#/components/schemas/IndexEventImage"}},"Videos":{"description":"List of videos.","type":"array","items":{"$ref":"#/components/schemas/IndexEventVideo"}},"Modified":{"description":"DateTime DiscoverEvent record last modified.","type":"string","format":"date-time"},"Created":{"description":"DateTime record was created.","type":"string","format":"date-time"},"Deleted":{"description":"Flag signifies if Event record is 'Deleted'.","type":"boolean"},"EventChangeHistory":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventChangeHistory"}}},"description":"DiscoverEvent","type":"object"},"IndexEventParticipant":{"title":"IndexEventParticipant","properties":{"Id":{"type":"integer","format":"int64"},"ParticipantId":{"type":"integer","format":"int64"},"ParticipantName":{"type":"string"},"ParticipantType":{"type":"string"}},"description":"IndexEventParticipant","type":"object"},"IndexEventAlternateTitle":{"title":"IndexEventAlternateTitle","properties":{"Title":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"CountryFabricId":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventAlternateTitle","type":"object"},"LanguageDetail":{"title":"LanguageDetail","properties":{"Id":{"description":"Unique ID of a Language.","type":"integer","format":"int32"},"IsoCode":{"description":"ISO code for this Language.","type":"string"},"Name":{"description":"Name of the Language.","type":"string"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IETFCode":{"description":"IETF BCP 47 code for this language.","type":"string"}},"description":"LanguageDetail","type":"object"},"IndexEventRelease":{"title":"IndexEventRelease","properties":{"Date":{"type":"string","format":"date-time"},"Certification":{"type":"string"},"Country":{"type":"string"},"CountryName":{"type":"string"},"CountryId":{"type":"integer","format":"int32"},"FabricCountryId":{"type":"string"},"Type":{"type":"string"}},"description":"IndexEventRelease","type":"object"},"IndexEventAlternateId":{"title":"IndexEventAlternateId","properties":{"Type":{"type":"string"},"Id":{"type":"string"}},"description":"IndexEventAlternateId","type":"object"},"IndexEventDescription":{"title":"IndexEventDescription","properties":{"Description":{"type":"string"},"DescriptionType":{"type":"string"},"Attribution":{"type":"string"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventDescription","type":"object"},"IndexEventAvailability":{"title":"IndexEventAvailability","properties":{"Provider":{"type":"string"},"OfferType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Price":{"type":"number","format":"double"},"Currency":{"type":"string"},"PreSale":{"type":"boolean"},"Quality":{"type":"string"},"Country":{"type":"string"},"CountryDetail":{"$ref":"#/components/schemas/CountryDetail"},"Links":{"type":"array","items":{"$ref":"#/components/schemas/OfferLink"}},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"}},"description":"IndexEventAvailability","type":"object"},"CountryDetail":{"title":"CountryDetail","properties":{"Id":{"type":"integer","format":"int32"},"FabricId":{"description":"Fabric Language Id.","type":"string"},"IsoCode":{"description":"ISO code for a Country.","type":"string"},"IsoCodeA3":{"description":"ISO 3 character code for a Country.","type":"string"},"Name":{"description":"Name of the Country.","type":"string"},"AlternateNames":{"description":"Alternate names of the Country.","type":"array","items":{"type":"string"}}},"description":"CountryDetail","type":"object"},"OfferLink":{"title":"OfferLink","properties":{"Platform":{"type":"string"},"Url":{"type":"string"}},"description":"OfferLink","type":"object"},"IndexEventImage":{"title":"IndexEventImage","properties":{"ImageType":{"type":"string"},"Attribution":{"type":"string"},"Width":{"type":"integer","format":"int32"},"Height":{"type":"integer","format":"int32"},"Violence":{"type":"integer","format":"int32"},"Sexuality":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"},"Tags":{"type":"array","items":{"type":"string"}},"Official":{"type":"boolean"},"FilePath":{"type":"string"},"Modified":{"type":"string","format":"date-time"},"Created":{"type":"string","format":"date-time"}},"description":"IndexEventImage","type":"object"},"IndexEventVideo":{"title":"IndexEventVideo","properties":{"Id":{"type":"integer","format":"int64"},"Title":{"type":"string"},"Type":{"type":"string"},"StartDate":{"type":"string","format":"date-time"},"ExpirationDate":{"type":"string","format":"date-time"},"Mature":{"type":"boolean"},"CaptionID":{"description":"Closed Caption ID for a video, see the /Videos/ClosedCaption API for more details","type":"integer","format":"int64"},"Duration":{"type":"integer","format":"int32"},"Language":{"type":"string"},"LanguageSubtitled":{"type":"string"},"Company":{"type":"string"},"Clean":{"type":"boolean"},"AllowAdvertising":{"type":"boolean"},"Certification":{"type":"boolean"},"Theatrical":{"type":"boolean"},"HomeVideo":{"type":"boolean"},"TuneIn":{"type":"boolean"},"SourceVideoWidth":{"type":"integer","format":"int32"},"SourceVideoHeight":{"type":"integer","format":"int32"},"Encoded":{"type":"string","format":"date-time"},"ScreenCaptures":{"type":"array","items":{"$ref":"#/components/schemas/VideoScreenCapture"}},"TargetCountries":{"type":"array","items":{"type":"string"}},"TargetCountriesDetail":{"type":"array","items":{"$ref":"#/components/schemas/IndexEventVideoTargetCountry"}},"TargetLanguage":{"type":"string"},"TargetLanguageDetail":{"$ref":"#/components/schemas/LanguageDetail"}},"description":"IndexEventVideo","type":"object"},"VideoScreenCapture":{"title":"VideoScreenCapture","properties":{"Height":{"type":"integer","format":"int32"},"Width":{"type":"integer","format":"int32"},"Aspect":{"type":"string"},"FilePath":{"type":"string"}},"description":"VideoScreenCapture","type":"object"},"IndexEventVideoTargetCountry":{"title":"IndexEventVideoTargetCountry","properties":{"CountryId":{"type":"integer","format":"int32"},"Country":{"type":"string"},"CountryName":{"type":"string"},"FabricId":{"type":"string"}},"description":"IndexEventVideoTargetCountry","type":"object"},"IndexEventChangeHistory":{"title":"IndexEventChangeHistory","properties":{"Id":{"type":"integer","format":"int64"},"Entity":{"type":"string"},"Modified":{"type":"string","format":"date-time"}},"description":"IndexEventChangeHistory","type":"object"}}}}
```
