End point

GET https://[API-BASE-URL]/v2/sites/[SITE_ID]/export/registrations-2

Description

Returns a list of registrants, with basic member information, parent information, invoice details, program data, and custom registration form fields. Intended to pull large exports of registration records.

Parameters

Only the first 1000 results are returned at a time. Because of this, it's important to use the last-updated and last-id parameters to ensure that you get all results. We recommend starting with both values equalling 0, and then using the values from the last returned result in subsequent calls.

Parameters

Sample

GET https://public.leagueapps.io/v2/sites/43590/export/registrations-2

Parameters:

last-updated = 0

last-id = 0

includeDeleted = true

[
    {
        "registrationId": 39207978,
        "registrationStatus": "SPOT_RESERVED",
        "siteName": "Sportsdog NYC",
        "lastUpdated": 1624905088000,
        "id": 39207978,
        "created": 1624905086000,
        "userId": 27408129,
        "userName": "DBFgD2Lv",
        "firstName": "Michelle",
        "lastName": "Finch",
        "userType": "CHILD",
        "userProfileId": 27336093,
        "photo": null,
        "birthDate": 1173672000000,
        "gender": "Female",
        "phone": "+14443332222",
        "address1": "30 Irving Pl",
        "address2": null,
        "city": "New York",
        "state": "NY",
        "zipCode": "10003",
        "groupName": "Finch Family",
        "groupId": 8667669,
        "parentUserId": 27408108,
        "parentFirstName": "Jane",
        "parentLastName": "Finch",
        "parentEmail": "[email protected]",
        "parentPhone": "+12223334444",
        "email": "[email protected]",
				"paymentStatus": "UNPAID",
        "invoiceId": 17330419,
        "totalAmountDue": 50.0,
        "outstandingBalance": 50.0,
        "lastPaymentDate": null,
        "amountPaid": 0.0,
        "price": 50.0,
        "discountCode": null,
        "paymentPlan": null,
        "paymentPlanStatus": null,
        "programId": 2420094,
        "masterProgramId": 0,
        "programCode": "LT; PH",
        "programType": "CLUBTEAM",
        "programName": "New York Robins",
        "host": "",
				"programState": "UPCOMING",
        "programStartDate": 1625457600000,
        "programEndDate": 1630036800000,
        "registrationStartDate": 1624852800000,
        "registrationEndDate": 1625716800000,
        "sportId": 15,
        "sport": "Softball",
        "role": "PLAYER",
				"isStaff": 0,
        "teamId": 4147851,
        "team": "14U Girls",
        "division": null,
				"season": "Summer",
        "location": null,
        "locationId": null,
				"waiverAcceptedTimestamp": 1624905086000,
				"notes": null,
				"What grade are you in?": "12th"
    },
		{
        "registrationId": 19847203,
        "registrationStatus": "SPOT_RESERVED",
        "siteName": "Surf City Sports",
        "lastUpdated": 1552589130000,
        "id": 19847203,
        "created": 1552579979000,
        "userId": 13066879,
        "userName": "Uxkwl3hxiAB",
        "firstName": "Rob",
        "lastName": "Collins",
        "userType": "ADULT",
        "userProfileId": 13062409,
        "photo": null,
        "birthDate": null,
        "gender": "Male",
        "phone": "+13333333333",
        "address1": "38 W. 21st",
        "address2": null,
        "city": "New York",
        "state": "NY",
        "zipCode": "10010",
        "groupName": null,
        "groupId": null,
        "parentUserId": null,
        "parentFirstName": null,
        "parentLastName": null,
        "parentEmail": null,
        "parentPhone": null,
        "email": "[email protected]",
        "paymentStatus": "UNPAID",
        "invoiceId": 18729367,
        "totalAmountDue": 320.0,
        "outstandingBalance": 320.0,
        "lastPaymentDate": null,
        "amountPaid": 0.0,
        "price": 320.0,
        "discountCode": null,
        "paymentPlan": null,
        "paymentPlanStatus": null,
        "programId": 1046254,
        "masterProgramId": 0,
        "masterProgramName": null,
        "programCode": null,
				"integrationCode": "LT,TG",
        "programType": "LEAGUE",
        "programName": "2020 Spring Soccer League",
        "host": null,
        "programState": "LIVE",
        "programStartDate": 1590984000000,
        "programEndDate": 1596254400000,
        "registrationStartDate": 1583038800000,
        "registrationEndDate": null,
        "sportId": 14,
        "sport": "Soccer",
        "role": "Coach",
				"isStaff": 1,
        "teamId": 2244478,
        "team": "Team A",
        "division": null,
        "season": "Spring",
        "location": null,
        "locationId": null,
        "waiverAcceptedTimestamp": null,
        "notes": null,
        "T-Shirt Size": "Medium",
    },
		{
        "registrationId": 38416449,
        "registrationStatus": "SPOT_RESERVED",
        "siteName": "Sportsdog DC",
        "lastUpdated": 1623242683000,
        "id": 38416449,
        "created": 1623242624000,
        "userId": 26747034,
        "userName": "DmSujQdg",
        "firstName": "Molly",
        "lastName": "Brady",
        "userType": "ADULT",
        "userProfileId": 26686089,
        "photo": null,
        "birthDate": 694242000000,
        "gender": "Female",
        "phone": "+2223334444",
        "address1": "3309 Apple St",
        "address2": null,
        "city": "Charlotte",
        "state": "NC",
        "zipCode": "28405",
        "groupName": "Brady Family",
        "groupId": 8409111,
        "parentUserId": null,
        "parentFirstName": null,
        "parentLastName": null,
        "parentEmail": null,
        "parentPhone": null,
        "email": "[email protected]",
        "paymentStatus": "NA_FREE",
        "invoiceId": null,
        "totalAmountDue": null,
        "outstandingBalance": null,
        "lastPaymentDate": null,
        "amountPaid": null,
        "price": null,
        "discountCode": null,
        "paymentPlan": null,
        "paymentPlanStatus": null,
        "programId": 2320335,
        "masterProgramId": 2320332,
        "masterProgramName": "Soccer Tournament - Spring 2021",
        "programCode": "A02-1395",
				"integrationCode": "GS",
        "programType": "TOURNAMENT",
        "programName": "14U Girls",
        "host": null,
        "programState": "LIVE",
        "programStartDate": 1620705600000,
        "programEndDate": null,
        "registrationStartDate": null,
        "registrationEndDate": null,
        "sportId": 14,
        "sport": "Soccer",
        "role": "Director",
				"isStaff": 1,
        "teamId": 4094622,
        "team": "Gold Team",
        "division": null,
        "season": "Spring",
        "location": null,
        "locationId": null,
        "waiverAcceptedTimestamp": 1623242624000,
        "notes": null,
        "T-Shirt Size": "Adult Small",
        "Current Grade": null
    },
    {
        "registrationId": 39209604,
        "deletedOn": 1624906896000,
        "deleted": true
    }
]

Data dictionary

Registrations data dictionary