Facility Children Resource v1

Leonid Marushevkiy edited this page May 17, 2017 · 3 revisions

Facility Children [/facilities/{id}/children]

Facility Children [GET]

  • Response 200 (application/json)
{
  "messages": [
    {
      "type": "VALIDATION",
      "message": "string",
      "source": "string"
    }
  ],
  "children": [
    {
      "href" : "/facilities/1234567890/children",      
      "id": "string",
      "facilityId": 0,
      "person": {
        "id": 1234567890,
        "gender": "string",
        "age": 0,
        "ssn": "string",
        "ethnicityId": 0,
        "first_name": "string",
        "last_name": "string",
        "date_of_birth": "2017-05-17"
      },
      "messages": [
        {
          "type": "VALIDATION",
          "message": "string",
          "source": "string"
        }
      ],
      "date_of_placement": "2017-05-17",
      "assigned_worker": {
        "id": 0,
        "gender": "string",
        "age": 0,
        "ssn": "string",
        "ethnicityId": 0,
        "first_name": "string",
        "last_name": "string",
        "date_of_birth": "2017-05-17"
      },
      "county_of_origin": "string"
    }
  ]
}

Facility Child [/facilities/{facilityId}/children/{childId}]

Facility Childn [GET]

  • Response 200 (application/json)
{
  "id": "string",
  "facilityId": 0,
  "person": {
    "id": 0,
    "gender": "string",
    "age": 0,
    "ssn": "string",
    "ethnicityId": 0,
    "first_name": "string",
    "last_name": "string",
    "date_of_birth": "2017-05-17"
  },
  "messages": [
    {
      "type": "VALIDATION",
      "message": "string",
      "source": "string"
    }
  ],
  "date_of_placement": "2017-05-17",
  "assigned_worker": {
    "id": 0,
    "gender": "string",
    "age": 0,
    "ssn": "string",
    "ethnicityId": 0,
    "first_name": "string",
    "last_name": "string",
    "date_of_birth": "2017-05-17"
  },
  "county_of_origin": "string"
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.