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 Current »

Search Challenges in the Counseling Reference Guide

GET /ssp/api/1/person/<personid>/challenge/search

Security

Anonymous

Parameters

?query: <value for tags, descriptions and/or challenge/referral names>

Input

<url>/ssp/api/1/person/64a97729-7999-4b31-b70b-f0b705dff288/challenge/search?query=alcohol

 

Returns 

[{"id":"5d6dc03f-b000-42b1-a078-253c55867ff1",
  "createdDate":1332201600000,
  "createdBy":
    {"id":"58ba5ee3-734e-4ae9-b9c5-943774b4de41",
    "firstName":"System",
    "lastName":"Administrator"},
  "modifiedDate":1371833851286,
  "modifiedBy":
    {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
    "firstName":"Amy",
    "lastName":"Administrator"},
  "objectStatus":"ACTIVE",
  "name":"Alcohol and/or Substance Abuse",
  "description":"Alcohol and/or Substance Abuse",
  "selfHelpGuideQuestion":"Do you need help with alcohol or substance abuse?",
  "selfHelpGuideQuestions":
[{"id":"0a90940a-3f99-1586-813f-9b66e866001c",
  "createdDate":1372701780070,
  "createdBy":
    {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
    "firstName":"Amy",
    "lastName":"Administrator"},
  "modifiedDate":1372702964276,
  "modifiedBy":
    {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
    "firstName":"Amy",
    "lastName":"Administrator"},
  "objectStatus":"ACTIVE",
  "name":"Alcohol and/or Substance Abuse",
  "description":null,
  "questionNumber":1,
  "critical":false,
  "mandatory":false,
  "challengeId":"5d6dc03f-b000-42b1-a078-253c55867ff1",
  "selfHelpGuideId":"0a90940a-3f99-1586-813f-9b66e73a001a"}],
  "selfHelpGuideDescription":"",
  "showInStudentIntake":true,
  "showInSelfHelpSearch":true,
  "tags":"",
  "defaultConfidentialityLevelId":null,
  "challengeChallengeReferrals":
[{"id":"7cc73413-02b9-4f8b-aa3f-38b082abc706",
  "createdDate":1332201600000,
  "createdBy":
    {"id":"58ba5ee3-734e-4ae9-b9c5-943774b4de41",
    "firstName":"System",
    "lastName":"Administrator"},
  "modifiedDate":1374506997517,
  "modifiedBy":{"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
    "firstName":"Amy",
    "lastName":"Administrator"},
  "objectStatus":"ACTIVE",
  "name":"Alcoholics-anonymous",
  "description":"AL-ANON/ALATEEN:  For family members and friends whose lives are affected by someone who drinks visit the national Al-non/Alateen website at www.al-anon.alateen.org or the local website at www.al-anondaytonoh.org",
  "publicDescription":"Alcoholic-anonymous yes or no?",
  "showInSelfHelpGuide":true,
  "showInStudentIntake":null,
  "link":""
  }],
"referralCount":1
}]
  • No labels