GET api/pod/product/ListProduct?Offset={Offset}&Size={Size}&ProductId={ProductId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Offset

integer

None.

Size

integer

None.

ProductId

integer

None.

Body Parameters

None.

Response Information

Resource Description

ListProductViewModel
NameDescriptionTypeAdditional information
Data

Collection of FullProductModel

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "EntityId": 1,
      "AvailableCount": 2.0,
      "Name": "sample string 3",
      "Price": 4.0,
      "Discount": 5.0,
      "CanComment": true,
      "CanLike": true,
      "Enabled": true,
      "UniqueId": "sample string 9",
      "Description": "sample string 10",
      "TaxRate": 11.1,
      "Unlimited": true
    },
    {
      "EntityId": 1,
      "AvailableCount": 2.0,
      "Name": "sample string 3",
      "Price": 4.0,
      "Discount": 5.0,
      "CanComment": true,
      "CanLike": true,
      "Enabled": true,
      "UniqueId": "sample string 9",
      "Description": "sample string 10",
      "TaxRate": 11.1,
      "Unlimited": true
    }
  ],
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<ListProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <Data>
    <FullProductModel>
      <AvailableCount>2</AvailableCount>
      <CanComment>true</CanComment>
      <CanLike>true</CanLike>
      <Description>sample string 10</Description>
      <Discount>5</Discount>
      <Enabled>true</Enabled>
      <Name>sample string 3</Name>
      <Price>4</Price>
      <TaxRate>11.1</TaxRate>
      <UniqueId>sample string 9</UniqueId>
      <Unlimited>true</Unlimited>
      <EntityId>1</EntityId>
    </FullProductModel>
    <FullProductModel>
      <AvailableCount>2</AvailableCount>
      <CanComment>true</CanComment>
      <CanLike>true</CanLike>
      <Description>sample string 10</Description>
      <Discount>5</Discount>
      <Enabled>true</Enabled>
      <Name>sample string 3</Name>
      <Price>4</Price>
      <TaxRate>11.1</TaxRate>
      <UniqueId>sample string 9</UniqueId>
      <Unlimited>true</Unlimited>
      <EntityId>1</EntityId>
    </FullProductModel>
  </Data>
</ListProductViewModel>