Versions Compared

Key

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

...

HTTP Status Code

Description

Response Example

HTTP Status Code

Description

Response Example

200

Successful return of data.

 

Code Block
[
  {
    "id": 969,
    "organization_id": 969,
    "name": "CHILDREN'S ADVOCACY CENTER OF SOUTHWEST MICHIGAN",
    "alternate_name": "BERRIEN COUNTY COUNCIL FOR CHILDREN,CHILDRENS ADVOCACY CENTER OF SOUTHWEST MICHIGAN",
    "description": null,
    "transportation": "No public transportation available",
    "latitude": "42.0225356",
    "longitude": "86.4205098",
    "region": "GRYP"
  }
]

 

200

Successful return of NO data

 

Code Block
[]

403

Request is unauthorized and will not be processed. This will happen if the x-api-key is invalid.

 

 

Code Block
{
  "message": "Forbidden"
}

 

 

400

Request query parameter is malformed and will not be processed.

Code Block
{
  "type": "cie-directory/validation-error",
  "title": "Invalid Query Object: All query types",
  "detail": "query is not a valid JSON object. Query given: '{\"id\":\"1}' Error message: Unexpected end of JSON input",
  "instance": "4c81a2f2-3272-4fc0-a4f8-f6e0d617b939"
}

...