1 Introduction #
Service Name: Events.svc
Service Description: service which can provides a functionality to view any new event or races created/updated information along with runners registration for events.
Version: 1.0
Date: 09-11-2023
2 Endpoints #
List all the endpoints provided by your WCF service. Include the endpoint URL and a brief description of each.
2.1 Race director authentication #
Endpoint URL: https://ultrasignup.com/service/events.svc/user
Description: uses basic authentication having username & password on ultrasignup.com website.
2.1. Get new Runners registered #
Endpoint URL: https://ultrasignup.com/service/events.svc/runners
Description: Triggers when new runner is registered for a event under a race director.
2.1. Get Runner cancellation #
Endpoint URL: https://ultrasignup.com/service/events.svc/runner/cancel
Description: Triggers when a runner cancel the events.
2.1. Get Runners distance change #
Endpoint URL: https://ultrasignup.com/service/events.svc/runner/distanceΒ
Description: Triggers when a runners event distance get changed.
3 Authentication and Authorization #
Users needs to have access on ultrasignup.com and user should be a race director.
Data specific to race directors will be shown as new runners registration, cancellation or distance changes.
4 Error Handling #
<TBD>
5 Request and Response Examples #
Include sample HTTP requests and responses for different methods and scenarios. Use actual code snippets to demonstrate how to interact with the service.
5.1. New Runner Registration #
Request:
https://ultrasignup.com/service/events.svc/runner/cancel?email= <racedirectoryID>
e.g.: https://ultrasignup.azurewebsites.net/service/events.svc/runners?email=rufdog1@gmail.com
Response:
[
{
“Address”: “”,
“City”: “Louisville”,
“CreatedDate”: “3/26/2023 3:17:23 AM”,
“Email”: “richdesch@yahoo.com”,
“EmergencyContactName”: “Katie Waters”,
“EmergencyContantNumber”: “6318065023”,
“EventDateId”: null,
“EventDistance”: “100 Mile Tortoises”,
“EventId”: null,
“EventName”: “Run Rabbit Run”,
“FirstName”: “Rich”,
“LastName”: “Desch”,
“LastUpdatedDate”: “9/11/2023 2:03:31 PM”,
“PhoneNumber”: “5169658170”,
“State”: “CO”,
“Status”: “Registered”,
“id”: “d147322e-19e7-4d18-ab97-ab79b667d840”
}]
5.2. Runner Cancellation #
Request:
https://ultrasignup.com/service/events.svc/runner/cancel?email= <racedirectoryID>
e.g.: https://ultrasignup.com/service/events.svc/runner/cancel?email=rahul@ultrasignup.com
Response:
[
{
“Address”: “”,
“City”: “steamboat springs”,
“CreatedDate”: “9/5/2023 2:26:31 PM”,
“Email”: “vanness25@yahoo.com”,
“EmergencyContactName”: “meredith”,
“EmergencyContantNumber”: “3037179151”,
“EventDateId”: “50236”,
“EventDistance”: “50 Miler”,
“EventId”: “65”,
“EventName”: “Run Rabbit Run”,
“FirstName”: “Ryan”,
“LastName”: “Van Ness”,
“LastUpdatedDate”: “9/5/2023 2:27:29 PM”,
“PhoneNumber”: “3039472727”,
“State”: “CO”,
“Status”: Cancelled,
“id”: “3d258f02-6ec7-4445-865e-8e250742c193”
}]
5.3. Runner Distance Change #
Request:
https://ultrasignup.com/service/events.svc/runner/distance?email= <racedirectoryID>
e.g.: https://ultrasignup.com/service/events.svc/runner/distance?email=rufdog1@gmail.com
Response:
[
{
“Address”: “”,
“City”: “steamboat springs”,
“CreatedDate”: “9/5/2023 2:26:31 PM”,
“Email”: “vanness25@yahoo.com”,
“EmergencyContactName”: “meredith”,
“EmergencyContantNumber”: “3037179151”,
“EventDateId”: “50236”,
“EventDistance”: “50 Miler”,
“EventId”: “65”,
“EventName”: “Run Rabbit Run”,
“FirstName”: “Ryan”,
“LastName”: “Van Ness”,
“LastUpdatedDate”: “9/5/2023 2:27:29 PM”,
“PhoneNumber”: “3039472727”,
“State”: “CO”,
“Status”: null,
“id”: “3d258f02-6ec7-4445-865e-8e250742c193”
}]
Provide links to any additional resources, such as SDKs, client libraries, or related documentation.
- Contact Information
info@ultrasignup.com