MyRacePass API

Overview

Resources

Resource: Schedules/Results

GET /v2/schedules/lineups/Gets lineups for a schedule event

Request Parameters

Below is a list or available request parameters.

NameTypeDescriptionDefault
EventId INT Id of event to pull lineups for [REQUIRED]
ClassId INT Filters lineups to a specific classId (0 for all) 0

Note: An Event Connection Code can be used in place of an API key. When an Event Connection Code is used, EventId is not required.

Format Parameters

None

Example Call

GET

https://api.myracepass.com/v2/schedules/lineups/?key={xxx}&EventId={id}

Response Information

Returns

A list of event line-ups.

Response Body
	{
    "RequestValid": 1,
    "ItemsReturned": 1,
    "Classes": [
        {
            "ClassId": "1002",
            "ClassName": "360 Sprints - Winged",
            "ClassNameOverride": "360 Winged Sprints",
            "Races": [
                {
                    "RaceName": "A Feature",
                    "RaceType": "Feature",
                    "RaceOrder": 1,
                    "RaceLevel": "A",
                    "RaceLaps": 20,
                    "RaceTime": "",
"RaceTransfer": 0,
                    "RaceTech": 5,
                    "RacePresenter": "",
                    "RaceNotes": "",
                    "RaceStatus": "Line-ups",
                    "Lineups": [
                        {
                            "LineupPos": 1,
                            "LineupCarNum": "11",
                            "LineupTx1": "1010",
                            "LineupTx2": "",
                            "Driver": [
                                {
                                    "DriverId": "1",
                                    "DriverFName": "Sample",
                                    "DriverLName": "Driver",
                                    "DriverSuffix": "",
                                    "DriverCity": "Madison",
                                    "DriverState": "WI",
                                    "DriverCountry": "US"
                                }
                            ]
                        },
                        {
                            "LineupPos": 2,
                            "LineupCarNum": "12",
                            "LineupTx1": "1011",
                            "LineupTx2": "",
                            "Driver": [
                                {
                                    "DriverId": "2",
                                    "DriverFName": "Sample",
                                    "DriverLName": "Driver",
                                    "DriverSuffix": "Jr",
                                    "DriverCity": "Madison",
                                    "DriverState": "WI",
                                    "DriverCountry": "US"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "RequestCached": 0
}

Shopping Cart Update Cart ()

Loading...