Get Many Children
Bad Request
Unauthorized
Forbidden
Internal server error
curl --request GET \ --url 'https://api.alexishr.com/v1/child?select=SOME_ARRAY_VALUE&filters=SOME_OBJECT_VALUE&limit=SOME_INTEGER_VALUE&offset=SOME_INTEGER_VALUE&sort=SOME_OBJECT_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "status": "ok",
- "data": [
- {
- "id": "507f1f77bcf86cd799439011",
- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}
], - "total": 500,
- "count": 50,
- "offset": 50,
- "relations": { }
}Create One Child
Bad Request
Unauthorized
Forbidden
Internal server error
{- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}
}Get One Child
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
curl --request GET \ --url 'https://api.alexishr.com/v1/child/507f1f77bcf86cd799439011?select=SOME_ARRAY_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}, - "relations": { }
}Update One Child
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}
}Replace One Child
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
{- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}{- "status": "ok",
- "data": {
- "id": "507f1f77bcf86cd799439011",
- "employeeId": "507f1f77bcf86cd799439011",
- "name": "string",
- "birthdate": "2019-08-24T14:15:22Z"
}
}Delete One Child
Bad Request
Unauthorized
Forbidden
Not Found
Internal server error
curl --request DELETE \ --url https://api.alexishr.com/v1/child/507f1f77bcf86cd799439011 \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "status": "ok",
- "data": { }
}