Versions Compared

Key

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

...

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

Security

PERSON_EARLY_ALERT_RESPONSE_READ

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)

...

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

Security

PERSON_EARLY_ALERT_RESPONSE_READ

Returns

EarlyAlert

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "createdDate" : "1332216000000",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "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."}

...

POST /ssp/api/1/person/{id}/earlyAlert/{id}/earlyAlertResponse

Security

PERSON_EARLY_ALERT_RESPONSE_WRITE

Sample Post

Code Block
{"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."}

...

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

Security

PERSON_EARLY_ALERT_RESPONSE_WRITE

Sample Post

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "createdDate" : "1332216000000",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},
 "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 /ssp/api/1/person/{id}/earlyAlert/{id}/earlyAlertResponse/{id}

Security

PERSON_EARLY_ALERT_RESPONSE_DELETE

Returns

Code Block
{"success" : "true"}

...