fix: align task and note creation parent parameters

#51 · closed · 0 comments

View on GitHub ↗

damacus

The request audit found tasks create places project inside the task body, while the official example uses a project query parameter. notes create places parent_url in the note body, while official examples select a contact or project through query parameters. Existing request construction has not been verified live. Confirm the current documented contract and correct request construction while preserving existing --project and --parent input where possible. Validate the parent resource and configured API origin, reject ambiguous or unsupported parents, and add request-level tests for both note parent types and task creation. Do not claim mock tests prove live account compatibility. Sources: - https://dev.freeagent.com/docs/tasks - https://dev.freeagent.com/docs/notes

Comments