v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Add Tasks

Creates new store task and store task entry ( that is status for each executor ). You can also set task type, title, created by, assigned to, validity, status and reminder.

post/task/add

Request body

RAW_BODYstring json

Response

200

Example response

{
  "response": {
    "status": {
      "success": "true",
      "code": "200",
      "message": "SUCCESS"
    },
    "tasks": {
      "task": {
        "id": "12",
        "title": "Title",
        "body": "Body",
        "start_date": "20120820",
        "end_date": "20120821",
        "action": {
          "type": "Call",
          "template": "Hi {name}, Your points = {points}"
        },
        "cashier_task": "false",
        "customer_task": "false",
        "execute_by_all": "false",
        "creator": {
          "type": "manager",
          "id": "55456456",
          "name": "name"
        },
        "entries": {
          "entry": [
            {
              "associate_name": "assigned_to name",
              "status": "OPEN",
              "type": "CUSTOMER/CASHIER"
            }
          ]
        },
        "reminders": {
          "reminder": [
            {
              "id": "15",
              "time": "2016-05-30 13:12:12",
              "created_by": "453345",
              "template": "Please note this too",
              "remindee_id": "1245333"
            }
          ]
        },
        "item_status": {
          "success": "true",
          "code": "200",
          "message": "Task Added Successfully"
        }
      }
    }
  }
}