POST api/SaiSDQuoteBucketSolutionCode/AddBucketSolutionCodePricingV2

Request Information

URI Parameters

None.

Body Parameters

SDQuoteBucketSolutionCodePricingItemsV2
NameDescriptionTypeAdditional information
Sequence

integer

None.

BucketId

integer

None.

SolutionCode

string

None.

SolutionCodeQuantity

integer

None.

QuoteNum

string

None.

SolutionCodeDescription

string

None.

SaiSetupSolutionCode

SaiSetupSolutionCode

None.

PricingBuckets

Collection of PricingBucket

None.

UpdatedBy

string

None.

IsAddedFromMobile

boolean

None.

IsBucketSelected

boolean

None.

WithAgreementRegularPrimary

decimal number

None.

WithAgreementRegularSecondary

decimal number

None.

WithAgreementOvertimePrimary

decimal number

None.

WithAgreementOvertimeSecondary

decimal number

None.

WithoutAgreementRegularPrimary

decimal number

None.

WithoutAgreementRegularSecondary

decimal number

None.

WithoutAgreementOvertimePrimary

decimal number

None.

WithoutAgreementOvertimeSecondary

decimal number

None.

IsAddOn

boolean

None.

ServiceType

string

None.

bucketIds

Collection of integer

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Sequence": 1,
  "BucketId": 2,
  "SolutionCode": "sample string 3",
  "SolutionCodeQuantity": 4,
  "QuoteNum": "sample string 5",
  "SolutionCodeDescription": "sample string 6",
  "SaiSetupSolutionCode": {
    "SCDescription": "sample string 1",
    "IsFlatRate": true,
    "IsImported": true,
    "IsActive": true,
    "MakeAvailableToRemoteTech": true,
    "TechCommissionType": "sample string 6",
    "TechCommissionAmount": 7.0,
    "WithAgreementRegularPrimary": 8.0,
    "WithAgreementRegularSecondary": 9.0,
    "WithAgreementOvertimePrimary": 10.0,
    "WithAgreementOvertimeSecondary": 11.0,
    "WithoutAgreementRegularPrimary": 12.0,
    "WithoutAgreementRegularSecondary": 13.0,
    "WithoutAgreementOvertimePrimary": 14.0,
    "WithoutAgreementOvertimeSecondary": 15.0,
    "UseTax": true,
    "Upsale": true,
    "TaxCode": "sample string 18",
    "MaterialPriceSheet": "sample string 19",
    "MaterialPriceSheetDesc": "sample string 20",
    "LaborPriceSheet": "sample string 21",
    "LaborPriceSheetDesc": "sample string 22",
    "OtherPriceSheet": "sample string 23",
    "OtherPriceSheetDesc": "sample string 24",
    "SCCodeWithDescription": "sample string 25",
    "IsContractAvailable": true,
    "SaiSetupSolutionCodeDetails": [
      {
        "SolutionCode": "sample string 1",
        "WithAgreement": "sample string 2",
        "RegularOrOvertime": "sample string 3",
        "PrimaryOrSecondary": "sample string 4",
        "ItemCategory": "sample string 5",
        "CategoryId": "sample string 6",
        "CategoryDescription": "sample string 7",
        "ItemTaxable": true,
        "IsInventory": true,
        "Quantity": 10.0,
        "UnitCost": 11.0,
        "SalesPrice": 12.0,
        "RetailPrice": 25.0,
        "DiscountAmount": 13.0,
        "TaxAmount": 14.0,
        "Operation": 1,
        "MaterialPriceSheet": "sample string 15",
        "LaborPriceSheet": "sample string 16",
        "OtherPriceSheet": "sample string 17",
        "SequenceNumber": 18,
        "UnitSalesPrice": 19.0,
        "AccountId": 20,
        "CompanyId": "sample string 21",
        "CreatedOn": "2025-12-16T14:39:57.9884865+00:00",
        "CreatedBy": "sample string 23",
        "UpdatedOn": "2025-12-16T14:39:57.9884865+00:00",
        "UpdatedBy": "sample string 24",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 26",
        "Id": "sample string 27",
        "FieldPermissions": []
      },
      {
        "SolutionCode": "sample string 1",
        "WithAgreement": "sample string 2",
        "RegularOrOvertime": "sample string 3",
        "PrimaryOrSecondary": "sample string 4",
        "ItemCategory": "sample string 5",
        "CategoryId": "sample string 6",
        "CategoryDescription": "sample string 7",
        "ItemTaxable": true,
        "IsInventory": true,
        "Quantity": 10.0,
        "UnitCost": 11.0,
        "SalesPrice": 12.0,
        "RetailPrice": 25.0,
        "DiscountAmount": 13.0,
        "TaxAmount": 14.0,
        "Operation": 1,
        "MaterialPriceSheet": "sample string 15",
        "LaborPriceSheet": "sample string 16",
        "OtherPriceSheet": "sample string 17",
        "SequenceNumber": 18,
        "UnitSalesPrice": 19.0,
        "AccountId": 20,
        "CompanyId": "sample string 21",
        "CreatedOn": "2025-12-16T14:39:57.9884865+00:00",
        "CreatedBy": "sample string 23",
        "UpdatedOn": "2025-12-16T14:39:57.9884865+00:00",
        "UpdatedBy": "sample string 24",
        "IsLockedForEditing": true,
        "LockedBy": "sample string 26",
        "Id": "sample string 27",
        "FieldPermissions": []
      }
    ],
    "HrsToBill": 27.0,
    "HrsWorked": 28.0,
    "AccountId": 29,
    "CompanyId": "sample string 30",
    "CreatedOn": "2025-12-16T14:39:57.9884865+00:00",
    "CreatedBy": "sample string 32",
    "UpdatedOn": "2025-12-16T14:39:57.9884865+00:00",
    "UpdatedBy": "sample string 33",
    "IsLockedForEditing": true,
    "LockedBy": "sample string 35",
    "Id": "sample string 36",
    "FieldPermissions": []
  },
  "PricingBuckets": [
    {
      "PricingType": "sample string 1",
      "PricingTypeSeqNum": 2
    },
    {
      "PricingType": "sample string 1",
      "PricingTypeSeqNum": 2
    }
  ],
  "UpdatedBy": "sample string 7",
  "IsAddedFromMobile": true,
  "IsBucketSelected": true,
  "WithAgreementRegularPrimary": 1.0,
  "WithAgreementRegularSecondary": 1.0,
  "WithAgreementOvertimePrimary": 1.0,
  "WithAgreementOvertimeSecondary": 1.0,
  "WithoutAgreementRegularPrimary": 1.0,
  "WithoutAgreementRegularSecondary": 1.0,
  "WithoutAgreementOvertimePrimary": 1.0,
  "WithoutAgreementOvertimeSecondary": 1.0,
  "IsAddOn": true,
  "ServiceType": "sample string 10",
  "bucketIds": [
    1,
    2
  ],
  "AccountId": 11,
  "CompanyId": "sample string 12",
  "CreatedBy": "sample string 13",
  "CreatedOn": "2025-12-16T14:39:57.9884865+00:00"
}

application/xml, text/xml

Sample:
<SDQuoteBucketSolutionCodePricingItemsV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">11</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 13</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:39:57.9884865+00:00</CreatedOn>
  <BucketId>2</BucketId>
  <IsAddOn>true</IsAddOn>
  <IsAddedFromMobile>true</IsAddedFromMobile>
  <IsBucketSelected>true</IsBucketSelected>
  <PricingBuckets>
    <PricingBucket>
      <PricingType>sample string 1</PricingType>
      <PricingTypeSeqNum>2</PricingTypeSeqNum>
    </PricingBucket>
    <PricingBucket>
      <PricingType>sample string 1</PricingType>
      <PricingTypeSeqNum>2</PricingTypeSeqNum>
    </PricingBucket>
  </PricingBuckets>
  <QuoteNum>sample string 5</QuoteNum>
  <SaiSetupSolutionCode xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
    <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 36</Id>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 32</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</CreatedOn>
    <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
    <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 35</LockedBy>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 33</UpdatedBy>
    <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</UpdatedOn>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">29</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 30</CompanyId>
    <d2p1:HrsToBill>27</d2p1:HrsToBill>
    <d2p1:HrsWorked>28</d2p1:HrsWorked>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsContractAvailable>true</d2p1:IsContractAvailable>
    <d2p1:IsFlatRate>true</d2p1:IsFlatRate>
    <d2p1:IsImported>true</d2p1:IsImported>
    <d2p1:LaborPriceSheet>sample string 21</d2p1:LaborPriceSheet>
    <d2p1:LaborPriceSheetDesc>sample string 22</d2p1:LaborPriceSheetDesc>
    <d2p1:MakeAvailableToRemoteTech>true</d2p1:MakeAvailableToRemoteTech>
    <d2p1:MaterialPriceSheet>sample string 19</d2p1:MaterialPriceSheet>
    <d2p1:MaterialPriceSheetDesc>sample string 20</d2p1:MaterialPriceSheetDesc>
    <d2p1:OtherPriceSheet>sample string 23</d2p1:OtherPriceSheet>
    <d2p1:OtherPriceSheetDesc>sample string 24</d2p1:OtherPriceSheetDesc>
    <d2p1:SCCodeWithDescription>sample string 25</d2p1:SCCodeWithDescription>
    <d2p1:SCDescription>sample string 1</d2p1:SCDescription>
    <d2p1:SaiSetupSolutionCodeDetails>
      <d2p1:SaiSetupSolutionCodeDetail>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 27</Id>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 23</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 26</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 24</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</UpdatedOn>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">20</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 21</CompanyId>
        <d2p1:CategoryDescription>sample string 7</d2p1:CategoryDescription>
        <d2p1:CategoryId>sample string 6</d2p1:CategoryId>
        <d2p1:DiscountAmount>13</d2p1:DiscountAmount>
        <d2p1:IsInventory>true</d2p1:IsInventory>
        <d2p1:ItemCategory>sample string 5</d2p1:ItemCategory>
        <d2p1:ItemTaxable>true</d2p1:ItemTaxable>
        <d2p1:LaborPriceSheet>sample string 16</d2p1:LaborPriceSheet>
        <d2p1:MaterialPriceSheet>sample string 15</d2p1:MaterialPriceSheet>
        <d2p1:Operation>1</d2p1:Operation>
        <d2p1:OtherPriceSheet>sample string 17</d2p1:OtherPriceSheet>
        <d2p1:PrimaryOrSecondary>sample string 4</d2p1:PrimaryOrSecondary>
        <d2p1:Quantity>10</d2p1:Quantity>
        <d2p1:RegularOrOvertime>sample string 3</d2p1:RegularOrOvertime>
        <d2p1:SalesPrice>12</d2p1:SalesPrice>
        <d2p1:SequenceNumber>18</d2p1:SequenceNumber>
        <d2p1:SolutionCode>sample string 1</d2p1:SolutionCode>
        <d2p1:TaxAmount>14</d2p1:TaxAmount>
        <d2p1:UnitCost>11</d2p1:UnitCost>
        <d2p1:UnitSalesPrice>19</d2p1:UnitSalesPrice>
        <d2p1:WithAgreement>sample string 2</d2p1:WithAgreement>
      </d2p1:SaiSetupSolutionCodeDetail>
      <d2p1:SaiSetupSolutionCodeDetail>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 27</Id>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 23</CreatedBy>
        <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</CreatedOn>
        <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
        <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 26</LockedBy>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 24</UpdatedBy>
        <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T14:39:57.9884865+00:00</UpdatedOn>
        <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">20</AccountId>
        <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 21</CompanyId>
        <d2p1:CategoryDescription>sample string 7</d2p1:CategoryDescription>
        <d2p1:CategoryId>sample string 6</d2p1:CategoryId>
        <d2p1:DiscountAmount>13</d2p1:DiscountAmount>
        <d2p1:IsInventory>true</d2p1:IsInventory>
        <d2p1:ItemCategory>sample string 5</d2p1:ItemCategory>
        <d2p1:ItemTaxable>true</d2p1:ItemTaxable>
        <d2p1:LaborPriceSheet>sample string 16</d2p1:LaborPriceSheet>
        <d2p1:MaterialPriceSheet>sample string 15</d2p1:MaterialPriceSheet>
        <d2p1:Operation>1</d2p1:Operation>
        <d2p1:OtherPriceSheet>sample string 17</d2p1:OtherPriceSheet>
        <d2p1:PrimaryOrSecondary>sample string 4</d2p1:PrimaryOrSecondary>
        <d2p1:Quantity>10</d2p1:Quantity>
        <d2p1:RegularOrOvertime>sample string 3</d2p1:RegularOrOvertime>
        <d2p1:SalesPrice>12</d2p1:SalesPrice>
        <d2p1:SequenceNumber>18</d2p1:SequenceNumber>
        <d2p1:SolutionCode>sample string 1</d2p1:SolutionCode>
        <d2p1:TaxAmount>14</d2p1:TaxAmount>
        <d2p1:UnitCost>11</d2p1:UnitCost>
        <d2p1:UnitSalesPrice>19</d2p1:UnitSalesPrice>
        <d2p1:WithAgreement>sample string 2</d2p1:WithAgreement>
      </d2p1:SaiSetupSolutionCodeDetail>
    </d2p1:SaiSetupSolutionCodeDetails>
    <d2p1:TaxCode>sample string 18</d2p1:TaxCode>
    <d2p1:TechCommissionAmount>7</d2p1:TechCommissionAmount>
    <d2p1:TechCommissionType>sample string 6</d2p1:TechCommissionType>
    <d2p1:Upsale>true</d2p1:Upsale>
    <d2p1:UseTax>true</d2p1:UseTax>
    <d2p1:WithAgreementOvertimePrimary>10</d2p1:WithAgreementOvertimePrimary>
    <d2p1:WithAgreementOvertimeSecondary>11</d2p1:WithAgreementOvertimeSecondary>
    <d2p1:WithAgreementRegularPrimary>8</d2p1:WithAgreementRegularPrimary>
    <d2p1:WithAgreementRegularSecondary>9</d2p1:WithAgreementRegularSecondary>
    <d2p1:WithoutAgreementOvertimePrimary>14</d2p1:WithoutAgreementOvertimePrimary>
    <d2p1:WithoutAgreementOvertimeSecondary>15</d2p1:WithoutAgreementOvertimeSecondary>
    <d2p1:WithoutAgreementRegularPrimary>12</d2p1:WithoutAgreementRegularPrimary>
    <d2p1:WithoutAgreementRegularSecondary>13</d2p1:WithoutAgreementRegularSecondary>
  </SaiSetupSolutionCode>
  <Sequence>1</Sequence>
  <ServiceType>sample string 10</ServiceType>
  <SolutionCode>sample string 3</SolutionCode>
  <SolutionCodeDescription>sample string 6</SolutionCodeDescription>
  <SolutionCodeQuantity>4</SolutionCodeQuantity>
  <UpdatedBy>sample string 7</UpdatedBy>
  <WithAgreementOvertimePrimary>1</WithAgreementOvertimePrimary>
  <WithAgreementOvertimeSecondary>1</WithAgreementOvertimeSecondary>
  <WithAgreementRegularPrimary>1</WithAgreementRegularPrimary>
  <WithAgreementRegularSecondary>1</WithAgreementRegularSecondary>
  <WithoutAgreementOvertimePrimary>1</WithoutAgreementOvertimePrimary>
  <WithoutAgreementOvertimeSecondary>1</WithoutAgreementOvertimeSecondary>
  <WithoutAgreementRegularPrimary>1</WithoutAgreementRegularPrimary>
  <WithoutAgreementRegularSecondary>1</WithoutAgreementRegularSecondary>
  <bucketIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </bucketIds>
</SDQuoteBucketSolutionCodePricingItemsV2>

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