...
URL | https://api.softnetsport.com/v2/events/{event_id}/lineups/ | |
---|---|---|
XSD | ||
Method | POST | |
Description | Adds participant to lineups. | |
Authorization required | Yes | |
Internal method | Yes |
...
.data | |
---|---|
..lineups | |
id | Lineup's id. |
participant_id | Participant's id. |
participant_team_id | Participant's team id. |
participant_name | Participant's name. |
shirt_nr | Participnat's shirt number. |
position | Participant's position. |
function | Participant's function. Ex. coach, player etc. |
appearance | Appearance of field. |
Sample curl call
Request | Parameters |
---|---|
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d '{"shirt_nr":1,"participant_name":"asdasd","participant_team_id":"961652","position":null}' "https://api.softnetsport.com/v2/events/{event_id}/lineups?token={token}" | token, event_id, data
|