POST api/Inventory/InventoryRelationship
Create of Inventory Relationship.
Request Information
URI Parameters
None.
Body Parameters
InventoryRelationshipViewModelName | Description | Type | Additional information |
---|---|---|---|
InventoryRelationshipID |
The ID for the Inventory/Group relationship combination. |
integer |
None. |
ProductID |
This is the Product ID or item number |
string |
None. |
RelationshipGroupID |
Inventory Relationship GroupID |
integer |
None. |
SortOrder |
Sort Order |
integer |
None. |
InventoryCollectionTypeID |
Sort Order |
integer |
None. |
Description |
InventoryRelationship Description |
string |
Max length: 50 |
ImagePath |
InventoryRelationship Description |
string |
Max length: 200 |
Request Formats
application/xml, text/xml
Sample:
<InventoryRelationshipViewModel> <InventoryRelationshipID>1</InventoryRelationshipID> <ProductID>sample string 1</ProductID> <RelationshipGroupID>2</RelationshipGroupID> <SortOrder>3</SortOrder> <InventoryCollectionTypeID>4</InventoryCollectionTypeID> <Description>sample string 5</Description> <ImagePath>sample string 6</ImagePath> </InventoryRelationshipViewModel>
application/json, text/json
Sample:
{ "InventoryRelationshipID": 1, "ProductID": "sample string 1", "RelationshipGroupID": 2, "SortOrder": 3, "InventoryCollectionTypeID": 4, "Description": "sample string 5", "ImagePath": "sample string 6" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
InventoryRelationshipViewModelName | Description | Type | Additional information |
---|---|---|---|
InventoryRelationshipID |
The ID for the Inventory/Group relationship combination. |
integer |
None. |
ProductID |
This is the Product ID or item number |
string |
None. |
RelationshipGroupID |
Inventory Relationship GroupID |
integer |
None. |
SortOrder |
Sort Order |
integer |
None. |
InventoryCollectionTypeID |
Sort Order |
integer |
None. |
Description |
InventoryRelationship Description |
string |
Max length: 50 |
ImagePath |
InventoryRelationship Description |
string |
Max length: 200 |
Response Formats
application/xml, text/xml
Sample:
<InventoryRelationshipViewModel> <InventoryRelationshipID>1</InventoryRelationshipID> <ProductID>sample string 1</ProductID> <RelationshipGroupID>2</RelationshipGroupID> <SortOrder>3</SortOrder> <InventoryCollectionTypeID>4</InventoryCollectionTypeID> <Description>sample string 5</Description> <ImagePath>sample string 6</ImagePath> </InventoryRelationshipViewModel>
application/json, text/json
Sample:
{ "InventoryRelationshipID": 1, "ProductID": "sample string 1", "RelationshipGroupID": 2, "SortOrder": 3, "InventoryCollectionTypeID": 4, "Description": "sample string 5", "ImagePath": "sample string 6" }