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.
goalstringrequiredThe goal UUID
Body
application/jsonnamestringmax length 512statusenum<string>Available options:achievedin_progressunattainablegoal_typeenum<string> | nullAvailable options:long_termmedium_termshort_termdescriptionstring | nullmax length 65535Limited to 65535 bytes.
achievement_strategystring | nullmax length 65535Limited to 65535 bytes.
barriersstring | nullmax length 65535Limited to 65535 bytes.
plansobject[]max items 100▶Show 1 child attributesHide child attributes
idstringrequired
Response
200application/jsonParticipantGoalResource
dataobjectrequired▶Show 10 child attributesHide child attributes
idstringrequiredExample:g1o2a3l4-d5e6-47f8-9a0b-1c2d3e4f5a6bnamestringrequiredExample:Improve social interactionsgoal_typeenum<string> | nullrequiredAvailable options:long_termmedium_termshort_termdescriptionstring | nullrequiredExample:Participant wants to improve their social skillsachievement_strategystring | nullrequiredExample:Attend weekly social groupsbarriersstring | nullrequiredExample:Anxiety in group settingsstatusenum<string>requiredAvailable options:achievedin_progressunattainableachieved_atstring | nullrequiredExample:2024-06-15T10:30:00+00:00archived_atstring | nullrequiredExample:2024-01-15T10:30:00+00:00created_atstringrequiredExample:2024-01-15T10:30:00+00:00
401Unauthenticated403Authorization error404Not found422Validation error