POST api/Services/PostFetalMovementData

Движение плода добавить, требуется авторизация

Request Information

URI Parameters

None.

Body Parameters

Движение плода

FetalMovementData
NameDescriptionTypeAdditional information
m_date

Дата

date

Required

m_start

Время начала

time interval

Required

m_end

Время окончания

time interval

Required

stirring_count

Шевеление

integer

Required

movement_count

Движение

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "m_date": "2025-07-26T18:34:21.2028022+05:00",
  "m_start": "00:00:00.1234567",
  "m_end": "00:00:00.1234567",
  "stirring_count": 4,
  "movement_count": 5
}

text/html

Sample:
{"m_date":"2025-07-26T18:34:21.2028022+05:00","m_start":"00:00:00.1234567","m_end":"00:00:00.1234567","stirring_count":4,"movement_count":5}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelAdd
NameDescriptionTypeAdditional information
record_id

Идентификатор

integer

None.

success

Успешность запроса true, false

boolean

None.

Errors

Ошибка запроса

Collection of string

None.

result

Объект

Object

None.

new_level

Новый уровень

integer

None.

add_bonus

Добавленный бонус

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "record_id": 1,
  "success": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "result": {},
  "new_level": 1,
  "add_bonus": 1.0
}

text/html

Sample:
{"record_id":1,"success":true,"Errors":["sample string 1","sample string 2"],"result":{},"new_level":1,"add_bonus":1.0}