# Subtask

📌 POST:/task/subtasksearch

# Request (body)

  • rf : Contains Only 1 or 2.
  • clientnos : Array Only, Max 1000 Values.
  • clientnos.* : Alpha Numeric, Max 10 Characters.
  • groupnos : Array Only, Max 1000 Values.
  • groupnos.* : Alpha Numeric, Max 10 Characters.
  • tasknos : Array Only, Max 1000 Values.
  • tasknos.* : Alpha Numeric, Max 10 Characters.
  • subtasknos : Array Only, Max 1000 Values.
  • subtasknos.* : Only numbers.
  • dttarget', 'dtcreate', 'dtcomplete : Array Only, Max 2 Values.
  • dttarget.* dtcreate.* dtcomplete.* : Date (ISO Format Required).

# Response

// Success
{
  "success":true,
  "params" : {....} ,
  "data" : [...],
  "msg": "Subtask Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Add

📌 POST:/task/subtaskadd

# Request (body)

  • Subtaskname : min 2 and Max 100 characters.
  • taskno* :Max 10 Characters, only Alpha Numeric
  • status : Maximum 20 characters.
  • priority : Integer Between 1 and 5.
  • dtcreate : Invalid Create Date (ISO Format Required).
  • dttarget : Invalid Target Date(ISO Format Required).
  • sortno : Only Numbers.

Note :

  1. For Creating a subtask the user must have hassubtaskcreate Permission.

# Response

// Success
{
  "success":true,
  "params" : {....} ,
  "msg": "Subtask Added"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Update

📌 POST:/task/subtaskupdate

# Request (body)

  • subtaskno* : Only Integers.
  • Subtaskname : min 2 and Max 100 characters.
  • status : Maximum 20 characters.
  • priority : Integer Between 1 and 5.
  • dttarget : Invalid Target Date(ISO Format Required).
  • sortno : Only Numbers.
  • descp : ....

Note :

  1. For Creating a subtask the user must have hassubtaskedit Permission.

# Response

// Success
{
  "success":true,
  "params" : {....} ,
  "msg": "Subtask Updated"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Delete

📌 POST:/task/subtaskdelete

# Request (body)

  • subtaskno* : Only Integers.

Note :

  1. For Creating a subtask the user must have hassubtaskdelete Permission.
  2. If the subtask is verified , Totaltodo > 0 or work is done > 0 or has filesattached then the subtask cannot deleted.

# Response

// Success
{
  "success":true,
  "params" : {....} ,
  "msg": "Subtask Deleted"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask View

📌 POST:/task/subtaskview

# Request (body)

  • subtaskno* : Only Integers.

Note :

  1. For Creating a subtask the user must have hasotherreport Permission.

# Response

// Success
{
  "success":true,
  "data" : [...],
  "msg": "Subtask Loaded "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

📌 POST:/task/subtaskteamsearch

# Request (body)

  • subtaskno* : Only Integers.

# Response

// Success
{
  "success":true,
  "data" : [...],
  "params" : {..} ,
  "msg": "Subtask Team "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Team Add

📌 POST:/task/subtaskteamadd

# Request (body)

  • subtaskno* : Only Integers.
  • satffmob* : Max 16 Characters.

Note :

  1. For Creating a subtask the user must have hassubtaskedit Permission.

# Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Subtask Team Member Added "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Team Delete

📌 POST:/task/subtaskteamdelete

# Request (body)

  • subtaskno* : Only Integers.
  • satffmob* : Max 16 Characters.

Note :

  1. For Creating a subtask the user must have hassubtaskedit Permission.
  2. If the subtask is verified the team member cannot be deleted

# Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Subtask Team Member Deleted "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Info

📌 POST:/task/subtaskteaminfo

# Request (body)

  • subtaskno* : Only Integers.

# Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Subtask Info Loaded "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Complete

📌 POST:/task/subtaskteamcomplete

# Request (body)

  • subtaskno* : Only Integers.
  • dtcomplete : Date (ISO Format Required).

Note :

  1. For Creating a subtask the user must have hassubtaskedit Permission.

# Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Subtask Completed "
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Verifiy Info

📌 POST:/task/subtaskverifyinfo

# Request (body)

  • subtaskno* : Only Integers.

# Response

// Success
{
  "success":true,
  "data" : {..} ,
  "msg": "Subtask Verification Info"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Verify

📌 POST:/task/subtaskverify

# Request (body)

  • subtaskno* : Only Integers.
  • verifynote : Min 2 Max 100 Characters.

Note :

  1. For Creating a subtask the user must have hasverification Permission.

# Response

// Success
{
  "success":true,
  "data" : {..} ,
  "msg": "Subtask Verified"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Undo Task Verify

📌 POST:/task/undosubtaskverify

# Request (body)

  • subtaskno* : Only Integers.

Note :

  1. For Creating a subtask the user must have hasverification Permission.

# Response

// Success
{
  "success":true,
  "data" : {..} ,
  "msg": "Subtask Unverified"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

# Subtask Status List

📌 POST:/task/subtaskstatuslist

# Request (body)

  • subtaskno* : Only Integers.

# Response

// Success
{
  "success":true,
  "data" : {..} ,
  "msg": "Status Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}
Last Updated: 30 Jul 2020