events.defaults.providers.update

Resource information

URLhttps://api.statscore.com/v2/events/{eventId}/defaults/providers/{providerId}
MethodPOST

Description

Update the event provider and set its default parameters (coverage type, event stats levels) in the event.

Authorization requiredYes
Internal methodYes

Parameters

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier
provider_idxsd:intREQUIRED. The provider identifier
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section

POST parameters

NameData typeDescription
(empty)

Output elements

.data

provider_id

Identifier of the event provider

provider_event_id

Identifier of the mapped provider event

Sample curl call

Request
 Parameters
curl -X POST -H 'Content-Type: application/json' "https://api.statscore.com/v2/events/{event_id}/defaults/providers/{provider_id}?token={token}"

token, event_id, provider_id