POST api/SDCalculatePayroll/Calculate
Request Information
URI Parameters
None.
Body Parameters
PayrollFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
None. |
|
| Break1Code | string |
None. |
|
| Break1Type | integer |
None. |
|
| Break2Code | string |
None. |
|
| Break2Type | integer |
None. |
|
| TechNum | string |
None. |
|
| SignalRConnectionId | string |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2025-12-16T20:34:50.6991678+00:00",
"Break1Code": "sample string 2",
"Break1Type": 1,
"Break2Code": "sample string 3",
"Break2Type": 1,
"TechNum": "sample string 4",
"SignalRConnectionId": "sample string 5",
"AccountId": 6,
"CompanyId": "sample string 7",
"CreatedBy": "sample string 8",
"CreatedOn": "2025-12-16T20:34:50.6991678+00:00"
}
application/xml, text/xml
Sample:
<PayrollFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD.CalculatePayroll"> <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">6</AccountId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CompanyId> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:50.6991678+00:00</CreatedOn> <Break1Code>sample string 2</Break1Code> <Break1Type>1</Break1Type> <Break2Code>sample string 3</Break2Code> <Break2Type>1</Break2Type> <SignalRConnectionId>sample string 5</SignalRConnectionId> <StartDate>2025-12-16T20:34:50.6991678+00:00</StartDate> <TechNum>sample string 4</TechNum> </PayrollFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AffectedInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| SMName | string |
None. |
|
| ServiceMasterId | string |
None. |
|
| ServiceType | string |
None. |
|
| ARName | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| SDCallmasterId | string |
None. |
|
| InvoiceDate | date |
None. |
|
| OldAmount | decimal number |
None. |
|
| NewAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SMName": "sample string 1",
"ServiceMasterId": "sample string 2",
"ServiceType": "sample string 3",
"ARName": "sample string 4",
"InvoiceNumber": "sample string 5",
"SDCallmasterId": "sample string 6",
"InvoiceDate": "2025-12-16T20:34:50.7147958+00:00",
"OldAmount": 8.0,
"NewAmount": 9.0
},
{
"SMName": "sample string 1",
"ServiceMasterId": "sample string 2",
"ServiceType": "sample string 3",
"ARName": "sample string 4",
"InvoiceNumber": "sample string 5",
"SDCallmasterId": "sample string 6",
"InvoiceDate": "2025-12-16T20:34:50.7147958+00:00",
"OldAmount": 8.0,
"NewAmount": 9.0
}
]
application/xml, text/xml
Sample:
<ArrayOfAffectedInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD.CalculatePayroll">
<AffectedInvoice>
<ARName>sample string 4</ARName>
<InvoiceDate>2025-12-16T20:34:50.7147958+00:00</InvoiceDate>
<InvoiceNumber>sample string 5</InvoiceNumber>
<NewAmount>9</NewAmount>
<OldAmount>8</OldAmount>
<SDCallmasterId>sample string 6</SDCallmasterId>
<SMName>sample string 1</SMName>
<ServiceMasterId>sample string 2</ServiceMasterId>
<ServiceType>sample string 3</ServiceType>
</AffectedInvoice>
<AffectedInvoice>
<ARName>sample string 4</ARName>
<InvoiceDate>2025-12-16T20:34:50.7147958+00:00</InvoiceDate>
<InvoiceNumber>sample string 5</InvoiceNumber>
<NewAmount>9</NewAmount>
<OldAmount>8</OldAmount>
<SDCallmasterId>sample string 6</SDCallmasterId>
<SMName>sample string 1</SMName>
<ServiceMasterId>sample string 2</ServiceMasterId>
<ServiceType>sample string 3</ServiceType>
</AffectedInvoice>
</ArrayOfAffectedInvoice>