events.scouts.create

Resource information

URLhttps://api.statscore.com/v2/events/{event_id}/scouts/
MethodPOST

Description

Adds scout to the event.
Authorization requiredYes
Internal methodYes

Parameters 

Name
Data type
Description
idxsd:intREQUIRED. Scout's identifier
namexsd:stringREQUIRED. Scout's first name
surnamexsd:stringREQUIRED. Scout's surname
full_namexsd:stringScout's full name
emailxsd:stringScout's email
scout_salaryxsd:intSalary
extra_salaryxsd:intExtra salary amount
notexsd:stringNotes given during assignment

Output elements

.data
 
messageResponse info message.
statusResponse code.

Sample curl call

Request
 Parameters

curl -X POST -H "Content-Type: application/json" '{
"id":{id},
"name":{name},
"surname":{surname}
}' "http://dev.api.statscore.com/v2/events/{eventId}/scouts?token={token}"


id, name, surname, event_id, token