Insert / Update Participants

Participants can be inserted using a POST request to the API including the participant data in the Body, this will also update any participant data for participants already entered into the software, matching on bib number. Note that when updating participants this will not update any Age Groups, you will need to trigger this separately if the data has changed. 

To insert / update participants use a Custom API with:

part/savefields?

 

Body

Participant data should be parsed in JSON format, you can send any number of data fields and only those which are sent will be updated, note that bib must be sent always. The format should look as follows:

{"Bib":"123","CreatedBy":"Username","Lastname":"Doe","Firstname":"John","DateOfBirth":"1993-01-01","Sex":"m","Contest":"1","ATF1":"Red"}

To send multiple participant records in one then the format is extended as such:

[{ Participant Data 1.....},{ Participant Data 2.....},{ Participant Data 3.....}]

The whole body is wrapped in square brackets with commas between each record.