GET api/Products/GetProductItem/{id}

Gets the product item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

HttpStatusCode 200 OK.

GetProductItemResult
NameDescriptionTypeAdditional information
Id

Product item id

integer

None.

UserProviderKey

User provider key

string

None.

CustomerId

Customer Id

integer

None.

Description

Decription

string

None.

IsDisabled

True if product item is disabled

boolean

None.

Data

Fields

Collection of ProductItemFieldData

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<GetProductItemResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <CustomerId>1</CustomerId>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures">
    <d2p1:ProductItemFieldData>
      <d2p1:BoolValue>true</d2p1:BoolValue>
      <d2p1:DateValue i:nil="true" />
      <d2p1:DoubleValue i:nil="true" />
      <d2p1:LongValue i:nil="true" />
      <d2p1:ProductFieldId>1</d2p1:ProductFieldId>
      <d2p1:SelectedItem i:nil="true" />
      <d2p1:StringValue i:nil="true" />
    </d2p1:ProductItemFieldData>
  </Data>
  <Description i:nil="true" />
  <Id>1</Id>
  <IsDisabled>false</IsDisabled>
  <UserProviderKey i:nil="true" />
</GetProductItemResult>