PUT api/Products
Request Information
URI Parameters
None.
Body Parameters
ProductPriceUpdateDTOName | Description | Type | Additional information |
---|---|---|---|
MfgCode | string |
None. |
|
PartNumber | string |
None. |
|
ReferenceCode | string |
None. |
|
StockCode | string |
None. |
|
Description | string |
None. |
|
CustomerCost | decimal number |
None. |
|
MinimumPrice | decimal number |
None. |
|
MaximumPrice | decimal number |
None. |
|
Retail | decimal number |
None. |
|
DealerCost | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "MfgCode": "sample string 1", "PartNumber": "sample string 2", "ReferenceCode": "sample string 3", "StockCode": "sample string 4", "Description": "sample string 5", "CustomerCost": 6.0, "MinimumPrice": 7.0, "MaximumPrice": 8.0, "Retail": 9.0, "DealerCost": 10.0 }
text/html, multipart/form-data, application/zip
Sample:
{"MfgCode":"sample string 1","PartNumber":"sample string 2","ReferenceCode":"sample string 3","StockCode":"sample string 4","Description":"sample string 5","CustomerCost":6.0,"MinimumPrice":7.0,"MaximumPrice":8.0,"Retail":9.0,"DealerCost":10.0}
application/xml, text/xml
Sample:
<ProductPriceUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <CustomerCost>6</CustomerCost> <DealerCost>10</DealerCost> <Description>sample string 5</Description> <MaximumPrice>8</MaximumPrice> <MfgCode>sample string 1</MfgCode> <MinimumPrice>7</MinimumPrice> <PartNumber>sample string 2</PartNumber> <ReferenceCode>sample string 3</ReferenceCode> <Retail>9</Retail> <StockCode>sample string 4</StockCode> </ProductPriceUpdateDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.