POST Child/Add
Add new child base on parent ID
Request Information
URI Parameters
None.
Body Parameters
AddNewChildParameterModelName | Description | Type | Additional information |
---|---|---|---|
ParentID | integer |
None. |
|
ID | integer |
None. |
|
Gender | string |
None. |
|
Name | string |
None. |
|
PlaceOfBirth | string |
None. |
|
Birthdate | string |
None. |
|
ProductBeforeId | integer |
None. |
|
BirthdateChild | date |
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, "BirthdateChild": "2024-11-17T01:26:12.1934989+07:00" }
Response Information
Resource Description
ResultModelOfChildModelName | Description | Type | Additional 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 } }