POST api/ProductParentChild
Creates new Product Parent Child.
Request Information
URI Parameters
None.
Body Parameters
ProductParentChild.
ProductParentChildName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
ParentProductId | integer |
None. |
|
ChildProductId | integer |
None. |
|
ProductParentChildId | integer |
None. |
|
ProductParentChildGlobalId | string |
None. |
|
OrganizationId | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "ParentProductId": 2, "ChildProductId": 3, "ProductParentChildId": 4, "ProductParentChildGlobalId": "sample string 5", "OrganizationId": 1, "UpdatedDate": "2025-01-15T11:11:18.2058441+00:00", "UpdatedBy": "sample string 6" }
application/xml, text/xml
Sample:
<ProductParentChild xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <ChildProductId>3</ChildProductId> <OrganizationId>1</OrganizationId> <ParentProductId>2</ParentProductId> <ProductParentChildGlobalId>sample string 5</ProductParentChildGlobalId> <ProductParentChildId>4</ProductParentChildId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedDate>2025-01-15T11:11:18.2058441+00:00</UpdatedDate> </ProductParentChild>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductParentChildName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
ParentProductId | integer |
None. |
|
ChildProductId | integer |
None. |
|
ProductParentChildId | integer |
None. |
|
ProductParentChildGlobalId | string |
None. |
|
OrganizationId | integer |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "ParentProductId": 2, "ChildProductId": 3, "ProductParentChildId": 4, "ProductParentChildGlobalId": "sample string 5", "OrganizationId": 1, "UpdatedDate": "2025-01-15T11:11:18.216701+00:00", "UpdatedBy": "sample string 6" }
application/xml, text/xml
Sample:
<ProductParentChild xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <ChildProductId>3</ChildProductId> <OrganizationId>1</OrganizationId> <ParentProductId>2</ParentProductId> <ProductParentChildGlobalId>sample string 5</ProductParentChildGlobalId> <ProductParentChildId>4</ProductParentChildId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedDate>2025-01-15T11:11:18.216701+00:00</UpdatedDate> </ProductParentChild>