Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Get All Task Groups with Tasks

GET /ssp/api/1/person/{id}/task/group

Security

PERSON_TASK_READ

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED<br>
start : First result (0-based index) to return<br>return
limit : Maximum number of results to return<br>return
sort : Property name<br>name
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

List<TaskGroup>

Code Block
Code Block
{"success" : "true",
 "results" : "100",
 "rows" : 
    [{"name" : "Child or Adult Care",
      "tasks" : 
        [{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
          "createdDate" : 1332216000000,
      "createdById"  : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdBy" : 
    "modifiedDate" : 1332216000000,       {"modifiedByIdid" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "objectStatusfirstName" : "ACTIVEJohn",
              "namelastName" : "Family ServicesDoe"},
      "description"   : "FAMILYmodifiedDate" SERVICES: 1332216000000,
Contact Pat Davis at Family Services Association 222-9481 for parenting education program. "modifiedBy" : 
   Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."{"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "dueDatefirstName" : 1332216000000"John",
      "reminderSentDate" : 1332216000000,       "completedlastName" : false"Doe"},
      "completedDate" : 1332216000000       "challengeIdobjectStatus" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1ACTIVE",
      "deletableByStudent" : true,  "name" : "Family Services",
 "closableByStudent" : true,       "confidentialityLeveldescription" : "EVERYONE",FAMILY SERVICES:  Contact Pat Davis at "type"Family : "SSP"},
     {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
      "createdDate" : 1332216000000,
      "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
          "modifiedDatedueDate" : 1332216000000,
          "modifiedByIdreminderSentDate" : "91f46e39-cea8-422b-b215-00f6bcf5d280",1332216000000,
          "objectStatuscompleted" : "ACTIVE"false,
          "namecompletedDate" : "Montgomerynull
County Child Support Enforcement Agency",
      "descriptionchallengeId" : "Contact Montgomery County Child Support Enforcement Agency for enforcement of child support orders 225-4600 www.mcsea.org.",9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
          "deletableByStudent" : true,
          "dueDateclosableByStudent" : nulltrue,
      "reminderSentDate" : null,       "completedconfidentialityLevel" : false,
      "completedDate" : 1332216000000       {"challengeIdid" : "9D6E3B8Fc57f11e1-AFB37ef2-4D864989-A5279ac2-9778035B94E17b0690563995",
      "deletableByStudent" : true,        "closableByStudentname" : true,"EVERYONE"}},
          "confidentialityLeveltype" : "DISABILITYSSP"},
         {"typeid" : "SSP"}7ed6d720-7f91-11e1-b0c4-0800200c9a66",
     ...     ]},
 {"name"createdDate" : "Transportation"1332216000000,
  "tasks"  :      [{"idcreatedBy" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
      "createdDate" : 1332216000000,       {"createdByIdid" : "91f46e39-cea8-422b-b215-00f6bcf5d280",

     "modifiedDate" : 1332216000000,       "modifiedByIdfirstName" : "91f46e39-cea8-422b-b215-00f6bcf5d280John",
      "objectStatus" : "ACTIVE",
      "namelastName" : "$100 Pell Transfer to Tartan Card",Doe"},
          "descriptionmodifiedDate" : "If1332216000000,
you have Pell Grant visit the Bookstore within the first 2"modifiedBy" weeks: to
transfer up to $100 per quarter of your financial aid award to your tartan card to purchase bus pass(es) academic expenses and daily expenses at Sinclair.",{"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "dueDatefirstName" : null"John",
      "reminderSentDate" : null,       "completedlastName" : false"Doe"},
      "completedDate" : 1332216000000       "challengeIdobjectStatus" : "d40c7ca7-0da1-4a89-9322-5553153a2975ACTIVE",
          "deletableByStudentname" : true,"Montgomery County Child Support Enforcement Agency",
 "closableByStudent" : true,       "confidentialityLeveldescription" : "EVERYONE",
      "type" : "SSP"},Contact Montgomery County Child Support Enforcement Agency for enforcement of child support orders 225-4600 www.mcsea.org.",
         { "iddueDate" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",null,
          "createdDatereminderSentDate" : 1332216000000null,
          "createdByIdcompleted" : "91f46e39-cea8-422b-b215-00f6bcf5d280",false,
          "modifiedDatecompletedDate" : 1332216000000, null
          "modifiedByIdchallengeId" : "91f46e399D6E3B8F-cea8AFB3-422b4D86-b215A527-00f6bcf5d2809778035B94E1",
          "objectStatusdeletableByStudent" : "ACTIVE"true, 
       "name   "closableByStudent" : "Studenttrue,
 Card - Transportation",       "descriptionconfidentialityLevel" :
"Put money on Student Card to pay reduced fee of $1.00 for parking in garage daily.{"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
      "dueDate" : null,       "reminderSentDatename" : null"EVERYONE"}},
          "completedtype" : false"SSP"},
       "completedDate" : 1332216000000...
      "challengeId" : "d40c7ca7-0da1-4a89-9322-5553153a2975" ]},
      {"deletableByStudentname" : true"Transportation",
      "closableByStudenttasks" : 
 true,       [{"confidentialityLevelid" : "EVERYONE23befc50-7f91-11e1-b0c4-0800200c9a66",
          "typecreatedDate" : "SSP"}1332216000000,
     ...     ]},"createdBy" : 
       ...      }]

...

GET /ssp/api/1/person/{id}/task

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED<br>
start : First result (0-based index) to return<br>
limit : Maximum number of results to return<br>
sort : Property name<br>
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

List<Task>

Code Block
[{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66{"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "firstName" : "John",
  "createdDate" : 1332216000000,   "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",      "modifiedDatelastName" : 1332216000000"Doe"},
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",        "objectStatusmodifiedDate" : "ACTIVE"1332216000000,
  "name"   : "Family Services",   "descriptionmodifiedBy" : "FAMILY
SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
  "dueDate" : 1332216000000,
  "reminderSentDate" : 1332216000000,
  "completed" : false,
  "completedDate" : 1332216000000
  "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
  "deletableByStudent" : true,
  "closableByStudent" : true,
  "confidentialityLevel" : "EVERYONE",
  "type" : "SSP"},
 {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
  "createdDate" : 1332216000000,
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : 1332216000000,
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "objectStatus" : "ACTIVE",
  "name" : "Montgomery County Child Support Enforcement Agency",
  "description" : "Contact Montgomery County Child Support Enforcement Agency for enforcement of child support orders 225-4600 www.mcsea.org.",
  {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "firstName" : "John",
              "lastName" : "Doe"},
          "objectStatus" : "ACTIVE",
          "name" : "$100 Pell Transfer to Tartan Card",
          "description" : "If you have Pell Grant visit the Bookstore within the first 2 weeks to transfer up to $100 per quarter of your financial aid award to your tartan card to purchase bus pass(es) academic expenses and daily expenses at Sinclair.",
          "dueDate" : ""null,
  "reminderSentDate"  : ""      "reminderSentDate" : null,
          "completed" : false,true,
          "completedDate" : 1332216000000
          "challengeId" : "9D6E3B8Fd40c7ca7-AFB30da1-4D864a89-A5279322-9778035B94E15553153a2975",
          "deletableByStudent" : true,
          "closableByStudent" : true,
          "confidentialityLevel" : "DISABILITY",
        "type" : "SSP"},  ... ]

 

Get One Task

...

{

...

Returns

Task

Code Block
{"id" : "7ed6d720c57f11e1-7f917ef2-11e14989-b0c49ac2-0800200c9a667b0690563995",
  "createdDate" : 1332216000000,  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",  "modifiedDate" : 1332216000000,  "modifiedByIdname" : "91f46e39-cea8-422b-b215-00f6bcf5d280"EVERYONE"}},
 "objectStatus" : "ACTIVE",  "name" : "Family Services",  "descriptiontype" : "FAMILY SERVICES:SSP"},
  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : 1332216000000
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" : "EVERYONE",
 "type" : "SSP"}

 

Print a Task List

If no tasks are selected, then just return the tasks for the person, (just for the session if it is the anon user).

POST /ssp/api/1/person/{id}/task/print

Parameters (as JSON)

Code Block
["id1", "id2", "id3"]

Returns

PDF Report - To be completed by Unicon

 

Email a Task List

Foreach recipient send a unique email.  Synchronous method that will return on success/failure.  If no tasks are selected, then just return the tasks for the person, (just for the session if it is the anonymous user).

POST /ssp/api/1/person/{id}/task/email

Parameters

taskIds : List<String> taskIds - Tasks to print
recipientIds : List<String> recipientIds - People to send email to by id
recipientEmailAddresses : List<String> recipientEmailAddresses - Email addresses to send to

Only one of either recipientEmailAddresses or recipientIds is required. Both can be used.

Code Block
{"taskIds" : ["id1", "id2", "id3"], 
 "recipientIds" : ["recipientId1", "recipientId2"], 
 "recipientEmailAddresses" : ["test1@test.com", "test2@test.com", "test3@test.com"]}

Returns

ServiceResponse

Code Block
{"success" : "true"}

or

Code Block
{"success" : "false", 
 "message" : "Message when success is false."}

Create a Task

POST /ssp/api/1/person/{id}/task

Sample Post

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdById {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
          "createdDate" : 1332216000000,
          "createdBy" : 
             {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "firstName" : "John",
              "lastName" : "Doe"},
          "modifiedDate" : 1332216000000,
          "modifiedBy" : 
             {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
              "firstName" : "John",
              "lastName" : "Doe"},
          "objectStatus" : "ACTIVE",
          "name" : "Student Card - Transportation",
          "description" : "Put money on Student Card to pay reduced fee of $1.00 for parking in garage daily.",
          "dueDate" : null,
          "reminderSentDate" : null,
          "completed" : false,
          "completedDate" : null
          "challengeId" : "d40c7ca7-0da1-4a89-9322-5553153a2975",
          "deletableByStudent" : true,
          "closableByStudent" : true,
          "confidentialityLevel" :
             {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
              "name" : "EVERYONE"}},
          "type" : "SSP"},
         ...
        ]},
       ...     
    }]
}


Get All Tasks

GET /ssp/api/1/person/{id}/task

Security

PERSON_TASK_READ

Parameters

status : ALL, ACTIVE, INACTIVE
start : First result (0-based index) to return
limit : Maximum number of results to return
sort : Property name
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

Code Block
{"success" : "true",
 "results" : "100",
 "rows" : 
    [{"id" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
      "createdDate" : 1332216000000,
      "createdBy" : 
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"},
      "modifiedDate" : 1332216000000,
      "modifiedBy" : 
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"},
      "objectStatus" : "ACTIVE",
      "name" : "Family Services",
      "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
      "dueDate" : 1332216000000,
      "reminderSentDate" : 1332216000000,
      "completed" : true,
      "completedDate" : 1332216000000
      "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
      "deletableByStudent" : true,
      "closableByStudent" : true,
      "confidentialityLevel" :
         {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
          "name" : "EVERYONE"}},
      "type" : "SSP"},
     {"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
      "createdDate" : 1332216000000,
      "createdBy" : 
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"},
      "modifiedDate" : 1332216000000,
      "modifiedBy" : 
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"},
      "objectStatus" : "ACTIVE",
      "name" : "Montgomery County Child Support Enforcement Agency",
      "description" : "Contact Montgomery County Child Support Enforcement Agency for enforcement of child support orders 225-4600 www.mcsea.org.",
      "dueDate" : "",
      "reminderSentDate" : "",
      "completed" : false,
      "completedDate" : null
      "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
      "deletableByStudent" : true,
      "closableByStudent" : true,
      "confidentialityLevel" :
         {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
          "name" : "EVERYONE"}},
      "type" : "SSP"},
     ...
    ]
}

 

Get One Task

GET /ssp/api/1/person/{id}/task/{id}

Security

PERSON_TASK_READ

Returns

Task

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "modifiedDate" : 1332216000000,
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "objectStatus" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : null
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" :
    {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
     "name" : "EVERYONE"}},
 "type" : "SSP"}

 

Print a Task List

If no tasks are selected, then just return the tasks for the person, (just for the session if it is the anon user).

POST /ssp/api/1/person/{id}/task/print

Security

PERSON_TASK_READ

Parameters (as JSON)

Code Block
{"taskIds" : ["taskId1", "taskId2", "taskId3"],
 "goalIds" : ["goalId1", "goalId2", "goalId3"]}

Returns

PDF Report - To be completed by Unicon

 

Email a Task List

For each recipient send a unique email.  Synchronous method that will return on success/failure.  If no tasks are selected, then just return the tasks for the person, (just for the session if it is the anonymous user).

POST /ssp/api/1/person/{id}/task/email

Security

PERSON_TASK_READ

Parameters

taskIds : List<String> taskIds - Tasks to include in the message
recipientIds : List<String> recipientIds - Send an e-mail copy the the e-mail address for these ids
recipientEmailAddresses : List<String> recipientEmailAddresses - Send an e-mail copy to these e-mail addresses, in addition to any recipientIds
goalIds : List<String> goalIds - Goals to include in the message

Only one of either recipientEmailAddresses or recipientIds is required. Both can be used.

Code Block
{"taskIds" : ["taskId1", "taskId2", "taskId3"], 
 "goalIds" : ["goalId1", "goalId2", "goalId3"],
 "recipientIds" : ["recipientId1", "recipientId2"], 
 "recipientEmailAddresses" : ["test1@test.com", "test2@test.com", "test3@test.com"]}

Returns

ServiceResponse

Code Block
{"success" : "true"}

or

Code Block
{"success" : "false", 
 "message" : "Message when success is false."}

Create a Task

POST /ssp/api/1/person/{id}/task

Security

PERSON_TASK_WRITE

Sample Post

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "modifiedDate" : 1332216000000,
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "objectStatus" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : null
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" :
    {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
     "name" : "EVERYONE"}},
 "type" : "SSP"}

Returns

Task

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "modifiedDate" : 1332216000000,
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "modifiedDatefirstName" : 1332216000000"John",
     "modifiedByIdlastName" : "91f46e39-cea8-422b-b215-00f6bcf5d280"Doe"},
 "objectStatus" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : 1332216000000null
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" :
"EVERYONE",  "type" : "SSP"}

Returns

Task

Code Block
{"id" : "7ed6d720c57f11e1-7f917ef2-11e14989-b0c49ac2-0800200c9a667b0690563995",
 "createdDate" : 1332216000000,  "createdByIdname" : "91f46e39-cea8-422b-b215-00f6bcf5d280"EVERYONE"}},
 "modifiedDatetype" : 1332216000000,
 "modifiedById"SSP"}


Save a Task

PUT /ssp/api/1/person/{id}/task/{id}

Security

PERSON_TASK_WRITE

Sample Post

Code Block
{"id" : "91f46e397ed6d720-cea87f91-422b11e1-b215b0c4-00f6bcf5d2800800200c9a66",
 "objectStatuscreatedDate" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate1332216000000,
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "modifiedDate" : 1332216000000,
 "completedmodifiedBy" : false,
 "completedDate" : 1332216000000  {"challengeIdid" : "9D6E3B8F91f46e39-AFB3cea8-4D86422b-A527b215-9778035B94E100f6bcf5d280",
     "deletableByStudentfirstName" : true"John",
 "closableByStudent" : true,  "confidentialityLevellastName" : "EVERYONEDoe"},
 "typeobjectStatus" : "SSP"}

...

PUT /ssp/api/1/person/{id}/task/{id}

Sample Post

Code Block
{"idACTIVE",
 "name" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66Family Services",
 "createdDatedescription" : 1332216000000,
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : 1332216000000,
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "objectStatus" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : 1332216000000
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" : "EVERYONE",
 "type" : "SSP"}

Returns

Task

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdById "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : null
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" :
    {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
     "name" : "EVERYONE"}},
 "type" : "SSP"}

Returns

Task

Code Block
{"id" : "7ed6d720-7f91-11e1-b0c4-0800200c9a66",
 "createdDate" : 1332216000000,
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "modifiedDate" : 1332216000000,
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "modifiedDateJohn",
  : 1332216000000,  "modifiedByIdlastName" : "91f46e39-cea8-422b-b215-00f6bcf5d280"Doe"},
 "objectStatus" : "ACTIVE",
 "name" : "Family Services",
 "description" : "FAMILY SERVICES:  Contact Pat Davis at Family Services Association 222-9481 for parenting education program.  Parenting 101 Classes are offered throughout the year.  Sliding fee scale will establish the fee and scholarships may be available."
 "dueDate" : 1332216000000,
 "reminderSentDate" : 1332216000000,
 "completed" : false,
 "completedDate" : 1332216000000null
 "challengeId" : "9D6E3B8F-AFB3-4D86-A527-9778035B94E1",",
 "deletableByStudent" : true,
 "closableByStudent" : true,
 "confidentialityLevel" :
    {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
     "deletableByStudentname" : true"EVERYONE"}},
 "closableByStudent" : true,
 "confidentialityLevel" : "EVERYONE",
 "type" : "SSP"}

...

type" : "SSP"}

completed and completedDate

A special note about these two properties in the Person Task Save API: The completed value is treated as the master property. Setting this value to anything it is not currently at will reset completedDate as appropriate. completedDate can be set to a date which will trigger completed to be true. However, after saving a Task, changing the completedDate to null will not reset completed to false. This only applies to changes to existing tasks. (See the discussion in SSP-127.)

Delete a Task

DELETE /ssp/api/1/person/{id}/task/{id}

Security

PERSON_TASK_DELETE

Returns

Code Block
{"success" : "true"}

...