Log In

Update a Goal

put/public/v1/goals/{goal}

Only the fields you send change. plans replaces every NDIS plan the goal is linked to: leave it out to keep the current links, or send an empty list to unlink them all. Setting status to achieved records when the goal was achieved, and moving it away from achieved clears that. Unsafe HTML is removed from description, achievement_strategy and barriers, as it is on create.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • goalstringrequired

    The goal UUID

Body

application/json
  • namestringmax length 512
  • statusenum<string>
    Available options:achievedin_progressunattainable
  • goal_typeenum<string> | null
    Available options:long_termmedium_termshort_term
  • descriptionstring | nullmax length 65535

    Limited to 65535 bytes.

  • achievement_strategystring | nullmax length 65535

    Limited to 65535 bytes.

  • barriersstring | nullmax length 65535

    Limited to 65535 bytes.

  • plansobject[]max items 100
    ▶Show 1 child attributes
    • idstringrequired

Response

200application/json

ParticipantGoalResource

  • dataobjectrequired
    ▶Show 10 child attributes
    • idstringrequired
      Example:g1o2a3l4-d5e6-47f8-9a0b-1c2d3e4f5a6b
    • namestringrequired
      Example:Improve social interactions
    • goal_typeenum<string> | nullrequired
      Available options:long_termmedium_termshort_term
    • descriptionstring | nullrequired
      Example:Participant wants to improve their social skills
    • achievement_strategystring | nullrequired
      Example:Attend weekly social groups
    • barriersstring | nullrequired
      Example:Anxiety in group settings
    • statusenum<string>required
      Available options:achievedin_progressunattainable
    • achieved_atstring | nullrequired
      Example:2024-06-15T10:30:00+00:00
    • archived_atstring | nullrequired
      Example:2024-01-15T10:30:00+00:00
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error