POST Child/Update

update data child

Request Information

URI Parameters

None.

Body Parameters

EditChildParameterModel
NameDescriptionTypeAdditional information
ParentID

integer

None.

ID

integer

None.

Gender

string

None.

Name

string

None.

PlaceOfBirth

string

None.

Birthdate

string

None.

ProductBeforeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentID": 1,
  "ID": 2,
  "Gender": "sample string 3",
  "Name": "sample string 4",
  "PlaceOfBirth": "sample string 5",
  "Birthdate": "sample string 6",
  "ProductBeforeId": 7
}

Response Information

Resource Description

ResultModelOfChildModel
NameDescriptionTypeAdditional information
StatusCode

string

None.

StatusMessage

string

None.

Value

ChildModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "StatusMessage": "sample string 2",
  "Value": {
    "ID": 1,
    "ParentID": 2,
    "Gender": "sample string 3",
    "Name": "sample string 4",
    "PlaceOfBirth": "sample string 5",
    "Birthdate": "sample string 6",
    "ProductBeforeID": 7,
    "Productbefore": {
      "ID": 1,
      "Name": "sample string 2",
      "IsDeleted": true,
      "IsPregnancyProduct": true
    },
    "IsDeleted": true
  }
}