POST api/v1/ChildSleepAwakenings
Request Information
URI Parameters
None.
Body Parameters
ChildSleepAwakening| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SleepId | integer |
None. |
|
| OccurredAt | date |
None. |
|
| DurationMin | integer |
None. |
|
| Notes | string |
None. |
|
| ChildSleepSession | ChildSleepSession |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:05:26.0858969+03:00",
"durationMin": 1,
"notes": "sample string 4",
"childSleepSession": {
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:05:26.0858969+03:00",
"endAt": "2026-04-18T15:05:26.0858969+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childSleepAwakening": [],
"children": {
"id": 1,
"motherId": 2,
"firstName": "sample string 3",
"lastName": "sample string 4",
"birthDate": "2026-04-18T15:05:26.0858969+03:00",
"gender": 64,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"lastCheckAt": "2026-04-18T15:05:26.0858969+03:00",
"childGrowthMeasurements": [
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:05:26.0858969+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
},
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:05:26.0858969+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
}
],
"childMedication": [
{
"id": 1,
"childId": 2,
"medicineName": "sample string 3",
"dosageText": "sample string 4",
"frequencyPerDay": 64,
"instructions": "sample string 6",
"startDate": "2026-04-18T15:05:26.0858969+03:00",
"endDate": "2026-04-18T15:05:26.0858969+03:00",
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationSchedule": {
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": []
}
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationSchedule": {
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": []
}
}
],
"childMedicationSchedule": [
{
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
}
]
},
{
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
}
]
}
]
},
{
"id": 1,
"childId": 2,
"medicineName": "sample string 3",
"dosageText": "sample string 4",
"frequencyPerDay": 64,
"instructions": "sample string 6",
"startDate": "2026-04-18T15:05:26.0858969+03:00",
"endDate": "2026-04-18T15:05:26.0858969+03:00",
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationSchedule": {
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": []
}
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationSchedule": {
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": []
}
}
],
"childMedicationSchedule": [
{
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
}
]
},
{
"id": 1,
"medicationId": 2,
"doseTime": "00:00:00.1234567",
"doseLabel": "sample string 4",
"reminderOffsetMinutes": 1,
"displayOrder": 1,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:05:26.0858969+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:05:26.0858969+03:00",
"takenAt": "2026-04-18T15:05:26.0858969+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00"
}
]
}
]
}
],
"mothers": {
"id": 1,
"email": "sample string 2",
"passwordHash": "sample string 3",
"telephone": "sample string 4",
"firstName": "sample string 5",
"lastName": "sample string 6",
"isRead": true,
"isKVKK": true,
"isActive": true,
"createdAt": "2026-04-18T15:05:26.0858969+03:00",
"updatedAt": "2026-04-18T15:05:26.0858969+03:00",
"lastLoginAt": "2026-04-18T15:05:26.0858969+03:00",
"subscriptionPlanId": 1,
"subscriptionStatus": 64,
"subscriptionStartAt": "2026-04-18T15:05:26.0858969+03:00",
"subscriptionEndAt": "2026-04-18T15:05:26.0858969+03:00",
"autoRenew": true,
"lastPaymentAt": "2026-04-18T15:05:26.0858969+03:00",
"gatewayCustomerRef": "sample string 7",
"gatewaySubscriptionRef": "sample string 8",
"emailConfirmed": true,
"emailConfirmToken": "sample string 9",
"imagePath": "sample string 10",
"birthDate": "2026-04-18T15:05:26.0858969+03:00",
"isPregnant": true,
"children": []
},
"childSleepSession": []
}
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.