POST api/SaiSetupSolutionCode/CalculateLaborOrOthersPricing

Request Information

URI Parameters

None.

Body Parameters

SolnCodeLaborOrOthersCalcInput
NameDescriptionTypeAdditional information
BillingCodeType

string

None.

PriceCode

string

None.

LaborType

string

None.

Quantity

decimal number

None.

UnitCost

decimal number

None.

IsWithAgreement

boolean

None.

IsPrimary

boolean

None.

IsDiscountSpecified

boolean

None.

Discount

decimal number

None.

IsRetailPriceSpecified

boolean

None.

RetailPrice

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",
  "LaborType": "sample string 3",
  "Quantity": 4.0,
  "UnitCost": 5.0,
  "IsWithAgreement": true,
  "IsPrimary": true,
  "IsDiscountSpecified": true,
  "Discount": 7.0,
  "IsRetailPriceSpecified": true,
  "RetailPrice": 9.0,
  "AccountId": 10,
  "CompanyId": "sample string 11",
  "CreatedBy": "sample string 12",
  "CreatedOn": "2025-12-16T16:34:30.2246891+00:00"
}

application/xml, text/xml

Sample:
<SolnCodeLaborOrOthersCalcInput 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">10</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 11</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:34:30.2246891+00:00</CreatedOn>
  <BillingCodeType>sample string 1</BillingCodeType>
  <Discount>7</Discount>
  <IsDiscountSpecified>true</IsDiscountSpecified>
  <IsPrimary>true</IsPrimary>
  <IsRetailPriceSpecified>true</IsRetailPriceSpecified>
  <IsWithAgreement>true</IsWithAgreement>
  <LaborType>sample string 3</LaborType>
  <PriceCode>sample string 2</PriceCode>
  <Quantity>4</Quantity>
  <RetailPrice>9</RetailPrice>
  <UnitCost>5</UnitCost>
</SolnCodeLaborOrOthersCalcInput>

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/" />