Athena — mahmoud-consultancy/archive/old-docs/SENTIOR_SOURCES_STATUS.md

Sentior Sources - Current Status & Next Steps

Date: October 17, 2025 API Endpoint: https://bwc-sentior-backend.azurewebsites.net/graphql Total Sources: 87 (confirmed via GraphQL count) Currently Extracted: 10 active sources


✅ Confirmed: 10 Active Sources

  1. Gemeente Delft (DAS) - ID: 95
  2. Uitvoeringsorganisatie Bedrijfsvoering Rijk (DAS) - ID: 93
  3. VRK Huurt In (MARKTPLAATS) - ID: 94
  4. Banenplein Limburg (MARKTPLAATS) - ID: 92
  5. Politie (DAS) - ID: 90 - URGENT (ends 22-03-2025)
  6. Flextender (MARKTPLAATS) - ID: 85 - ✅ Already integrated
  7. Waterschap Rivierenland (DAS) - ID: 89
  8. Nederlandse Publieke Omroep - NPO (DAS) - ID: 88
  9. Werken voor 's-Hertogenbosch (MARKTPLAATS) - ID: 82
  10. VNG Realisatie BV (DAS) - ID: 70

📊 API Information

GraphQL Endpoint: https://bwc-sentior-backend.azurewebsites.net/graphql

Authentication: JWT Bearer token required

  • Header: Authorization: Bearer <JWT_TOKEN>
  • Error without auth: {"code":"FORBIDDEN","message":"not authorized"}

GraphQL Query Structure:

query {
  Tenders(limit: 100) {
    count
    items {
      tenderId
      name
      type
      startDate
      endDate
      lastPosted
      isActive
    }
  }
}

📋 To Extract All 87 Sources

Option 1: GraphQL API (Fastest - 1 minute)

Requirements:

  • Valid JWT access token
  • Proper curl command with authentication

Command Template:

curl -s https://bwc-sentior-backend.azurewebsites.net/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <VALID_JWT_TOKEN>" \
  -d '{"query":"query { Tenders(limit: 100) { count items { tenderId name type isActive } } }"}'

Option 2: Manual UI Extraction (Slower - 15 minutes)

Steps:

  1. Go to https://www.sentior.com/app/sources
  2. Uncheck "Actief" filter
  3. Navigate through all ~9 pages (87 sources / 10 per page)
  4. Copy each source name

Option 3: Browser DevTools Network Tab

Steps:

  1. Open Sentior sources page
  2. Open DevTools (F12) → Network tab
  3. Filter for "graphql"
  4. Copy the request headers (includes auth token)
  5. Use that token for API calls

🎯 Recommendation

Please provide: Complete GraphQL JSON response with all 87 sources

OR

I can manually navigate through Sentior pages (will take ~15 min to extract all 87 source names)


📝 Current Status

  • ✅ Identified GraphQL API endpoint
  • ✅ Confirmed 87 total sources
  • ✅ Documented 10 active sources
  • ⏳ Need to extract remaining 77 sources
  • ⏳ Authentication method understood (JWT Bearer)

Next Action: Choose extraction method to get all 87 sources

Reacties

Nog geen reacties