POST api/v1/ChildMedicationSchedules
Request Information
URI Parameters
None.
Body Parameters
ChildMedicationSchedule| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MedicationId | integer |
None. |
|
| DoseTime | time interval |
None. |
|
| DoseLabel | string |
None. |
|
| ReminderOffsetMinutes | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
|
| ChildMedication | ChildMedication |
None. |
|
| ChildMedicationDoseLog | Collection of ChildMedicationDoseLog |
None. |
Request Formats
application/json, text/json
Sample:
{
"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:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+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:04:35.2879129+03:00",
"endDate": "2026-04-18T15:04:35.2879129+03:00",
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:04:35.2879129+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:04:35.2879129+03:00",
"takenAt": "2026-04-18T15:04:35.2879129+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:04:35.2879129+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:04:35.2879129+03:00",
"takenAt": "2026-04-18T15:04:35.2879129+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
}
],
"childMedicationSchedule": [],
"children": {
"id": 1,
"motherId": 2,
"firstName": "sample string 3",
"lastName": "sample string 4",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"gender": 64,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastCheckAt": "2026-04-18T15:04:35.2879129+03:00",
"childGrowthMeasurements": [
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
},
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
}
],
"childMedication": [],
"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:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastLoginAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionPlanId": 1,
"subscriptionStatus": 64,
"subscriptionStartAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionEndAt": "2026-04-18T15:04:35.2879129+03:00",
"autoRenew": true,
"lastPaymentAt": "2026-04-18T15:04:35.2879129+03:00",
"gatewayCustomerRef": "sample string 7",
"gatewaySubscriptionRef": "sample string 8",
"emailConfirmed": true,
"emailConfirmToken": "sample string 9",
"imagePath": "sample string 10",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"isPregnant": true,
"children": []
},
"childSleepSession": [
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
},
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
}
]
}
},
"childMedicationDoseLog": [
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:04:35.2879129+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:04:35.2879129+03:00",
"takenAt": "2026-04-18T15:04:35.2879129+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+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:04:35.2879129+03:00",
"endDate": "2026-04-18T15:04:35.2879129+03:00",
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childMedicationDoseLog": [],
"childMedicationSchedule": [],
"children": {
"id": 1,
"motherId": 2,
"firstName": "sample string 3",
"lastName": "sample string 4",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"gender": 64,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastCheckAt": "2026-04-18T15:04:35.2879129+03:00",
"childGrowthMeasurements": [
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
},
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
}
],
"childMedication": [],
"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:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastLoginAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionPlanId": 1,
"subscriptionStatus": 64,
"subscriptionStartAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionEndAt": "2026-04-18T15:04:35.2879129+03:00",
"autoRenew": true,
"lastPaymentAt": "2026-04-18T15:04:35.2879129+03:00",
"gatewayCustomerRef": "sample string 7",
"gatewaySubscriptionRef": "sample string 8",
"emailConfirmed": true,
"emailConfirmToken": "sample string 9",
"imagePath": "sample string 10",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"isPregnant": true,
"children": []
},
"childSleepSession": [
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
},
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
}
]
}
}
},
{
"id": 1,
"medicationId": 2,
"scheduleId": 1,
"plannedDate": "2026-04-18T15:04:35.2879129+03:00",
"plannedTime": "00:00:00.1234567",
"plannedAt": "2026-04-18T15:04:35.2879129+03:00",
"takenAt": "2026-04-18T15:04:35.2879129+03:00",
"notes": "sample string 3",
"isTaken": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+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:04:35.2879129+03:00",
"endDate": "2026-04-18T15:04:35.2879129+03:00",
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childMedicationDoseLog": [],
"childMedicationSchedule": [],
"children": {
"id": 1,
"motherId": 2,
"firstName": "sample string 3",
"lastName": "sample string 4",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"gender": 64,
"isActive": true,
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastCheckAt": "2026-04-18T15:04:35.2879129+03:00",
"childGrowthMeasurements": [
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
},
{
"id": 1,
"childId": 2,
"measureDate": "2026-04-18T15:04:35.2879129+03:00",
"heightCm": 1.0,
"weightKg": 1.0,
"bmi": 1.0,
"notes": "sample string 4",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00"
}
],
"childMedication": [],
"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:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"lastLoginAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionPlanId": 1,
"subscriptionStatus": 64,
"subscriptionStartAt": "2026-04-18T15:04:35.2879129+03:00",
"subscriptionEndAt": "2026-04-18T15:04:35.2879129+03:00",
"autoRenew": true,
"lastPaymentAt": "2026-04-18T15:04:35.2879129+03:00",
"gatewayCustomerRef": "sample string 7",
"gatewaySubscriptionRef": "sample string 8",
"emailConfirmed": true,
"emailConfirmToken": "sample string 9",
"imagePath": "sample string 10",
"birthDate": "2026-04-18T15:04:35.2879129+03:00",
"isPregnant": true,
"children": []
},
"childSleepSession": [
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
},
{
"id": 1,
"childId": 2,
"startAt": "2026-04-18T15:04:35.2879129+03:00",
"endAt": "2026-04-18T15:04:35.2879129+03:00",
"sleepType": 64,
"awakenings": 1,
"qualityScore": 64,
"notes": "sample string 5",
"isDeleted": true,
"createdAt": "2026-04-18T15:04:35.2879129+03:00",
"updatedAt": "2026-04-18T15:04:35.2879129+03:00",
"childSleepAwakening": [
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
},
{
"id": 1,
"sleepId": 2,
"occurredAt": "2026-04-18T15:04:35.2879129+03:00",
"durationMin": 1,
"notes": "sample string 4"
}
]
}
]
}
}
}
]
}
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.