--- name: ordrestyring description: Access Ordrestyring job management system for Parlobyg. Use for cases, customers, quotes, time registration, invoicing, materials. Triggers on anything Ordrestyring-related. --- # Ordrestyring Skill GraphQL API client for Ordrestyring โ€” the core job management system for Parlobyg (Danish construction company). ## Quick Start ```bash # Query cases python3 scripts/graphql_query.py cases --limit 10 # Query customers python3 scripts/graphql_query.py customers --limit 10 # Query specific case python3 scripts/graphql_query.py case --id 12345 # Query hours/time entries python3 scripts/graphql_query.py hours --limit 50 # Query offers/quotes python3 scripts/graphql_query.py offers --limit 10 ``` ## Credentials - **Agreement ID:** 21528 - **API Key:** `q3mjVDR6wAdPCvZT` - **GraphQL Endpoint:** `https://graphql.ordrestyring.dk/graphql` - **GraphiQL (interactive):** `https://graphql.ordrestyring.dk/graphiql` ## Capabilities **Via GraphQL API:** - ๐Ÿ“‹ **Cases (Sager)** โ€” search, status, economy - ๐Ÿ‘ฅ **Customers (Kunder)** โ€” contact info, addresses, statements - ๐Ÿงพ **Quotes & Invoices** โ€” quote lines, sales invoices - โฑ๏ธ **Hours (Timer)** โ€” registered hours per case, worker, period - ๐Ÿ”ง **Materials** โ€” material usage per case - ๐Ÿ“Š **Finance** โ€” financePosts, aggregations **Pagination:** Max 200 per page **Safety:** Mutations are coded but gated. Read-only by default. ## Web Login (fallback) For features not in API (e.g., Gantt views): - URL: https://ordrestyring.dk - Aftalenummer: 21528 - Brugernavn: Mikkel - (Password: ask Mikkel) ## References - [GraphQL API Reference](references/graphql-api.md) - [Web Access Notes](references/web-access.md)