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 record.

 

Code Block
[
  {
    "person" : {id": 1,
    "organization_id": 969,
    "activelocation_id":true 970,
    "birthDatesource_service_id": "196505211106",
    "telecomprogram_id":[ 2048,
    "program": {"rank":2,"system":"phone","value":"(734)556-1212","use":"home"},
      {"rank":1,"system":"email","value":"sdoh@yahoo.com","use":""}]"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,
    "managingOrganizationapplication_process":"hfhs "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.",
    "addresswait_time":{"country null,
    "fees": "USNo fees",
    "cityaccreditations":"RIVERVIEW","use":"home","line":"6329 TEMPLATE","postalCode":"48192","county":"WAYNE","text":"6329 TEMPLATE RIVERVIEW, MI  48192","state":"MI","type":"both"} 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",
    "namephysical_address": [
      {"given
        "id": "ONE5560","text
        "organization_id":"ONE TEMPLIN","family":"TEMPLIN","use":"official","prefix":"TEMPLIN"},,
        "location_id": "970",
        "attention": "",
        "genderaddress_1": "male4938 Niles Road",
        "recordTypeaddress_2": "FHIR",
    "language    "address_3": "English",
        "personIdaddress_4":"8cb77503-e481-431a-a0d3-c0c156327504"} "",
    },   instance: "347984t9city": }"Saint Joseph",
     


 

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
{   "typecounty": "cie/unauthorizedBerrien",
  "title      "region": "Request",
is not authorized      "state_province": "MI",
      to perform this operation",
  "detail"postal_code": "49085"The,
x-api-key header may be     "country": "USA"
      }
 missing or is invalid",]
  }
]  

  

 

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
{
  "instancemessage": "4abdf0d4-e934-5575513f6d5Forbidden"
}



 

 

400

Request is malformed and will not be processed.

 

Code Block
{
  "type": "cie-directory/validation-error",
  "title": "Invalid Parameter"Your,
request parameters "detail": "parameter per_page was greater then the max allowed for this endpoint. per_page:  didn't validate.10000 max_allowed: 100",
  "instance": "4abdf0d4-e934-5575513f6d5237869a1-67f0-4a68-9500-734b3956517b"
}



 

Example CURL for this API Call

...