Uncomplete a task Run in API Explorer
Ask AI
PATCH
/api/v1/task/{task_uuid}/uncomplete/{taskStatus}
curl \
--request PATCH 'https://api.plannrcrm.com/api/v1/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/uncomplete/{taskStatus}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "2bd3e6df-edf6-4ce0-b6b5-df08763ecb59",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"name": "Document the transaction",
"description": "Document the transaction",
"priority": "high",
"position": 1,
"due_at": "2021-01-01 00:00:00",
"status": {
"uuid": "234f29e2-933b-43db-bd55-4cf3eec24b7d",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"taskable_type": "case",
"taskable": {
"uuid": "73f99644-8ec4-4466-a672-facf3de39fd7",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"name": "finance",
"slug": "finance",
"status": {
"uuid": "74ce6245-0541-45af-ae83-42b69dfe4c3e",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "To Be Reviewed",
"colour": "#23852B",
"position": 5,
"is_type_completed": false
},
"type": {
"uuid": null,
"name": "Mortgage Plan",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00"
},
"review_at": "2026-10-09T13:38:24+01:00",
"assigned_to_uuids": [
"f9291bbd-0144-4c34-86d9-8e0ca1c346f8"
],
"group_uuids": [
"798da568-d4af-40e3-87b6-7e8eff02b904"
],
"completed_at": "2026-10-09T13:38:24+01:00",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
}
},
"status_position": 4,
"participants_count": 4,
"participants": {
"uuid": "ac98e17c-38e6-489b-9a59-107d14ab1ae8",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-10-09T13:38:28+01:00",
"next_review_date": "2026-10-09T13:38:28+01:00",
"previous_review_date": "2026-10-09T13:38:28+01:00",
"anniversary_review_date": "2026-10-09T13:38:28+01:00",
"terms_of_business_at": "2026-10-09T13:38:28+01:00",
"client_agreement_at": "2026-10-09T13:38:28+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-10-09",
"last_interaction_at": "2026-10-09 13:38:28",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-10-09T13:38:28+01:00",
"out_of_office_until": "2026-10-09T13:38:28+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"task_board_uuid": "04f66696-c4d2-4c77-9a91-44a9f74c959a",
"plans": {
"uuid": "544fa99e-a09f-4659-8acf-50889c7cf24b",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"opened_at": "2026-10-09T13:38:28+01:00",
"name": "Johns ISA",
"type": "cash_account",
"sub_type": "lifetime isa",
"abstract_type": "asset",
"policy_number": "AVIVA-123",
"proposal_reference": "AB123456",
"status": "inactive",
"inactive_at": "2026-10-09T13:38:28+01:00",
"inactive_reason": "claimed",
"agency_in_your_name": true,
"agency_in_your_name_from": "2025-10-09",
"originally_sold_by_firm": true,
"under_advice": true,
"visible_on_client_portal": true,
"include_in_client_valuation": true,
"show_on_joint": true,
"shown_on_circles": true,
"review_date": "2025-10-09",
"on_panel": true,
"is_group_scheme": false,
"is_sub_group_scheme": false,
"is_group_scheme_member": false,
"advice_area": "non_investment_insurance",
"total_benefit_amount": {
"amount": {
"example": "25000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£250,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
},
"total_benefits": {
"critical_illness": {
"amount": {
"example": "15000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£150,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
},
"family_income_benefit": {
"amount": {
"example": "10000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£100,000.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
}
},
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": null,
"description": "Currency of the money"
}
},
"valued_at": "2026-10-09T13:38:28+01:00",
"original_valued_at": "2026-10-08T13:38:28+01:00",
"statistics": {
"recent_growth": 100
},
"is_wrap_product": false,
"is_wrap_child": false,
"can_be_deleted": "false"
},
"custom_fields": {
"uuid": null,
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"type": "string",
"name": "Favourite Drink",
"reference": "favourite_drink",
"is_required": false,
"value": "Coffee",
"selection_options": [
"Coffee",
"Tea",
"Water"
],
"help_text": "This is the client's favourite drink."
}
},
"author": {
"uuid": "393297c7-65e5-47c3-879f-80de824347d3",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "8293507c-76c3-4d3a-9ad1-991f2d2f4031",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"assigned_to": [
{
"uuid": "f982a011-4c8b-4bde-82a5-616fc2dd0381",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "8293507c-76c3-4d3a-9ad1-991f2d2f4031",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
],
"completed_at": "2021-01-01 00:00:00",
"completed_by": {
"uuid": "91c46939-c01f-4e40-9750-e2b2e53ad9d5",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "8293507c-76c3-4d3a-9ad1-991f2d2f4031",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"workflow_task": {
"uuid": "2b5bd97c-ce58-4d99-93bc-d85a9ea90dae",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"task_status": {
"uuid": "a6ffa374-a5e7-4b5b-8554-57a7c212e328",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Incomplete",
"colour": "#398898",
"position": 1,
"is_type_completed": false,
"is_archived": false,
"is_not_started": false
},
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"author": {
"uuid": "ac98e17c-38e6-489b-9a59-107d14ab1ae8",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-10-09T13:38:28+01:00",
"next_review_date": "2026-10-09T13:38:28+01:00",
"previous_review_date": "2026-10-09T13:38:28+01:00",
"anniversary_review_date": "2026-10-09T13:38:28+01:00",
"terms_of_business_at": "2026-10-09T13:38:28+01:00",
"client_agreement_at": "2026-10-09T13:38:28+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-10-09",
"last_interaction_at": "2026-10-09 13:38:28",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-10-09T13:38:28+01:00",
"out_of_office_until": "2026-10-09T13:38:28+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"participants": {
"uuid": "ac98e17c-38e6-489b-9a59-107d14ab1ae8",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"first_contact_date": "2026-10-09T13:38:28+01:00",
"next_review_date": "2026-10-09T13:38:28+01:00",
"previous_review_date": "2026-10-09T13:38:28+01:00",
"anniversary_review_date": "2026-10-09T13:38:28+01:00",
"terms_of_business_at": "2026-10-09T13:38:28+01:00",
"client_agreement_at": "2026-10-09T13:38:28+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"ownership_percentage": 100.0,
"inactive_at": "2026-10-09",
"last_interaction_at": "2026-10-09 13:38:28",
"referral_code": "ABC12345",
"is_out_of_office": true,
"out_of_office_from": "2026-10-09T13:38:28+01:00",
"out_of_office_until": "2026-10-09T13:38:28+01:00",
"out_of_office_message": "I am away this week. For urgent matters please contact the office.",
"is_pending_fact_find_account": false,
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
}
},
"tags": {
"uuid": "43f0e993-819a-4125-b6a1-ff1c6f2055c3",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Mortgage",
"slug": "mortgage",
"colour": "#ef4582"
},
"location_uuid": "da3982c9-6a5d-4bad-8e7b-101313c32005",
"parent": {
"uuid": "c68564d1-4148-4536-b1d4-43ed0ae8717f",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "ab3cfe8c-489f-418f-a632-a40a8c175223",
"is_trigger_task": true
},
"trigger": {
"uuid": "c68564d1-4148-4536-b1d4-43ed0ae8717f",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "ab3cfe8c-489f-418f-a632-a40a8c175223",
"is_trigger_task": true
},
"trigger_tasks": {
"uuid": "c68564d1-4148-4536-b1d4-43ed0ae8717f",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "ab3cfe8c-489f-418f-a632-a40a8c175223",
"is_trigger_task": true
},
"sub_tasks": {
"uuid": "c68564d1-4148-4536-b1d4-43ed0ae8717f",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Mortgage Review",
"description": "We need to run through a mortgage review with Gareth, as he can probably find a better deal.",
"priority": "high",
"position": 2,
"offset_due_at_by": 2,
"visible_to_clients": true,
"auto_assign_assigned_adviser": true,
"auto_assign_assigned_administrator": true,
"auto_assign_clients": true,
"location_uuid": "ab3cfe8c-489f-418f-a632-a40a8c175223",
"is_trigger_task": true
},
"groups": {
"uuid": null,
"name": "finance",
"slug": "finance",
"participants_count": "3",
"participants": {
"uuid": {
"example": null,
"description": "UUID of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
}
},
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00"
},
"workflow": {
"uuid": "c53a2f92-bd81-4370-ac5c-32de500c5f84",
"created_at": "2026-10-09T13:38:28+01:00",
"updated_at": "2026-10-09T13:38:28+01:00",
"name": "Pension Transfer",
"type": "simple",
"tasks_count": 5
},
"is_trigger_task": true
},
"workflow": {
"uuid": "6a5b5942-e66c-4302-b2e5-ed4ca74c0eb0",
"name": "New Client Onboarding"
},
"is_recurring": true,
"recurring_frequency": "weekly",
"recurring_last_run": "2026-01-01 00:00:00",
"recurring_next_run": "2026-01-01 00:00:00",
"custom_fields": [
{
"uuid": "ce4b4889-2911-45fc-90fb-ba935dee1e3f",
"created_at": "2026-10-09T13:38:24+01:00",
"updated_at": "2026-10-09T13:38:24+01:00",
"type": "string",
"name": "Favourite Drink",
"reference": "favourite_drink",
"is_required": false,
"value": "Coffee",
"selection_options": [
"Coffee",
"Tea",
"Water"
],
"help_text": "This is the client's favourite drink."
}
]
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}