Core Service
HomeCore Service
Playground
  • Child
  • Daily Notes
  • Fetus Image
  • File
  • Migration
  • Milestone
  • Mood Tracker
  • Mother Weight
  • Pregnancy
Changelog Release
HomeCore Service
Playground
  • Child
  • Daily Notes
  • Fetus Image
  • File
  • Migration
  • Milestone
  • Mood Tracker
  • Mother Weight
  • Pregnancy
Changelog Release
  1. pregnancy-controller
  • Introduction
  • Changelog Release
  • Local Development
  • Child
    • getChildList
      GET
    • updateProfile
      POST
    • createFirstBaby
      POST
    • deleteBaby
      DELETE
  • daily-note-controller
    • get list of daily notes
      POST
    • delete daily note by id
      DELETE
    • create new daily note
      POST
    • update existing daily note
      POST
  • fetus-image-controller
    • getFetusImageByWeekV2
      GET
    • getFetusImageByWeek
      GET
  • file-controller
    • streamPrivateData
      GET
  • migration-controller
    • migrateChild
      GET
    • migratePregnancy
      GET
    • migratePregnancyCheckup
      GET
    • migratePregnancyByEmail
      GET
    • migrateUsgScan
      GET
  • milestone-controller
    • get user's list of baby milestones by baby id and month
    • update user's list of baby monthly milestones
    • get user's list of pregnancy milestones by week
    • update user's list of pregnancy weekly milestones
  • mood-tracker-controller
    • get mood history by pregnancy id, start date, and end date
    • get monthly mood history by pregnancy id and month
    • create / update mood data
    • get weekly mood history by pregnancy id and week
    • delete mood data by id
  • mother-weight-controller
    • get mother's weight by pregnancy id, mode, start date, and end date
    • get mother's weight data by pregnancy id and date
    • get mother's weight monthly report by pregnancy id
    • create / update mother's weight data
    • delete mother's weight by id
  • pregnancy-controller
    • updateDueDate
      POST
    • getPregnancyDetail
      GET
    • createFirstPregnancy
      POST
    • getPregnancyHistory
      GET
    • updateStatus
      POST
    • createFirstPregnancy
      POST
    • deletePregnancy
      DELETE
  1. pregnancy-controller

updateDueDate

POST
/pregnancy/date/update
pregnancy-controller

Request

Body Params application/json
conceptionDate
string <date-time>
optional
dueDate
string <date-time>
optional
lastDateOnPeriod
string <date-time>
optional
Example
{
    "conceptionDate": "2019-08-24T14:15:22Z",
    "dueDate": "2019-08-24T14:15:22Z",
    "lastDateOnPeriod": "2019-08-24T14:15:22Z"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/pregnancy/date/update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "conceptionDate": "2019-08-24T14:15:22Z",
    "dueDate": "2019-08-24T14:15:22Z",
    "lastDateOnPeriod": "2019-08-24T14:15:22Z"
}'

Responses

🟢200OK
application/json
Body
data
object (PregnancyDetailResponse) 
optional
babyInfo
array[object (ChildDetailResponse) {12}] 
optional
born
boolean 
optional
conceptionDate
string <date-time>
optional
dueDate
string <date-time>
optional
id
integer <int64>
optional
lastDateOnPeriod
string <date-time>
optional
miscarriage
boolean 
optional
miscarriageDate
string <date-time>
optional
miscarriageReason
string 
optional
status
string 
optional
Example
{
    "data": {
        "babyInfo": [
            {
                "birthDate": "2019-08-24T14:15:22Z",
                "birthMethod": "string",
                "bloodType": "string",
                "doctorName": "string",
                "gender": "string",
                "headCircumference": 0,
                "height": 0,
                "hospitalName": "string",
                "id": 0,
                "name": "string",
                "status": "string",
                "weight": 0
            }
        ],
        "born": true,
        "conceptionDate": "2019-08-24T14:15:22Z",
        "dueDate": "2019-08-24T14:15:22Z",
        "id": 0,
        "lastDateOnPeriod": "2019-08-24T14:15:22Z",
        "miscarriage": true,
        "miscarriageDate": "2019-08-24T14:15:22Z",
        "miscarriageReason": "string",
        "status": "string"
    }
}
Modified at 2023-01-24 09:44:30
Previous
delete mother's weight by id
Next
getPregnancyDetail
Built with