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

Version 1 Next »

Get All Documents for a Person

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

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<Document>

[{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "createdDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
  "earlyAlertOutreachIds" : 
     [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
      {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
  "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
  "earlyAlertOutcomeOtherDescription" : null,
  "earlyAlertReferralIds" : 
     [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
      {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
  "comment" : "Follow-up via Phone.  Appt scheduled."},
 {"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
  "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "createdDate" : "1332216000000",
  "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
  "earlyAlertOutreachIds" : 
     [{"id" : "88b9bd08-5814-44d4-8ff2-1667597f8bba"},
      {"id" : "6373d1ef-d2a2-48a7-aa78-c0b4a29da3ef"}],
  "earlyAlertOutcomeId" : "00c42b84-88fe-4bc9-8cef-723cd6a26c65",
  "earlyAlertOutcomeOtherDescription" : "Student stopped by.",
  "earlyAlertReferralIds" : 
     [{"id" : "b2f52c40-82dd-4b09-9ec0-06f98c0c54c9"},
      {"id" : "6ef6aca6-4fd6-4bd2-9cf2-bea4c73a25f4"}],
  "comment" : null}
]

Get a Document 

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

Returns

Document

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
 "earlyAlertOutreachIds" : 
    [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
     {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
 "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
 "earlyAlertOutcomeOtherDescription" : null,
 "earlyAlertReferralIds" : 
    [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
     {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
 "comment" : "Follow-up via Phone.  Appt scheduled."}

 

Create a Document

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

Sample Post

{"earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
 "earlyAlertOutreachIds" : 
    [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
     {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
 "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
 "earlyAlertOutcomeOtherDescription" : null,
 "earlyAlertReferralIds" : 
    [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
     {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
 "comment" : "Follow-up via Phone.  Appt scheduled."}

Returns

Document

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
 "earlyAlertOutreachIds" : 
    [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
     {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
 "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
 "earlyAlertOutcomeOtherDescription" : null,
 "earlyAlertReferralIds" : 
    [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
     {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
 "comment" : "Follow-up via Phone.  Appt scheduled."}

 

Save a Document

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

Sample Post

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
 "earlyAlertOutreachIds" : 
    [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
     {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
 "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
 "earlyAlertOutcomeOtherDescription" : null,
 "earlyAlertReferralIds" : 
    [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
     {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
 "comment" : "Follow-up via Phone.  Appt scheduled."}

Returns

Document

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "createdDate" : "1332216000000",
 "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
 "modifiedDate" : "1332216000000",
 "objectStatus" : "ACTIVE",
 "earlyAlertId" : "1765cf54-b9c9-4821-8946-d09731c7cf8d",
 "earlyAlertOutreachIds" : 
    [{"id" : "198c1b80-fee5-4ece-aefb-97c23beac116"},
     {"id" : "3fd7e44d-dc33-4519-9e93-dc85d24f9074"}],
 "earlyAlertOutcomeId" : "85fa1583-74b4-47fe-9edd-e5c9da9e11f2",
 "earlyAlertOutcomeOtherDescription" : null,
 "earlyAlertReferralIds" : 
    [{"id" : "4139a3ba-b7fa-4ff3-ab09-43cf3d9de8a6"},
     {"id" : "30a17f21-6aaa-49fb-8b0b-bd53585ed3ac"}],
 "comment" : "Follow-up via Phone.  Appt scheduled."}

 

Delete a Document

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

Returns

{"success" : "true"}

or

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