GET api/Inventory/InventoryRelationship/{id}
Method to return a specific InventoryRelationship provided the ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IInventoryRelationship| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SlaveInventoryID | integer |
None. |
|
| RelationshipGroupID | integer |
None. |
|
| SortOrder | integer |
None. |
|
| DateCreated | date |
None. |
|
| CreatedBy | string |
None. |
|
| Description | string |
None. |
|
| InventoryCollectionTypeID | integer |
None. |
|
| ImagePath | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<InventoryRelationship> <ID>0</ID> <SlaveInventoryID>0</SlaveInventoryID> <RelationshipGroupID>0</RelationshipGroupID> <SortOrder>0</SortOrder> <DateCreated /> <CreatedBy /> <Description /> <InventoryCollectionTypeID>0</InventoryCollectionTypeID> <ImagePath /> </InventoryRelationship>
application/json, text/json
Sample:
{
"ID": 0,
"SlaveInventoryID": 0,
"RelationshipGroupID": 0,
"SortOrder": 0,
"InventoryCollectionTypeID": 0
}