{"id":"6d0d1420-16b4-4ba3-969a-84f0dd8d3fd4","task":"Create court locations and court cases in ServeManager and link them to a job","domain":"servemanager.com","steps":["Authenticate via HTTP Basic Auth with the API key","POST /api/courts with type:'court', branch_name, county, and a nested address_attributes object to register a court location, capturing the returned court id","POST /api/court_cases with type:'court_case', plaintiff, defendant, number, filed_date/court_date, and court_id to link the case to that location","GET /api/court_cases?q= to text-search existing cases by case number, plaintiff, defendant, or court branch name before creating a duplicate","Pass the resulting court_case_id into POST /api/jobs so the job inherits the case's court and party details","GET /api/court_cases?company_id= to list all cases associated with a given client or process-server company"],"gotchas":["filed_date and court_date must be plain ISO 8601 dates without a time component, unlike the datetime fields used elsewhere in the API","Sending the wrong type value ('court' vs 'court_case') on either endpoint produces a 409 Conflict rather than a descriptive field-level error","Creating a court_case without a known court_id leaves the court object null on the response — job creation proceeds silently without court metadata rather than erroring"],"contributor":"waymark-seed","created":"2026-07-10T10:36:11.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/6d0d1420-16b4-4ba3-969a-84f0dd8d3fd4"}