Schema Registry
ContactAttemptRequest

ContactAttemptRequest

ContactAttemptRequest data model

Properties

PropertyTypeRequiredDescription
league_idstringβœ… YesLeague ID
methodstringβœ… YesContact method (email, phone, meeting)
outcomestringβœ… YesOutcome of contact attempt
notesstring❌ NoAdditional notes

Example

{
  "league_id": "example",
  "method": "example",
  "outcome": "example",
  "notes": "example"
}

Used In

Code Examples

TypeScript

interface ContactAttemptRequest {
  league_id: string;
  method: string;
  outcome: string;
  notes?: string;
}
 
// Usage example
const data: ContactAttemptRequest = {
  "league_id": "example",
  "method": "example",
  "outcome": "example",
  "notes": "example"
};

Python

from data_layer.schemas import ContactAttemptRequest
 
# Create instance
data = ContactAttemptRequest(
    # Add your field values here
)

cURL

curl -X POST "https://altsportsleagues-backend-2qcdjegnaa-uc.a.run.app/api/endpoint" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{   "league_id": "example",   "method": "example",   "outcome": "example",   "notes": "example" }'

Validation Rules

Required Fields: league_id, method, outcome

Additional Information

  • Type: object
  • Source: Generated from Pydantic models in data_layer/schemas/
  • Auto-validated: All fields are validated by FastAPI

This documentation is auto-generated from the OpenAPI specification.

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time