GET api/Product/Id/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EwProductName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Sku | string |
None. |
|
ImSku | string |
None. |
|
Name | string |
None. |
|
Brand | string |
None. |
|
BrandId | integer |
None. |
|
Category | string |
None. |
|
Status | string |
None. |
|
Description | string |
None. |
|
MSRP | decimal number |
None. |
|
MAP | decimal number |
None. |
|
StockType | string |
None. |
|
FreightType | string |
None. |
|
Properties | Collection of ProductProperty |
None. |
|
Dimensions | Collection of Dimension |
None. |
|
Upc | string |
None. |
|
Media | Collection of Media |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Sku": "sample string 2", "ImSku": "sample string 3", "Name": "sample string 4", "Brand": "sample string 5", "BrandId": 6, "Category": "sample string 7", "Status": "sample string 8", "Description": "sample string 9", "MSRP": 1.0, "MAP": 1.0, "StockType": "sample string 10", "FreightType": "sample string 11", "Properties": [ { "ProductId": 1.0, "Name": "sample string 2", "Value": "sample string 3" }, { "ProductId": 1.0, "Name": "sample string 2", "Value": "sample string 3" } ], "Dimensions": [ { "Type": "sample string 1", "Height": 2.0, "Width": 3.0, "Length": 4.0, "Weight": 5.0 }, { "Type": "sample string 1", "Height": 2.0, "Width": 3.0, "Length": 4.0, "Weight": 5.0 } ], "Upc": "sample string 12", "Media": [ { "Type": "sample string 1", "URL": "sample string 2" }, { "Type": "sample string 1", "URL": "sample string 2" } ] }
application/xml, text/xml
Sample:
<EwProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExpertOMS.Api.Models"> <Brand>sample string 5</Brand> <BrandId>6</BrandId> <Category>sample string 7</Category> <Description>sample string 9</Description> <Dimensions> <Dimension> <Height>2</Height> <Length>4</Length> <Type>sample string 1</Type> <Weight>5</Weight> <Width>3</Width> </Dimension> <Dimension> <Height>2</Height> <Length>4</Length> <Type>sample string 1</Type> <Weight>5</Weight> <Width>3</Width> </Dimension> </Dimensions> <FreightType>sample string 11</FreightType> <Id>1</Id> <ImSku>sample string 3</ImSku> <MAP>1</MAP> <MSRP>1</MSRP> <Media> <Media> <Type>sample string 1</Type> <URL>sample string 2</URL> </Media> <Media> <Type>sample string 1</Type> <URL>sample string 2</URL> </Media> </Media> <Name>sample string 4</Name> <Properties xmlns:d2p1="http://schemas.datacontract.org/2004/07/Wtec.Brandsource.Models"> <d2p1:ProductProperty> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:ProductId>1</d2p1:ProductId> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:ProductProperty> <d2p1:ProductProperty> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:ProductId>1</d2p1:ProductId> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:ProductProperty> </Properties> <Sku>sample string 2</Sku> <Status>sample string 8</Status> <StockType>sample string 10</StockType> <Upc>sample string 12</Upc> </EwProduct>