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 3 Current »

Resource information

URLhttps://api.softnetsport.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.softnetsport.com/v2/events/{eventId}/scouts?token={token}"


id, name, surname, event_id, token 

  • No labels