API Documentation
  • 🦸User
    • 🐔requestDeveloperVerification
    • ☑️Accept Developer verification
    • 🚫Reject developer verification
    • 🆕NEW Authentication Trigger
  • 📧Send emails
  • 📂Projects
    • 📩Invite a new Team member
  • 📔Tasks
    • 💣Cancel Task
    • 🔎Submit task
    • 👨‍💻Assign Task
  • Step 1 taskflow
    • ✅Accept task
    • ❌Reject task
    • ⏳Deadline reached
  • Step 2 taskflow
    • ✅Accept developer (creator)
    • ❌Reject developer (creator)
  • Step 3 taskflow
    • 🚦Submit for review
    • ⏳Review Deadline reached
    • ✅Accept work result
    • ❌Reject work result
  • Step 4 Taskflow
    • 💸Generate Invoice
    • 💸Mark invoice as paid
Powered by GitBook
On this page
  • Input parameters
  • How to call from app
  • Logic
  1. Step 2 taskflow

Accept developer (creator)

As a creator of a task i want to be able to accept the developer (and his estimation).

Input parameters

  • TaskID

How to call from app

HTTP request to: /accept-developer/TASKID

Logic

  1. The frontend (app.tasksource.io) calls the API (api.tasksource.io/accept-developer/TASK-ID)

  2. the backend should now set a field in the task document (acceptedByCreator = true)

  3. Send First Email:

    • to_email_adress = email_of_assigned_person

    • template_name = "tasks-accepted-by-creator->developer"

    • data = {taskData: taskData, taskId: taskId}

  4. Send Second Email:

    • to_email_adress = email_of_task_creator

    • template_name = "tasks-accepted-by-creator->creator"

    • data = {taskData: taskData, taskId: taskId}

PreviousDeadline reachedNextReject developer (creator)

Last updated 2 years ago

✅