tascan_update_project
Update a project (name, location, status, dates, number, external_refs, labor_rules, report_options). A number already used in the org is refused 409; external_refs replaces the whole list. report_options is merged into the stored object (other keys kept, a key set to null removed). labor_rules is validated like the projects CHECK.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| number | No | New project number, 1-40 letters, digits, dot, underscore or hyphen, unique in the org. A P-<digits> number is refused 400 unless it is the project's current number | |
| status | No | Status | |
| end_date | No | End date (ISO) | |
| location | No | New location | |
| project_id | Yes | Project ID | |
| start_date | No | Start date (ISO) | |
| labor_rules | No | An object (or null to clear): { ot_after_hours (> 0, <= 24, or null), dt_after_hours (> ot_after_hours, or > 10 when that is null, <= 24, or null) } | |
| external_refs | No | The full list of external references (replaces the current one): up to 10 { source (1-40 chars), ref (1-80 chars) } | |
| report_options | No | Merged into the stored options: show_location, show_time, auto_publish_receipts (booleans), client_photos (off | on | ask); a key set to null is removed; null clears them all |