Task - thenibirahmed/wp-client-management GitHub Wiki

Get All Task

Endpoint (GET)

/tasks

Get Single Task

Endpoint (GET)

/task/{id}

Create Task

Endpoint (POST)

/task/create

Params

{
    eic_crm_user_id: '', //must be integer 
    project_id: '', //must be integer
    assigned_to: '', // must be integer
    title: '',
    start_date: '', // time format
    end_date: '', //time format 
    status_id: '', //must be integer
    priority_id: '', //must be integer
    description: ''
}

Update Task

Endpoint (PUT/PATCH)

/task/update/{id}

Params

{
    eic_crm_user_id: '', //must be integer 
    project_id: '', //must be integer
    assigned_to: '', // must be integer
    title: '',
    start_date: '', // time format
    end_date: '', //time format 
    status_id: '', //must be integer
    priority_id: '', //must be integer
    description: ''
}

Delete Task

Endpoint (DELETE)

/task/delete/{id}