...
Code Block |
---|
{"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", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436"}, {"idspecialServiceGroupIds" : "63d62297-bf08-496f-acf3-0c129d437c2b", [{"createdDateid" : 1331269200000, "createdBy" :"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, {"id" : "91f46e397bf36968-cea8ad48-422b4c5f-b2159838-00f6bcf5d280ebf495713c08"}, "firstName" : "John",... ]}, {"lastNameid" : "Doe"}63d62297-bf08-496f-acf3-0c129d437c2b", "modifiedDatecreatedDate" : 1331269200000, "modifiedBycreatedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "objectStatusmodifiedDate" : "ACTIVE"1331269200000, "firstNamemodifiedBy" : "Bill", {"middleInitialid" : null"91f46e39-cea8-422b-b215-00f6bcf5d280", "lastNamefirstName" : "SmithJohn", "birthDate" : null, "primaryEmailAddresslastName" : "bill.smith@university.eduDoe"}, "secondaryEmailAddressobjectStatus" : null"ACTIVE", "usernamefirstName" : "bill.smithBill", "userIdmiddleInitial" : null, "homePhonelastName" : "987-65-4321Smith", "workPhonebirthDate" : null, "cellPhoneprimaryEmailAddress" : null, "addressLine1" : "110 North Front Street""bill.smith@university.edu", "addressLine2secondaryEmailAddress" : null, "cityusername" : "Daytonbill.smith", "stateuserId" : "OH"null, "zipCodehomePhone" : "45402987-65-4321", "photoUrlworkPhone" : null, "schoolIdcellPhone" : null, "enabledaddressLine1" : false "110 North Front Street", "coachIdaddressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436" "specialServiceGroupIds" : [{"id" : "437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, {"id" : "10d6f4f2-cd80-4454-a475-4293dbaff436"7bf36968-ad48-4c5f-9838-ebf495713c08"}, ... ]}, ... ] } |
Get a Person
GET /ssp/api/1/person/{id}
...
Code Block |
---|
{"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", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402 "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436", "photoUrlspecialServiceGroupIds" : null, [{"schoolIdid" : null"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, "enabled" : false, {"coachIdid" : "10d6f4f2-cd80-4454-a475-4293dbaff436"7bf36968-ad48-4c5f-9838-ebf495713c08"}, ... ]} |
Create a Person
POST /ssp/api/1/person
...
Code Block |
---|
{"firstName" : "Sally", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402 "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436", "photoUrlspecialServiceGroupIds" : null, [{"schoolIdid" : null"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, "enabled" : false, {"coachIdid" : "10d6f4f2-cd80-4454-a475-4293dbaff436"7bf36968-ad48-4c5f-9838-ebf495713c08"}, ... ]} |
Returns
Person
Code Block |
---|
{"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", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402 "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436", "photoUrlspecialServiceGroupIds" : null, [{"schoolIdid" : null"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, "enabled" : false, {"coachIdid" : "10d6f4f2-cd80-4454-a475-4293dbaff436"7bf36968-ad48-4c5f-9838-ebf495713c08"}, ... ]} |
Save a Person
PUT /ssp/api/1/person/{id}
...
Code Block |
---|
{"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", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402 "45402", "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436", "photoUrlspecialServiceGroupIds" : null, [{"schoolIdid" : null"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, "enabled" : false, {"coachIdid" : "10d6f4f2-cd80-4454-a475-4293dbaff436"7bf36968-ad48-4c5f-9838-ebf495713c08"}, ... ]} |
Returns
Person
Code Block |
---|
{"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", "middleInitial" : null, "lastName" : "Student", "birthDate" : null, "primaryEmailAddress" : "sally.student@university.edu", "secondaryEmailAddress" : null, "username" : "sally.student", "userId" : null, "homePhone" : "123-456-7890", "workPhone" : null, "cellPhone" : null, "addressLine1" : "444 West Third Street", "addressLine2" : null, "city" : "Dayton", "state" : "OH", "zipCode" : "45402", "45402 "photoUrl" : null, "schoolId" : null, "enabled" : false, "coachId" : "10d6f4f2-cd80-4454-a475-4293dbaff436", "photoUrlspecialServiceGroupIds" : null, [{"schoolIdid" : null"437f6f2b-7b1e-47b4-8603-9e1208605c0d"}, "enabled" : false, {"coachIdid" : "10d6f4f27bf36968-cd80ad48-44544c5f-a4759838-4293dbaff436"ebf495713c08"}, ... ]} |
Delete a Person
DELETE /ssp/api/1/person/{id}
...