events.scouts.create [draft]
Resource information
URL | https://api.statscore.com/v2/events/{event_id}/scouts/ |
---|---|
Method | PATCH |
Description | Adds scout to the event. |
Authorization required | Yes |
Internal method | Yes |
Parameters
Name | Data type | Description |
---|---|---|
id | xsd:int | REQUIRED. Scout's identifier |
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 |