GET api/voucherstore?contactId={contactId}&accountId={accountId}

Gets a collection of web product kits

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Contact guid identifier

globally unique identifier

Required

accountId

Account guid identifier

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Account's VoucherStore

VoucherStore
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

AccountName

string

None.

MinimumQuantity

integer

None.

VoucherKits

Collection of VoucherKit

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": "fe634462-10d6-457d-b381-dffd685857fb",
  "AccountName": "sample string 2",
  "MinimumQuantity": 3,
  "VoucherKits": [
    {
      "WebProductId": "2f770136-e205-4e42-ac8f-d1e5522a976f",
      "RetailPrice": 2.0,
      "Discount": 3.0,
      "WebProductName": "sample string 4",
      "Description": "sample string 5",
      "ImageUrl": "sample string 6",
      "AbbrivatedDescription": "sample string 7",
      "DisplayOrder": 8
    },
    {
      "WebProductId": "2f770136-e205-4e42-ac8f-d1e5522a976f",
      "RetailPrice": 2.0,
      "Discount": 3.0,
      "WebProductName": "sample string 4",
      "Description": "sample string 5",
      "ImageUrl": "sample string 6",
      "AbbrivatedDescription": "sample string 7",
      "DisplayOrder": 8
    }
  ]
}

application/xml, text/xml

Sample:
<VoucherStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <AccountId>fe634462-10d6-457d-b381-dffd685857fb</AccountId>
  <AccountName>sample string 2</AccountName>
  <MinimumQuantity>3</MinimumQuantity>
  <VoucherKits>
    <VoucherKit>
      <AbbrivatedDescription>sample string 7</AbbrivatedDescription>
      <Description>sample string 5</Description>
      <Discount>3</Discount>
      <DisplayOrder>8</DisplayOrder>
      <ImageUrl>sample string 6</ImageUrl>
      <RetailPrice>2</RetailPrice>
      <WebProductId>2f770136-e205-4e42-ac8f-d1e5522a976f</WebProductId>
      <WebProductName>sample string 4</WebProductName>
    </VoucherKit>
    <VoucherKit>
      <AbbrivatedDescription>sample string 7</AbbrivatedDescription>
      <Description>sample string 5</Description>
      <Discount>3</Discount>
      <DisplayOrder>8</DisplayOrder>
      <ImageUrl>sample string 6</ImageUrl>
      <RetailPrice>2</RetailPrice>
      <WebProductId>2f770136-e205-4e42-ac8f-d1e5522a976f</WebProductId>
      <WebProductName>sample string 4</WebProductName>
    </VoucherKit>
  </VoucherKits>
</VoucherStore>