Insert passings

Insert new race passings into an active timing session.

Inserts a list of race passings into an active timing session.

POST https://api.runonrufus.com/v0/passings

Headers

NameTypeDescription

api_key*

String

Account api key with WRITE or READ_WRITE access type.

Request Body

NameTypeDescription

token_session*

String

Session token identifier.

passings_list*

Array

Array of {passing} objects.

- passing.bib*

String

Bib number.

- passing.num_passing*

Int

Order number of the passing.

- passing.timestamp*

Date

Date object containing the timestamp information of the passing.

Format: YYYY-MM-DDTHH:mm:ss.sssZ

- passing.latitude

String

Latitude coordinate of the passing.

- passing.longitude

String

Longitude coordinate of the passing.

- passing.status

String

Status of the passing.

- passing.participant_id

String

Alternative id field for the passing.

- passing.chips

String

Chip code of the passing.

- passing.timezone

String

Timezone

- passing.gender

String

Alternative gender field for the passing.

{
    "description":"Passings inserted succesfully"
    "token_session":"2A19294BB886C3D5C7783309BBC6E385515C843893A6BC126FECE3904C6E2B25"
    "inserted_count":10
}
curl -X POST \
-H "Content-Type: application/json" \
-H "api_key: ror-ae4fc6c19681a20fad30" \
-d '{"token_session": "2A19294BB886C3D5C7783309BBC6E385515C843893A6BC126FECE3904C6E2B25", 
     "passings_list": [
          {
            "bib":"7",
            "num_passing":1,
            "timestamp":"2023-01-22T09:20:25.000Z"
          },
          {
            "bib":"17",
            "num_passing":2,
            "timestamp":"2023-01-22T09:21:33.000Z",
            "timezone":"UTC"
            "latitude":"12.000",
            "longitude":"13.000",
            "status":"Sent",
            "participant_id":"XB123AR8",
            "chip":"000000000000017"
          }
       ]
     }'\
https://api.runonrufus.com/v0/passings

Last updated