Resource information
URL | https://api.softnetsport.com/v2/events/{event_id}/lineups/{lineupId} |
---|---|
XSD | |
Method | PATCH |
Description | Updates participant in lineups for given event. |
Authorization required | Yes |
Parameters
Name | Data type | Description |
---|---|---|
event_id | xsd:int | REQUIRED. The event identifier |
lineup_id | xsd:int | REQUIRED. The lineup identifier |
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
participant_name | xsd:string | REQUIRED. Participant's name. |
participant_id | xsd:int | Participant's id |
participant_team_id | xsd:int | REQUIRED. Participant's team id |
position | xsd:string | Participant's position |
shirt_nr | xsd:int | Participant's shirt number |
Response
.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. |