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.
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 |
Request Formats
application/json, text/json
{ "Id": "sample string 1", "MobileUniqueIdentifier": "sample string 2", "StatementOfWorkObject": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "Approved": true, "Area": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItem": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "AreaDefinition": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItemDefinition": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "ProductOrService": { "Id": "88406bd7-00a9-40be-98a8-19fbd19921cc", "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": "88406bd7-00a9-40be-98a8-19fbd19921cc", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:18:59.661208-05:00", "CapturedDate": "2025-05-23T16:18:59.661208-05:00" }
Response Information
Resource Description
Returns updated statement of work item.
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": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "Approved": true, "Area": { "Id": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItem": { "Id": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "AreaDefinition": { "Id": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "InspectionItemDefinition": { "Id": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "ProductOrService": { "Id": "ef20b56c-d9a6-45bb-97a0-082b58575135", "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": "ef20b56c-d9a6-45bb-97a0-082b58575135", "LogicalName": "sample string 2", "Name": "sample string 3" }, "SystemDate": "2025-05-23T16:18:59.6768272-05:00", "CapturedDate": "2025-05-23T16:18:59.6768272-05:00" }