GET api/SDEquipmentMaster/GetEquipmentProfitability/{accountId}/{companyId}/{sdServiceMasterId}/{eqpMasterId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| companyId | string |
Required |
|
| sdServiceMasterId | string |
Required |
|
| eqpMasterId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
EquipmentProfitability| Name | Description | Type | Additional information |
|---|---|---|---|
| WarrantyCost | ProfitabilityData |
None. |
|
| ServiceCosts | ProfitabilityData |
None. |
|
| RevenueAmount | ProfitabilityData |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"WarrantyCost": {
"Labor": 1.0,
"Material": 2.0,
"OtherAmount": 3.0,
"Total": 4.0,
"LaborHours": 5.0
},
"ServiceCosts": {
"Labor": 1.0,
"Material": 2.0,
"OtherAmount": 3.0,
"Total": 4.0,
"LaborHours": 5.0
},
"RevenueAmount": {
"Labor": 1.0,
"Material": 2.0,
"OtherAmount": 3.0,
"Total": 4.0,
"LaborHours": 5.0
},
"AccountId": 1,
"CompanyId": "sample string 2",
"CreatedBy": "sample string 3",
"CreatedOn": "2025-12-16T17:01:20.2826253+00:00"
}
application/xml, text/xml
Sample:
<EquipmentProfitability 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">1</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 2</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 3</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T17:01:20.2826253+00:00</CreatedOn>
<RevenueAmount>
<Labor>1</Labor>
<LaborHours>5</LaborHours>
<Material>2</Material>
<OtherAmount>3</OtherAmount>
<Total>4</Total>
</RevenueAmount>
<ServiceCosts>
<Labor>1</Labor>
<LaborHours>5</LaborHours>
<Material>2</Material>
<OtherAmount>3</OtherAmount>
<Total>4</Total>
</ServiceCosts>
<WarrantyCost>
<Labor>1</Labor>
<LaborHours>5</LaborHours>
<Material>2</Material>
<OtherAmount>3</OtherAmount>
<Total>4</Total>
</WarrantyCost>
</EquipmentProfitability>