PUT api/StatementOfWorkItems/{id}
Updates statement of work item in CRM by id. Note: Requires a valid access token to be provided in the request's auth header.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of statement of work item. |
string |
Required |
Body Parameters
Statement of work item to update.
CrmStatementOfWorkItem| Name | 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 |
Request Formats
application/json, text/json
{
"Id": "sample string 1",
"MobileUniqueIdentifier": "sample string 2",
"StatementOfWorkObject": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"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": "be6fbbaa-047f-4eb0-b8fa-fae824c4e5c2",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:20:54.6553739-05:00",
"CapturedDate": "2025-10-30T10:20:54.6553739-05:00"
}
Response Information
Resource Description
Returns updated statement of work item.
CrmStatementOfWorkItem| Name | 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": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "3db4a124-be1d-4759-948c-c47d860e08b3",
"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": "3db4a124-be1d-4759-948c-c47d860e08b3",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-10-30T10:20:54.6553739-05:00",
"CapturedDate": "2025-10-30T10:20:54.6553739-05:00"
}