Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 52 Next »

Overview

Methods for accessing a person.  A person can be a student, advisor, or any other type of individual in the system.

The programStatus that is returned is the currently assigned program status.  Use the Person Program Status API to select all program statuses for the person.

 

The function of "combined" ObjectStatus values produce a top-level ObjectStatus value for an entity which might itself be associated with other statused entities. E.g. a Person is associated with zero or more SpecialServiceGroups. Each individual association is actually represented by a third entity: PersonSpecialServiceGroups. This enables the application to support soft-deletes of these associations, which is potentially useful for reporting. But it creates a problem for the UI, which should suppress display of any PersonSpecialServiceGroup where either it or the associated SpecialServiceGroup has been set into a deleted ObjectStatus. The follow reference items persist throughout the application and are handled by the ObjectStatus functionality; 

 

  • specialServiceGroups
  • referralSources
  • serviceReasons

 

Get All Persons

GET /ssp/api/1/person

Security

PERSON_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

{"success" : "true",
 "results" : "100",
 "rows" : 
    [{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
	]
}

 

Get All Persons Who Are Coaches

This method calls the corresponding uPlatform API to obtain those individuals assigned the Coach group.   

For performance reasons, this result set is populated by a background job that by default runs every 5m.  The background job and known issues with user attribute caching in uPortal affect how quickly the coach list in uPortal is updated.

GET /ssp/api/1/person/coach

Security

PERSON_READ

Returns 

List<PersonLiteTO> 

Returns

{"success" : "true",
 "results" : "100",
 "rows" : 
    [{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "firstName" : "Camden",
      "lastName" : "Coach"},
     {"id" : "63d62297-bf08-496f-acf3-0c129d437c2b",
      "firstName" : "Christina",
      "lastName" : "Coach"},
      ...
    ]
}

 

Get a Person

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

Security

PERSON_READ

Returns

Person

    [{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

 

Get a Person by School ID

Selects a single person by their school id.  The school id is typically the person's unique institutional id stored in the ERP system.

GET /ssp/api/1/person/bySchoolId/{schoolId}

Security

PERSON_READ

Returns

Person

    [{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

Create a Person

POST /ssp/api/1/person

Security

PERSON_WRITE

Note

Properties currentAppointmentStartDate and currentProgramStatusName are helper properties and are not saved if specified.  Call the respective Person Appointment and Person Program Status services to save these entries.

Sample Post

  { "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

Returns

Person

{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

 

Save a Person

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

Security

PERSON_WRITE

Note

Properties currentAppointmentStartDate and currentProgramStatusName are helper properties and are not saved if specified.  Call the respective Person Appointment and Person Program Status services to save these entries.

Sample Post

{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

Returns

Person

{"id" : "58ba5ee3-734e-4ae9-b9c5-943774b4de41",
      "createdDate" : 1331269200000,
      "createdBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "modifiedDate" : 1331269200000,
      "modifiedBy" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "John",
          "lastName" : "Doe"}, 
      "objectStatus" : "ACTIVE",
      "firstName" : "Sally",
      "middleName" : null,
      "lastName" : "Student",
      "birthDate" : null,
      "primaryEmailAddress" : "sally.student@university.edu",
      "secondaryEmailAddress" : null,
      "username" : "sally.student",
      "homePhone" : "123-456-7890",
      "workPhone" : null,
      "cellPhone" : null,
      "nonLocalAddress" : null,
      "addressLine1" : "444 West Third Street",
      "addressLine2" : null,
      "city" : "Dayton",
      "state" : "OH",
      "zipCode" : "45402",
      "alternateAddressLineInUse" : null,
      "alternateAddressLine1" : null,
      "alternateAddressLine2" : null,
      "alternateAddressCity" : null,
      "alternateAddressState" : null,
      "alternateAddressZipCode" : null,
      "alternateAddressCountry" : null,
      "photoUrl" : null,
      "schoolId" : null,
      "enabled" : false,
      "studentIntakeCompleteDate" : null,
      "studentType" :
         {"id" : "ce0d041d-d3ac-42a1-9085-7f744240e07e",
          "name" : "Early Alert"
          "objectStatus":"ACTIVE"},},
      "coach" :
         {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
          "firstName" : "Amy",
          "lastName" : "Advisor",
          "primaryEmailAddress" : "amy.advisor@university.edu",
          "workPhone" : "(123) 456-7890",
          "officeLocation" : "123 Benton Hall Room A",
          "departmentName" : "Engineering & Applied Science"
		  "photoUrl":"http://192.168.0.151:8080/images/0000000.png"}, 
      "strengths" : "Good test taker",
      "abilityToBenefit" : true,
      "anticipatedStartTerm" : "Fall",
      "anticipatedStartYear" : "2012",
      "actualStartTerm":"Fall",
      "actualStartYear":2012,
      "studentIntakeRequestDate" : 1331269200000,
      "specialServiceGroups" : 
         [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d",
		   "name" : "Basketball Team",	
		   "objectStatus" : "ACTIVE"}
         ],
      "referralSources" : 
         [{"id" : "a8c83fd4-ee33-46ee-8d89-9b2956696f37",
		   "name" : "Counseling Services".
		   "objectStatus" : "ACTIVE"},
         ],
      "serviceReasons" : 
         [{"id" : "d95ea029-90c1-4be0-b547-8054fc6914b7"},
		   "name" : "Developmental Education",
		   "objectStatus" : "ACTIVE"}
         ],
      "confidentialityLevels" : null,  
      "permissions" : null,
      "currentProgramStatusName" : "Active",
      "registeredForCurrentTerm" : true
      "activeAlertsCount":1,
      "closedAlertsCount":2,
      "paymentStatus":"Y Y Y",
      "registeredTerms":"2013FA 2013SP 2013SU"
	  "residencyCounty":"Butler",
	  "f1Status":"Y",
	  "gender":"M",
	  "maritalStatus":"Single",
	  "ethnicity":null,
	  "actionPlanTaskOpenCount":4,
	  "actionPlanTaskClosedCount":15,
	  "lastActionPlanCompletedDate":1367297284590
      "formattedStudentIntakeCompleteDate":null} 
 ]
}

 

Delete a Person

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

Security

PERSON_DELETE

Returns

{"success" : "true"}

or

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


Get History for Person

GET /ssp/api/1/person/{id}/history/print

Security

PERSON_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

PDF Report

  • No labels