GET api/Inventory/InventoryRelationship/ByGroup?groupId={groupId}

Get the warehouse count for an existing inventory item and warehouse number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of InventoryRelationshipViewModel
NameDescriptionTypeAdditional 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:
<ListOfInventoryRelationshipViewModel>
  <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>
  <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>
</ListOfInventoryRelationshipViewModel>

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"
  },
  {
    "InventoryRelationshipID": 1,
    "ProductID": "sample string 1",
    "RelationshipGroupID": 2,
    "SortOrder": 3,
    "InventoryCollectionTypeID": 4,
    "Description": "sample string 5",
    "ImagePath": "sample string 6"
  }
]