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": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "2334bb50-a15e-4363-97e6-0838ad837775",
"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": "2334bb50-a15e-4363-97e6-0838ad837775",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-12-15T05:06:00.6273377-06:00",
"CapturedDate": "2025-12-15T05:06:00.6273377-06: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": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"Approved": true,
"Area": {
"Id": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItem": {
"Id": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"AreaDefinition": {
"Id": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"InspectionItemDefinition": {
"Id": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"ProductOrService": {
"Id": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"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": "73e87aa4-8d2e-4e7c-8e46-783479dcca65",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-12-15T05:06:00.6273377-06:00",
"CapturedDate": "2025-12-15T05:06:00.6273377-06:00"
}