POST api/SDInvoiceSolutionCode/AttachSolutionCodeListToInvoice
Request Information
URI Parameters
None.
Body Parameters
Collection of SDInvoiceSolutionCode| Name | Description | Type | Additional information |
|---|---|---|---|
| SolutionCodeSeqNum | integer |
None. |
|
| InvoiceNum | string |
None. |
|
| SolutionCode | string |
None. |
|
| SolutionCodeDescription | string |
None. |
|
| SolutionCodeQuantity | integer |
None. |
|
| ServiceType | string |
None. |
|
| WorkHours | decimal number |
None. |
|
| BillHours | decimal number |
None. |
|
| YRPAmount | decimal number |
None. |
|
| IsFlatRate | boolean |
None. |
|
| PricingBuckets | Collection of PricingBucket |
None. |
|
| SolutionCodeDetails | SolutionCodeDetails |
None. |
|
| IsSalesAmountZero | boolean |
None. |
|
| WorkAuthSolutionCodeSeqNum | integer |
None. |
|
| UpdatedBy | string |
None. |
|
| TechNum | string |
None. |
|
| InvoiceSequenceNum | integer |
None. |
|
| WareHouseNum | string |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SolutionCodeSeqNum": 1,
"InvoiceNum": "sample string 2",
"SolutionCode": "sample string 3",
"SolutionCodeDescription": "sample string 4",
"SolutionCodeQuantity": 5,
"ServiceType": "sample string 6",
"WorkHours": 7.0,
"BillHours": 8.0,
"YRPAmount": 9.0,
"IsFlatRate": true,
"PricingBuckets": [
{
"PricingType": "sample string 1",
"PricingTypeSeqNum": 2
},
{
"PricingType": "sample string 1",
"PricingTypeSeqNum": 2
}
],
"SolutionCodeDetails": {
"WithAgreementOvertimePrimary": 1.0,
"WithAgreementOvertimeSecondary": 2.0,
"WithAgreementRegularPrimary": 3.0,
"WithAgreementRegularSecondary": 4.0,
"WithoutAgreementOvertimePrimary": 5.0,
"WithoutAgreementOvertimeSecondary": 6.0,
"WithoutAgreementRegularPrimary": 7.0,
"WithoutAgreementRegularSecondary": 8.0
},
"IsSalesAmountZero": true,
"WorkAuthSolutionCodeSeqNum": 12,
"UpdatedBy": "sample string 13",
"TechNum": "sample string 14",
"InvoiceSequenceNum": 15,
"WareHouseNum": "sample string 16",
"AccountId": 17,
"CompanyId": "sample string 18",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-16T16:33:05.7819469+00:00"
},
{
"SolutionCodeSeqNum": 1,
"InvoiceNum": "sample string 2",
"SolutionCode": "sample string 3",
"SolutionCodeDescription": "sample string 4",
"SolutionCodeQuantity": 5,
"ServiceType": "sample string 6",
"WorkHours": 7.0,
"BillHours": 8.0,
"YRPAmount": 9.0,
"IsFlatRate": true,
"PricingBuckets": [
{
"PricingType": "sample string 1",
"PricingTypeSeqNum": 2
},
{
"PricingType": "sample string 1",
"PricingTypeSeqNum": 2
}
],
"SolutionCodeDetails": {
"WithAgreementOvertimePrimary": 1.0,
"WithAgreementOvertimeSecondary": 2.0,
"WithAgreementRegularPrimary": 3.0,
"WithAgreementRegularSecondary": 4.0,
"WithoutAgreementOvertimePrimary": 5.0,
"WithoutAgreementOvertimeSecondary": 6.0,
"WithoutAgreementRegularPrimary": 7.0,
"WithoutAgreementRegularSecondary": 8.0
},
"IsSalesAmountZero": true,
"WorkAuthSolutionCodeSeqNum": 12,
"UpdatedBy": "sample string 13",
"TechNum": "sample string 14",
"InvoiceSequenceNum": 15,
"WareHouseNum": "sample string 16",
"AccountId": 17,
"CompanyId": "sample string 18",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-16T16:33:05.7819469+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfSDInvoiceSolutionCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
<SDInvoiceSolutionCode>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">17</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 18</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 19</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:33:05.7819469+00:00</CreatedOn>
<BillHours>8</BillHours>
<InvoiceNum>sample string 2</InvoiceNum>
<InvoiceSequenceNum>15</InvoiceSequenceNum>
<IsFlatRate>true</IsFlatRate>
<IsSalesAmountZero>true</IsSalesAmountZero>
<PricingBuckets>
<PricingBucket>
<PricingType>sample string 1</PricingType>
<PricingTypeSeqNum>2</PricingTypeSeqNum>
</PricingBucket>
<PricingBucket>
<PricingType>sample string 1</PricingType>
<PricingTypeSeqNum>2</PricingTypeSeqNum>
</PricingBucket>
</PricingBuckets>
<ServiceType>sample string 6</ServiceType>
<SolutionCode>sample string 3</SolutionCode>
<SolutionCodeDescription>sample string 4</SolutionCodeDescription>
<SolutionCodeDetails>
<WithAgreementOvertimePrimary>1</WithAgreementOvertimePrimary>
<WithAgreementOvertimeSecondary>2</WithAgreementOvertimeSecondary>
<WithAgreementRegularPrimary>3</WithAgreementRegularPrimary>
<WithAgreementRegularSecondary>4</WithAgreementRegularSecondary>
<WithoutAgreementOvertimePrimary>5</WithoutAgreementOvertimePrimary>
<WithoutAgreementOvertimeSecondary>6</WithoutAgreementOvertimeSecondary>
<WithoutAgreementRegularPrimary>7</WithoutAgreementRegularPrimary>
<WithoutAgreementRegularSecondary>8</WithoutAgreementRegularSecondary>
</SolutionCodeDetails>
<SolutionCodeQuantity>5</SolutionCodeQuantity>
<SolutionCodeSeqNum>1</SolutionCodeSeqNum>
<TechNum>sample string 14</TechNum>
<UpdatedBy>sample string 13</UpdatedBy>
<WareHouseNum>sample string 16</WareHouseNum>
<WorkAuthSolutionCodeSeqNum>12</WorkAuthSolutionCodeSeqNum>
<WorkHours>7</WorkHours>
<YRPAmount>9</YRPAmount>
</SDInvoiceSolutionCode>
<SDInvoiceSolutionCode>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">17</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 18</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 19</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T16:33:05.7819469+00:00</CreatedOn>
<BillHours>8</BillHours>
<InvoiceNum>sample string 2</InvoiceNum>
<InvoiceSequenceNum>15</InvoiceSequenceNum>
<IsFlatRate>true</IsFlatRate>
<IsSalesAmountZero>true</IsSalesAmountZero>
<PricingBuckets>
<PricingBucket>
<PricingType>sample string 1</PricingType>
<PricingTypeSeqNum>2</PricingTypeSeqNum>
</PricingBucket>
<PricingBucket>
<PricingType>sample string 1</PricingType>
<PricingTypeSeqNum>2</PricingTypeSeqNum>
</PricingBucket>
</PricingBuckets>
<ServiceType>sample string 6</ServiceType>
<SolutionCode>sample string 3</SolutionCode>
<SolutionCodeDescription>sample string 4</SolutionCodeDescription>
<SolutionCodeDetails>
<WithAgreementOvertimePrimary>1</WithAgreementOvertimePrimary>
<WithAgreementOvertimeSecondary>2</WithAgreementOvertimeSecondary>
<WithAgreementRegularPrimary>3</WithAgreementRegularPrimary>
<WithAgreementRegularSecondary>4</WithAgreementRegularSecondary>
<WithoutAgreementOvertimePrimary>5</WithoutAgreementOvertimePrimary>
<WithoutAgreementOvertimeSecondary>6</WithoutAgreementOvertimeSecondary>
<WithoutAgreementRegularPrimary>7</WithoutAgreementRegularPrimary>
<WithoutAgreementRegularSecondary>8</WithoutAgreementRegularSecondary>
</SolutionCodeDetails>
<SolutionCodeQuantity>5</SolutionCodeQuantity>
<SolutionCodeSeqNum>1</SolutionCodeSeqNum>
<TechNum>sample string 14</TechNum>
<UpdatedBy>sample string 13</UpdatedBy>
<WareHouseNum>sample string 16</WareHouseNum>
<WorkAuthSolutionCodeSeqNum>12</WorkAuthSolutionCodeSeqNum>
<WorkHours>7</WorkHours>
<YRPAmount>9</YRPAmount>
</SDInvoiceSolutionCode>
</ArrayOfSDInvoiceSolutionCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />