A home match date, checked
match_date_checkChecks a proposed date and time for a home match before the captain posts it on the USTA NorCal league site. Pass the team, the match and the proposed date and start time, and the format and second-shift time if the captain has them. It says whether the form offers that time, which formats the form offers for the team's lines, and whether the team already plays that day. The Desk never acts on the USTA site, so the captain, or their own agent in their own session, presses Submit. Call it when a captain asks whether a date works, or before an agent fills the post-dates form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date the schedule shows for the match now, as 2026-10-24, to find it. Optional with opponent. | |
| team | Yes | The member's team: the Desk's team id, which is USTA NorCal's own team id, a link to its team page, or its name. | |
| asked | No | The person's question word for word, never paraphrased. Leave it out rather than invent one. | |
| format | No | The match format, as the form names it: All 3, 2/1 or 1/2 for three lines, and All 5, 3/2, 2/3, 4/1 or 1/4 for five. | |
| season | No | Season year. Defaults to the current season. | |
| opponent | No | The other team in the match, as the schedule names it. With date, or alone. | |
| proposedDate | Yes | The date the captain wants to post, as 2026-10-24. | |
| proposedTime | Yes | The start time the captain wants, as 6:30 PM. | |
| secondShiftTime | No | The second shift's start time, for a two-shift format. |