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 2 Next »

Resource information

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

Description

Adds scout to the event.
Authorization requiredYes
Internal methodYes

Parameters 

Name

Data type

Description

idxsd:intREQUIRED. Scout's identifier
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},
}' "http://dev.api.softnetsport.com/v2/events/{eventId}/scouts?token={token}"


id, name, surname, event_id, token 

  • No labels