GET api/Products/StockCode/{stockCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stockCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductSearchCtorDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MfgId | integer |
None. |
|
MfgCode | string |
None. |
|
PartNumber | string |
None. |
|
ReferenceCode | string |
None. |
|
StockCode | string |
None. |
|
Summary | string |
None. |
|
Description | string |
None. |
|
Retail | decimal number |
None. |
|
DealerCost | decimal number |
None. |
|
CustomerCost | decimal number |
None. |
|
MinimumPrice | decimal number |
None. |
|
MaximumPrice | decimal number |
None. |
|
Discount1 | decimal number |
None. |
|
Discount2 | decimal number |
None. |
|
ThumbnailURL | string |
None. |
|
ImageBlobName | string |
None. |
|
InternalMfgNumber | string |
None. |
|
DealerId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "MfgId": 2, "MfgCode": "sample string 3", "PartNumber": "sample string 4", "ReferenceCode": "sample string 5", "StockCode": "sample string 6", "Summary": "sample string 7", "Description": "sample string 8", "Retail": 1.0, "DealerCost": 1.0, "CustomerCost": 1.0, "MinimumPrice": 1.0, "MaximumPrice": 1.0, "Discount1": 1.0, "Discount2": 1.0, "ThumbnailURL": "sample string 9", "ImageBlobName": "sample string 10", "InternalMfgNumber": "sample string 11", "DealerId": 12 }
text/html, multipart/form-data, application/zip
Sample:
{"Id":1,"MfgId":2,"MfgCode":"sample string 3","PartNumber":"sample string 4","ReferenceCode":"sample string 5","StockCode":"sample string 6","Summary":"sample string 7","Description":"sample string 8","Retail":1.0,"DealerCost":1.0,"CustomerCost":1.0,"MinimumPrice":1.0,"MaximumPrice":1.0,"Discount1":1.0,"Discount2":1.0,"ThumbnailURL":"sample string 9","ImageBlobName":"sample string 10","InternalMfgNumber":"sample string 11","DealerId":12}
application/xml, text/xml
Sample:
<ProductSearchCtorDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <CustomerCost>1</CustomerCost> <DealerCost>1</DealerCost> <DealerId>12</DealerId> <Description>sample string 8</Description> <Discount1>1</Discount1> <Discount2>1</Discount2> <Id>1</Id> <ImageBlobName>sample string 10</ImageBlobName> <InternalMfgNumber>sample string 11</InternalMfgNumber> <MaximumPrice>1</MaximumPrice> <MfgCode>sample string 3</MfgCode> <MfgId>2</MfgId> <MinimumPrice>1</MinimumPrice> <PartNumber>sample string 4</PartNumber> <ReferenceCode>sample string 5</ReferenceCode> <Retail>1</Retail> <StockCode>sample string 6</StockCode> <Summary>sample string 7</Summary> <ThumbnailURL>sample string 9</ThumbnailURL> </ProductSearchCtorDTO>