Versions Compared

Key

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

Resource information

URLhttps://api.
softnetsport
statscore.com/v2/events/{event_id}/scouts/
XSD
MethodPATCH

Description

Adds scout to the event.
Authorization requiredYes
Internal methodYes

Parameters 

Name

Data type

Description

idxsd:intREQUIRED. Scout's identifier
namexsd:stringScout's first namesurnamexsd:string Scout's surname
full_namexsd:stringScout's full nameemailxsd: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.

softnetsport

statscore.com/v2/events/{eventId}/scouts?token={token}"


id, name, surname, event_id, token