GET api/inventory/Wishlist?repDID={repDID}&customerDID={customerDID}

Gets all Wishlists for a specific Rep or Customer that have not been associated to an order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Default value is

customerDID

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of WishlistViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

SubjectID

integer

None.

SubjectTypeID

integer

None.

Description

string

None.

IsDefault

boolean

None.

ItemAmount

integer

None.

OwnerDID

string

None.

OwnerDisplayName

string

None.

OwnerType

string

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfWishlistViewModel>
  <WishlistViewModel>
    <ID>1</ID>
    <SubjectID>2</SubjectID>
    <SubjectTypeID>3</SubjectTypeID>
    <Description>sample string 4</Description>
    <IsDefault>True</IsDefault>
    <ItemAmount>6</ItemAmount>
    <OwnerDID>sample string 7</OwnerDID>
    <OwnerDisplayName>sample string 8</OwnerDisplayName>
    <OwnerType>sample string 9</OwnerType>
  </WishlistViewModel>
  <WishlistViewModel>
    <ID>1</ID>
    <SubjectID>2</SubjectID>
    <SubjectTypeID>3</SubjectTypeID>
    <Description>sample string 4</Description>
    <IsDefault>True</IsDefault>
    <ItemAmount>6</ItemAmount>
    <OwnerDID>sample string 7</OwnerDID>
    <OwnerDisplayName>sample string 8</OwnerDisplayName>
    <OwnerType>sample string 9</OwnerType>
  </WishlistViewModel>
</ListOfWishlistViewModel>

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "SubjectID": 2,
    "SubjectTypeID": 3,
    "Description": "sample string 4",
    "IsDefault": true,
    "ItemAmount": 6,
    "OwnerDID": "sample string 7",
    "OwnerDisplayName": "sample string 8",
    "OwnerType": "sample string 9"
  },
  {
    "ID": 1,
    "SubjectID": 2,
    "SubjectTypeID": 3,
    "Description": "sample string 4",
    "IsDefault": true,
    "ItemAmount": 6,
    "OwnerDID": "sample string 7",
    "OwnerDisplayName": "sample string 8",
    "OwnerType": "sample string 9"
  }
]