GET api/StatementsOfWork/{id}/StatementOfWorkItems
Returns the list of statement of work items related to the given statement of work.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of statement of work. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the list of statement of work items related to the given statement of work.
Collection of CrmStatementOfWorkItemName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of statement of work item. |
string |
Optional |
MobileUniqueIdentifier |
Unique id of statement of work item from mobile device. |
string |
Optional |
StatementOfWorkObject |
Used to reference the related statement of work in CRM. |
EntityReference |
Optional |
Approved |
If true, the current statement of work item has been approved. |
boolean |
Optional |
Area |
Area this statement of work item relates to. |
EntityReference |
Optional |
InspectionItem |
Inspection item this statement of work item relates to. |
EntityReference |
Optional |
AreaDefinition |
Area definition this statement of work item relates to. |
EntityReference |
Optional |
InspectionItemDefinition |
Inspection item definition this statement of work item relates to. |
EntityReference |
Optional |
ProductOrService |
Product or service this statement of work item relates to. |
EntityReference |
Optional |
Cost |
Cost of the statement of work item. |
decimal number |
Optional |
Quantity |
Quantity of the statement of work item. |
decimal number |
Optional |
TotalCost |
Total cost (Cost * Quantity) of the statement of work item. |
decimal number |
Optional |
UnitType |
Unit type of the statement of work item. |
string |
Optional |
TenantResponsibilityPercentage |
Percentage of tenant's responsibility to repair/replace. Represented in whole number (i.e. 100 is 100%) |
decimal number |
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
[ { "Id": "sample string 1", "MobileUniqueIdentifier": "sample string 2", "StatementOfWorkObject": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "Approved": true, "Area": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItem": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "AreaDefinition": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItemDefinition": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "ProductOrService": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "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": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:44:31.0396447-05:00", "CapturedDate": "2025-05-23T16:44:31.0396447-05:00" }, { "Id": "sample string 1", "MobileUniqueIdentifier": "sample string 2", "StatementOfWorkObject": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "Approved": true, "Area": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItem": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "AreaDefinition": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItemDefinition": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "ProductOrService": { "Id": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "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": "eda770bd-023d-4ee0-9c1f-32e3a11ab3fc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:44:31.0396447-05:00", "CapturedDate": "2025-05-23T16:44:31.0396447-05:00" } ]