GET api/Products/GetProductItems/{id}?pageIndex={pageIndex}&pageSize={pageSize}

Gets the product items.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

product id

integer

Required

pageIndex

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

HttpStatusCode 200 OK.

GetProductItemsResult
NameDescriptionTypeAdditional information
PagedProductItems

A page with Product item rows.

GetProductItemResult

None.

Response Formats

application/json, text/json

Sample:
{
  "PagedProductItems": {
    "PageIndex": 0,
    "PageSize": 10,
    "TotalItems": 1,
    "TotalPages": 1,
    "Items": [
      {
        "Id": 1,
        "UserProviderKey": null,
        "CustomerId": 1,
        "Description": null,
        "IsDisabled": false,
        "Data": [
          {
            "ProductFieldId": 1,
            "StringValue": null,
            "LongValue": null,
            "BoolValue": true,
            "DateValue": null,
            "SelectedItem": null,
            "DoubleValue": null
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<GetProductItemsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <PagedProductItems>
    <Items>
      <GetProductItemResult>
        <CustomerId>1</CustomerId>
        <Data xmlns:d5p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures">
          <d5p1:ProductItemFieldData>
            <d5p1:BoolValue>true</d5p1:BoolValue>
            <d5p1:DateValue i:nil="true" />
            <d5p1:DoubleValue i:nil="true" />
            <d5p1:LongValue i:nil="true" />
            <d5p1:ProductFieldId>1</d5p1:ProductFieldId>
            <d5p1:SelectedItem i:nil="true" />
            <d5p1:StringValue i:nil="true" />
          </d5p1:ProductItemFieldData>
        </Data>
        <Description i:nil="true" />
        <Id>1</Id>
        <IsDisabled>false</IsDisabled>
        <UserProviderKey i:nil="true" />
      </GetProductItemResult>
    </Items>
    <PageIndex>0</PageIndex>
    <PageSize>10</PageSize>
    <TotalItems>1</TotalItems>
    <TotalPages>1</TotalPages>
  </PagedProductItems>
</GetProductItemsResult>