GET api/Homes/{id}/StatementsOfWork
Returns the list of statements of work related to the given home.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of home. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the list of statements of work related to the given home.
Collection of CrmStatementOfWork| Name | Description | Type | Additional information |
|---|---|---|---|
| StatementOfWorkItems |
List of related statement of work items. |
Collection of CrmStatementOfWorkItem |
Optional |
| Id |
Id of statement of work. |
string |
Optional |
| ApprovalStatus |
Approval status of statement of work. |
string |
Optional |
| ApprovalDate |
Date the statement of work was approved. |
date |
Optional |
| ProjectObject |
Used to reference the related project in CRM. |
EntityReference |
Optional |
| ProposedEstimatedCost |
Proposed estimated cost of the statement of work. |
decimal number |
Optional |
| ApprovedEstimatedCost |
Approved estimated cost of the statement of work. |
decimal number |
Optional |
| CostVariance |
Cost variance between the proposed and approved estimated costs. |
decimal number |
Optional |
| ApprovedEstimatedCostPostMarkup |
The sum of statement of work items that have been approved with our current markup rate. |
decimal number |
Optional |
| Type |
Type of statement of work. |
string |
Optional |
| Media |
List of media items associated with the statement of work. |
Collection of CrmMedia |
Optional |
| SqftVariance |
The Sqft Variance between Home sqft and sum of sqft for SWITs under the Flooring category |
string |
Optional |
| Reference |
Used to reference the entity in CRM. |
EntityReference |
Optional |
| SystemDate |
Current system date of the client that created this object. |
date |
Optional |
| CapturedDate |
Date and time the client created this object. |
date |
Optional |
Response Formats
application/json, text/json
[
{
"StatementOfWorkItems": [
{
"Id": "sample string 1",
"MobileUniqueIdentifier": "sample string 2",
"StatementOfWorkObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Cost": 1.0,
"Quantity": 1.0,
"TotalCost": 1.0,
"UnitType": "sample string 3",
"TenantResponsibilityPercentage": 1.0,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
},
{
"Id": "sample string 1",
"MobileUniqueIdentifier": "sample string 2",
"StatementOfWorkObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Cost": 1.0,
"Quantity": 1.0,
"TotalCost": 1.0,
"UnitType": "sample string 3",
"TenantResponsibilityPercentage": 1.0,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
}
],
"Id": "sample string 1",
"ApprovalStatus": "sample string 2",
"ApprovalDate": "2025-10-30T10:33:28.694401-05:00",
"ProjectObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProposedEstimatedCost": 1.0,
"ApprovedEstimatedCost": 1.0,
"CostVariance": 1.0,
"ApprovedEstimatedCostPostMarkup": 1.0,
"Type": "sample string 3",
"Media": [
{
"MediaId": 1,
"Tags": [
"sample string 1",
"sample string 2"
],
"Data": "sample string 2",
"Name": "sample string 3",
"Caption": "sample string 4",
"MediaKey": "sample string 5",
"Ordinal": 6,
"MimeType": "sample string 7",
"Url": "sample string 8",
"Latitude": 1.1,
"Longitude": 1.1,
"IsAnnotation": true,
"IsThumbnail": true,
"Height": 1,
"Width": 1,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
},
{
"MediaId": 1,
"Tags": [
"sample string 1",
"sample string 2"
],
"Data": "sample string 2",
"Name": "sample string 3",
"Caption": "sample string 4",
"MediaKey": "sample string 5",
"Ordinal": 6,
"MimeType": "sample string 7",
"Url": "sample string 8",
"Latitude": 1.1,
"Longitude": 1.1,
"IsAnnotation": true,
"IsThumbnail": true,
"Height": 1,
"Width": 1,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
}
],
"SqftVariance": "sample string 4",
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
},
{
"StatementOfWorkItems": [
{
"Id": "sample string 1",
"MobileUniqueIdentifier": "sample string 2",
"StatementOfWorkObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Cost": 1.0,
"Quantity": 1.0,
"TotalCost": 1.0,
"UnitType": "sample string 3",
"TenantResponsibilityPercentage": 1.0,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
},
{
"Id": "sample string 1",
"MobileUniqueIdentifier": "sample string 2",
"StatementOfWorkObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Cost": 1.0,
"Quantity": 1.0,
"TotalCost": 1.0,
"UnitType": "sample string 3",
"TenantResponsibilityPercentage": 1.0,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
}
],
"Id": "sample string 1",
"ApprovalStatus": "sample string 2",
"ApprovalDate": "2025-10-30T10:33:28.694401-05:00",
"ProjectObject": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProposedEstimatedCost": 1.0,
"ApprovedEstimatedCost": 1.0,
"CostVariance": 1.0,
"ApprovedEstimatedCostPostMarkup": 1.0,
"Type": "sample string 3",
"Media": [
{
"MediaId": 1,
"Tags": [
"sample string 1",
"sample string 2"
],
"Data": "sample string 2",
"Name": "sample string 3",
"Caption": "sample string 4",
"MediaKey": "sample string 5",
"Ordinal": 6,
"MimeType": "sample string 7",
"Url": "sample string 8",
"Latitude": 1.1,
"Longitude": 1.1,
"IsAnnotation": true,
"IsThumbnail": true,
"Height": 1,
"Width": 1,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
},
{
"MediaId": 1,
"Tags": [
"sample string 1",
"sample string 2"
],
"Data": "sample string 2",
"Name": "sample string 3",
"Caption": "sample string 4",
"MediaKey": "sample string 5",
"Ordinal": 6,
"MimeType": "sample string 7",
"Url": "sample string 8",
"Latitude": 1.1,
"Longitude": 1.1,
"IsAnnotation": true,
"IsThumbnail": true,
"Height": 1,
"Width": 1,
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
}
],
"SqftVariance": "sample string 4",
"Reference": {
"Id": "c27999bd-6313-4a07-8623-ba4afd0aa46e",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:33:28.694401-05:00",
"CapturedDate": "2025-10-30T10:33:28.694401-05:00"
}
]