Versions Compared

Key

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

...

HTTP Status Code

Description

Response Example

200

Successful retrieval of a person service record.

 

Code Block
[
  {
    "id": 1,
    "organization_id": 969,
    "location_id": 970,
    "source_service_id": "1106",
    "program_id": 2048,
    "program": "CHILDREN'S ADVOCACY CENTER",
    "name": "COUNSELING SERVICES AND PREVENTION FOR CHILDREN WHO ARE ABUSED",
    "alternate_name": null,
    "description": "Provides forensic interviews for sexually abused children, counseling services for sexually abused children, including adults survivors of child sexual abuse, and prevention education.",
    "url": null,
    "email": null,
    "status": 1,
    "interpretation_services": null,
    "application_process": "Referral required from Child Protective Services or Law Enforcement for forensic interviewing services. Therapy services available to children and adult survivors of child sexual abuse.",
    "wait_time": null,
    "fees": "No fees",
    "accreditations": null,
    "licenses": null,
    "eligibility": "Children and families of suspected child abuse in Southwest Michigan",
    "language": "Interpretation services available",
    "payment_accepted": "Not applicable",
    "required_document": "Referral information",
    "service_area": "Berrien, Cass and Van Buren Counties",
    "area_served_description": "Berrien, Cass and Van Buren Counties",
    "region": "GRYP",
    "physical_address": [
      {
        "id": "5560",
        "organization_id": "",
        "location_id": "970",
   
    "attention": "",
        "address_1": "4938 Niles Road",
        "address_2": "",
        "address_3": "",
   
    "address_4": "",
        "city": "Saint Joseph",
 
      "county": "Berrien",
   
    "regionpostal_code": "49085",
        "stateorganization_provincename": "MI",
        "postal_code": "49085"CHILDREN'S ADVOCACY CENTER OF SOUTHWEST MICHIGAN",
        "country"location_name": "USA"CHILDREN'S ADVOCACY CENTER OF    }
    ]SOUTHWEST MICHIGAN"
  }
] 


 

403

Request is unauthorized and will not be processed. This will happen if the authorization header does not contain a valid client id and secret.

 

 

Code Block
{
  "message": "Forbidden"
}



 

 

400

Request is malformed and will not be processed.

 

Code Block
{
  "type": "cie-directory/validation-error",
  "title": "Invalid Parameter",
  "detail": "parameter per_page was greater then the max allowed for this endpoint. per_page: 10000 max_allowed: 100",
  "instance": "237869a1-67f0-4a68-9500-734b3956517b"
}



 

Example CURL for this API Call

...