Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get All Early Alert Outcomes

GET /ssp/api/1/reference/outcomeearlyAlertOutcome

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<Outcome>List<EarlyAlertOutcome>

Code Block
[{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "createdDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "name" : "Student Responded",
  "description" : "Student Responded.",
  "sortOrder" : 1},
 {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "createdDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "name" : "Student Did Not Respond",
  "description" : "Student Did Not Respond.",
  "sortOrder" : 2},
 ...
]

 

Get an Outcome

GET /ssp/api/1/reference/outcomeearlyAlertOutcome/{id}

Returns

OutcomeEarlyAlertOutcome

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "name" : "Student Responded",
 "description" : "Student Responded.",
 "sortOrder" : 1}

 

Create an Early Alert Outcome

POST /ssp/api/1/reference/outcomeearlyAlertOutcome

Sample Post

Code Block
{"name" : "Waiting for Response"
 "description" : "Waiting for Response."}

Returns

OutcomeEarlyAlertOutcome

Code Block
{"id" : "73bfcb09-95f5-4f52-87cf-76277193d51c",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "name" : "Waiting for Response",
 "description" : "Waiting for Response.",
 "sortOrder" : 3}

 

Save an Early Alert Outcome

PUT /ssp/api/1/reference/outcomeearlyAlertOutcome/{id}

Sample Post

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "name" : "Student Responded",
 "description" : "Student Responded.",
 "sortOrder" : 1}

Returns

OutcomeEarlyAlertOutcome

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "name" : "Student Responded",
 "description" : "Student Responded.",
 "sortOrder" : 1}

 

Delete an Early Alert Outcome

DELETE /ssp/api/1/reference/outcomeearlyAlertOutcome/{id}

Returns

Code Block
{"ServiceResponse" : 
    {"success" : "true"}}

or

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