MyRacePass API

Overview

Resources

Resource: Points

GET /v2/points/Gets point standings

Request Parameters

Below is a list or available request parameters.

NameTypeDescriptionDefault
ScheduleId INT ID of the schedule to pull points from [REQUIRED]
ClassId INT ID for the class to filter points from [REQUIRED]
DriverCount INT Number of drivers per class to return (0 for all drivers) 0

Format Parameters

none

Example Call

GET

https://api.myracepass.com/v2/points/?key={xxx}&ScheduleId={id}&ClassId={id}

Response Information

Returns

A driver point standings.

Response Body
	{
    "RequestValid": 1,
    "ClassId": 1002,
    "ClassName": "360 Sprints - Winged",
    "ClassNameOverride": "",
    "PointsAsOf": "5/18/2014",
    "Points": [
        {
            "Position": 1,
            "CarNum": "17",
            "PointTotal": "16",
            "Wins": 1,
            "Top5": 3,
            "Top10": 3,
            "Features": 3,
            "Driver": [
                {
                    "DriverId": "1",
                    "DriverFName": "Sample",
                    "DriverLName": "Driver",
                    "DriverSuffix": "",
                    "DriverCity": "Madison",
                    "DriverState": "WI",
                    "DriverCountry": ""
                }
            ]
        },
        {
            "Position": 2,
            "CarNum": "20X",
            "PointTotal": "15",
            "Wins": 0,
            "Top5": 4,
            "Top10": 4,
            "Features": 4,
            "Driver": [
                {
                    "DriverId": "2",
                    "DriverFName": "Sample",
                    "DriverLName": "Driver",
                    "DriverSuffix": "Jr",
                    "DriverCity": "Madison",
                    "DriverState": "WI",
                    "DriverCountry": ""
                }
            ]
        },
        {
            "Position": 3,
            "CarNum": "5",
            "PointTotal": "14",
            "Wins": 0,
            "Top5": 2,
            "Top10": 4,
            "Features": 4,
            "Driver": [
                {
                    "DriverId": "3",
                    "DriverFName": "John",
                    "DriverLName": "Driver",
                    "DriverSuffix": "",
                    "DriverCity": "Appleton",
                    "DriverState": "WI",
                    "DriverCountry": ""
                }
            ]
        }
    ],
    "RequestCached": 0
}

Shopping Cart Update Cart ()

Loading...