Create new Events

Create (add) new events to the regatta.

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/events

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

Data

JSON
A collection of type Event to be created.

Returns

JSON
A collection of newly created Event objects including the newly assigned event_id.

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/events',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data:

										
									

Results: JSON

Create Races in an Event

Create one or more races in an event.

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/events/{EventId}/races

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

EventId
The RegattaCentral ID of the event in which the entries are being created..

Data

JSON
A collection of Races objects.

Returns

JSON
A collection of newly created Races, including the newly assigned RaceId.

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/event-races',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Create Event Entries

Create (add) new entries to a specific event

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/events/{EventId}/entries

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

EventId
The RegattaCentral ID of the event in which the entries are being created..

Data

JSON
A collection of Entries to be added to the event.

Returns

JSON
A collection of Entries that are create, including their entryId.

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/entries',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Create (Assign) Lanes (Bow) in a Race

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/races/{RaceId}/lanes

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

RaceId
The RegattaCentral ID of the race in which the lanes are being created/assigned..

Data

JSON
A collection of Lanes to assign to the specified race.

Returns

JSON
A collection of all assigned lanes for the specified race.

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/lanes',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Assign Results to a race's lane.

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/races/{raceId}/results

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

RaceId
The RegattaCentral ID of the race in which the lanes are being created/assigned..

Data

JSON
A structure of type Events. May contain more than one event.

Returns

JSON
An Events structure, including updated data - specifically the event_id

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/lane-results',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Create results for the specified race

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/races/{raceId}/results

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

RaceId
The RegattaCentral ID of the race in which the lanes are being created/assigned..

Data

JSON
A structure of type Events. May contain more than one event.

Returns

JSON
An Events structure, including updated data - specifically the event_id

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/race-results',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Create a new entry-gec

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/entry-gec

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

Data

JSON
A structure of type Events. May contain more than one event.

Returns

JSON
An Events structure, including updated data - specifically the event_id

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/entry-gec',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

Create a new org-gec

URL: https://api.regattacentral.com/v4.0​/regatta/{RegattaId}/org-gec

Security This endpoint requires a valid Oauth2 token for authentication and staff access to the regatta.

POST This is a POST request.

Parameters

RegattaId
The RegattaCentral ID of the regatta that you are uploading data to.

Data

JSON
A structure of type Events. May contain more than one event.

Returns

JSON
An Events structure, including updated data - specifically the event_id

Code: JavaScript + jQuery

										$.ajax({
    type: "POST",
    url: 'https://api.regattacentral.com/v4.0​/regatta/3939/org-gec',
    data : json-data,
    headers: {"Authorization": "hex-authorization-code-goes-here",
              "Accept": "application/json",
              "Content-Type" : "application/json"},
    success: function (data) {
        // Process and Display Data
    },
    error: function () {
        alert('Error processing request.');
    }
});
									

Data: JSON   XML

										
									

Results: JSON

RegattaCentral © 2024 | Support | Privacy