events.scouts.create
Resource information
URL | https://api.statscore.com/v2/events/{event_id}/scouts/ |
---|---|
Method | POST |
Description | Adds scout to the event. |
Authorization required | Yes |
Internal method | Yes |
Parameters
Name | Data type | Description |
---|---|---|
id | xsd:int | REQUIRED. Scout's identifier |
name | xsd:string | REQUIRED. Scout's first name |
surname | xsd:string | REQUIRED. Scout's surname |
full_name | xsd:string | Scout's full name |
xsd:string | Scout's email | |
scout_salary | xsd:int | Salary |
extra_salary | xsd:int | Extra salary amount |
note | xsd:string | Notes given during assignment |
Output elements
.data | |
---|---|
message | Response info message. |
status | Response code. |
Sample curl call
Request | Parameters |
---|---|
curl -X POST -H "Content-Type: application/json" '{ | id, name, surname, event_id, token |