PUT api/SaiSetupPricingDetails/UpdatePart
Request Information
URI Parameters
None.
Body Parameters
SaiSetupPriceSheetParts| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| UniqueId | integer |
None. |
|
| PriceCode | string |
None. |
|
| CostFrom | decimal number |
None. |
|
| CostTo | decimal number |
None. |
|
| Multiplier | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| UseRetailPricing | boolean |
None. |
|
| RetailPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"UniqueId": 1,
"PriceCode": "sample string 3",
"CostFrom": 4.0,
"CostTo": 5.0,
"Multiplier": 6.0,
"Discount": 7.0,
"IsActive": true,
"UseRetailPricing": true,
"RetailPrice": 10.0
}
application/xml, text/xml
Sample:
<SaiSetupPriceSheetParts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup.PriceSheet"> <AccountId>1</AccountId> <CompanyId>sample string 2</CompanyId> <CostFrom>4</CostFrom> <CostTo>5</CostTo> <Discount>7</Discount> <IsActive>true</IsActive> <Multiplier>6</Multiplier> <PriceCode>sample string 3</PriceCode> <RetailPrice>10</RetailPrice> <UniqueId>1</UniqueId> <UseRetailPricing>true</UseRetailPricing> </SaiSetupPriceSheetParts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaiSetupPriceSheetParts| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| UniqueId | integer |
None. |
|
| PriceCode | string |
None. |
|
| CostFrom | decimal number |
None. |
|
| CostTo | decimal number |
None. |
|
| Multiplier | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| UseRetailPricing | boolean |
None. |
|
| RetailPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"UniqueId": 1,
"PriceCode": "sample string 3",
"CostFrom": 4.0,
"CostTo": 5.0,
"Multiplier": 6.0,
"Discount": 7.0,
"IsActive": true,
"UseRetailPricing": true,
"RetailPrice": 10.0
}
application/xml, text/xml
Sample:
<SaiSetupPriceSheetParts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup.PriceSheet"> <AccountId>1</AccountId> <CompanyId>sample string 2</CompanyId> <CostFrom>4</CostFrom> <CostTo>5</CostTo> <Discount>7</Discount> <IsActive>true</IsActive> <Multiplier>6</Multiplier> <PriceCode>sample string 3</PriceCode> <RetailPrice>10</RetailPrice> <UniqueId>1</UniqueId> <UseRetailPricing>true</UseRetailPricing> </SaiSetupPriceSheetParts>