POST api/SaiSetupSolutionCode/CalculatePartsPricing

Request Information

URI Parameters

None.

Body Parameters

SolnCodePartsCalcInput
NameDescriptionTypeAdditional information
BillingCodeType

string

None.

PriceCode

string

None.

TaxCode

string

None.

Quantity

decimal number

None.

UnitCost

decimal number

None.

IsWithAgreement

boolean

None.

IsTaxable

boolean

None.

IsDiscountSpecified

boolean

None.

Discount

decimal number

None.

IsRetailPriceSpecified

boolean

None.

RetailPrice

decimal number

None.

IsTaxAmountSpecified

boolean

None.

TaxAmount

decimal number

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BillingCodeType": "sample string 1",
  "PriceCode": "sample string 2",
  "TaxCode": "sample string 3",
  "Quantity": 4.0,
  "UnitCost": 5.0,
  "IsWithAgreement": true,
  "IsTaxable": true,
  "IsDiscountSpecified": true,
  "Discount": 7.0,
  "IsRetailPriceSpecified": true,
  "RetailPrice": 9.0,
  "IsTaxAmountSpecified": true,
  "TaxAmount": 11.0,
  "AccountId": 12,
  "CompanyId": "sample string 13",
  "CreatedBy": "sample string 14",
  "CreatedOn": "2025-12-16T18:16:19.8148742+00:00"
}

application/xml, text/xml

Sample:
<SolnCodePartsCalcInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup.SolnCodeCalc">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">12</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 13</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 14</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T18:16:19.8148742+00:00</CreatedOn>
  <BillingCodeType>sample string 1</BillingCodeType>
  <Discount>7</Discount>
  <IsDiscountSpecified>true</IsDiscountSpecified>
  <IsRetailPriceSpecified>true</IsRetailPriceSpecified>
  <IsTaxAmountSpecified>true</IsTaxAmountSpecified>
  <IsTaxable>true</IsTaxable>
  <IsWithAgreement>true</IsWithAgreement>
  <PriceCode>sample string 2</PriceCode>
  <Quantity>4</Quantity>
  <RetailPrice>9</RetailPrice>
  <TaxAmount>11</TaxAmount>
  <TaxCode>sample string 3</TaxCode>
  <UnitCost>5</UnitCost>
</SolnCodePartsCalcInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />