POST api/SDGenerateContractBillings/GetContractBillingLines
Request Information
URI Parameters
None.
Body Parameters
SDGenerateContractBillingQuery| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| OperatorCode | string |
None. |
|
| Break1Type | integer |
None. |
|
| Break1Code | string |
None. |
|
| Break2Type | integer |
None. |
|
| Break2Code | string |
None. |
|
| ServiceType | string |
None. |
|
| ThroughDate | date |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| BatchNum | string |
None. |
|
| DefaultAllInvoicesToDate | date |
None. |
|
| BillingType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"OperatorCode": "sample string 3",
"Break1Type": 1,
"Break1Code": "sample string 4",
"Break2Type": 1,
"Break2Code": "sample string 5",
"ServiceType": "sample string 6",
"ThroughDate": "2025-12-16T16:38:01.6532207+00:00",
"FromDate": "2025-12-16T16:38:01.6532207+00:00",
"ToDate": "2025-12-16T16:38:01.6532207+00:00",
"BatchNum": "sample string 7",
"DefaultAllInvoicesToDate": "2025-12-16T16:38:01.6532207+00:00",
"BillingType": "sample string 8"
}
application/xml, text/xml
Sample:
<SDGenerateContractBillingQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD"> <AccountId>1</AccountId> <BatchNum>sample string 7</BatchNum> <BillingType>sample string 8</BillingType> <Break1Code>sample string 4</Break1Code> <Break1Type>1</Break1Type> <Break2Code>sample string 5</Break2Code> <Break2Type>1</Break2Type> <CompanyId>sample string 2</CompanyId> <DefaultAllInvoicesToDate>2025-12-16T16:38:01.6532207+00:00</DefaultAllInvoicesToDate> <FromDate>2025-12-16T16:38:01.6532207+00:00</FromDate> <OperatorCode>sample string 3</OperatorCode> <ServiceType>sample string 6</ServiceType> <ThroughDate>2025-12-16T16:38:01.6532207+00:00</ThroughDate> <ToDate>2025-12-16T16:38:01.6532207+00:00</ToDate> </SDGenerateContractBillingQuery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SDGenerateContractBillingResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| Break1Type | integer |
None. |
|
| Break1Code | string |
None. |
|
| Break2Type | integer |
None. |
|
| Break2Code | string |
None. |
|
| BatchNum | string |
None. |
|
| ServiceMasterNum | string |
None. |
|
| ServiceMasterName | string |
None. |
|
| ContractNum | string |
None. |
|
| ContractType | string |
None. |
|
| BillDate | date |
None. |
|
| BillAmount | decimal number |
None. |
|
| InvoiceOrJournalNum | string |
None. |
|
| ARCustomerId | string |
None. |
|
| ARBalance | decimal number |
None. |
|
| ContractBillingId | integer |
None. |
|
| ContractMaintenanceScheduleId | integer |
None. |
|
| NormalOrReserve | string |
None. |
|
| JournalCreditEntrySequenceNum | integer |
None. |
|
| JournalDebitEntrySequenceNum | integer |
None. |
|
| CompanyName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"AccountId": 2,
"CompanyId": "sample string 3",
"Break1Type": 1,
"Break1Code": "sample string 4",
"Break2Type": 1,
"Break2Code": "sample string 5",
"BatchNum": "sample string 6",
"ServiceMasterNum": "sample string 7",
"ServiceMasterName": "sample string 8",
"ContractNum": "sample string 9",
"ContractType": "sample string 10",
"BillDate": "2025-12-16T16:38:01.7017216+00:00",
"BillAmount": 12.0,
"InvoiceOrJournalNum": "sample string 13",
"ARCustomerId": "sample string 14",
"ARBalance": 15.0,
"ContractBillingId": 16,
"ContractMaintenanceScheduleId": 1,
"NormalOrReserve": "sample string 17",
"JournalCreditEntrySequenceNum": 18,
"JournalDebitEntrySequenceNum": 19,
"CompanyName": "sample string 20"
},
{
"Id": 1,
"AccountId": 2,
"CompanyId": "sample string 3",
"Break1Type": 1,
"Break1Code": "sample string 4",
"Break2Type": 1,
"Break2Code": "sample string 5",
"BatchNum": "sample string 6",
"ServiceMasterNum": "sample string 7",
"ServiceMasterName": "sample string 8",
"ContractNum": "sample string 9",
"ContractType": "sample string 10",
"BillDate": "2025-12-16T16:38:01.7017216+00:00",
"BillAmount": 12.0,
"InvoiceOrJournalNum": "sample string 13",
"ARCustomerId": "sample string 14",
"ARBalance": 15.0,
"ContractBillingId": 16,
"ContractMaintenanceScheduleId": 1,
"NormalOrReserve": "sample string 17",
"JournalCreditEntrySequenceNum": 18,
"JournalDebitEntrySequenceNum": 19,
"CompanyName": "sample string 20"
}
]
application/xml, text/xml
Sample:
<ArrayOfSDGenerateContractBillingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
<SDGenerateContractBillingResult>
<ARBalance>15</ARBalance>
<ARCustomerId>sample string 14</ARCustomerId>
<AccountId>2</AccountId>
<BatchNum>sample string 6</BatchNum>
<BillAmount>12</BillAmount>
<BillDate>2025-12-16T16:38:01.7017216+00:00</BillDate>
<Break1Code>sample string 4</Break1Code>
<Break1Type>1</Break1Type>
<Break2Code>sample string 5</Break2Code>
<Break2Type>1</Break2Type>
<CompanyId>sample string 3</CompanyId>
<CompanyName>sample string 20</CompanyName>
<ContractBillingId>16</ContractBillingId>
<ContractMaintenanceScheduleId>1</ContractMaintenanceScheduleId>
<ContractNum>sample string 9</ContractNum>
<ContractType>sample string 10</ContractType>
<Id>1</Id>
<InvoiceOrJournalNum>sample string 13</InvoiceOrJournalNum>
<JournalCreditEntrySequenceNum>18</JournalCreditEntrySequenceNum>
<JournalDebitEntrySequenceNum>19</JournalDebitEntrySequenceNum>
<NormalOrReserve>sample string 17</NormalOrReserve>
<ServiceMasterName>sample string 8</ServiceMasterName>
<ServiceMasterNum>sample string 7</ServiceMasterNum>
</SDGenerateContractBillingResult>
<SDGenerateContractBillingResult>
<ARBalance>15</ARBalance>
<ARCustomerId>sample string 14</ARCustomerId>
<AccountId>2</AccountId>
<BatchNum>sample string 6</BatchNum>
<BillAmount>12</BillAmount>
<BillDate>2025-12-16T16:38:01.7017216+00:00</BillDate>
<Break1Code>sample string 4</Break1Code>
<Break1Type>1</Break1Type>
<Break2Code>sample string 5</Break2Code>
<Break2Type>1</Break2Type>
<CompanyId>sample string 3</CompanyId>
<CompanyName>sample string 20</CompanyName>
<ContractBillingId>16</ContractBillingId>
<ContractMaintenanceScheduleId>1</ContractMaintenanceScheduleId>
<ContractNum>sample string 9</ContractNum>
<ContractType>sample string 10</ContractType>
<Id>1</Id>
<InvoiceOrJournalNum>sample string 13</InvoiceOrJournalNum>
<JournalCreditEntrySequenceNum>18</JournalCreditEntrySequenceNum>
<JournalDebitEntrySequenceNum>19</JournalDebitEntrySequenceNum>
<NormalOrReserve>sample string 17</NormalOrReserve>
<ServiceMasterName>sample string 8</ServiceMasterName>
<ServiceMasterNum>sample string 7</ServiceMasterNum>
</SDGenerateContractBillingResult>
</ArrayOfSDGenerateContractBillingResult>