PUT api/InspectionItems/{id}/Measurements/{measurementId}
Updates the specified measurement for the given inspection item. 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 inspection item. |
string |
Required |
| measurementId |
Id of measurement to update. |
string |
Required |
Body Parameters
Measurement to update.
CrmMeasurement| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Type of measurement. Must match a value in the picklist configured in CRM. |
string |
Required |
| Name |
Name of measurement. |
string |
Optional |
| Amount |
Amount of measurement. |
decimal number |
Optional |
| Height |
Height of measurement. |
decimal number |
Optional |
| Length |
Length of measurement. |
decimal number |
Optional |
| Width |
Width of measurement. |
decimal number |
Optional |
| InspectionItemObject |
Used to reference the related inspection item in CRM. |
EntityReference |
Optional |
| IsRequired |
Determines whether the measurement is required for the inspection item. |
boolean |
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
{
"Type": "sample string 1",
"Name": "sample string 2",
"Amount": 1.0,
"Height": 1.0,
"Length": 1.0,
"Width": 1.0,
"InspectionItemObject": {
"Id": "614b66db-da97-4621-acb5-87ab69fe6cd7",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"IsRequired": true,
"Reference": {
"Id": "614b66db-da97-4621-acb5-87ab69fe6cd7",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-11-07T17:18:32.8400309-06:00",
"CapturedDate": "2025-11-07T17:18:32.8400309-06:00"
}
Response Information
Resource Description
Returns updated measurement.
CrmMeasurement| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Type of measurement. Must match a value in the picklist configured in CRM. |
string |
Required |
| Name |
Name of measurement. |
string |
Optional |
| Amount |
Amount of measurement. |
decimal number |
Optional |
| Height |
Height of measurement. |
decimal number |
Optional |
| Length |
Length of measurement. |
decimal number |
Optional |
| Width |
Width of measurement. |
decimal number |
Optional |
| InspectionItemObject |
Used to reference the related inspection item in CRM. |
EntityReference |
Optional |
| IsRequired |
Determines whether the measurement is required for the inspection item. |
boolean |
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
{
"Type": "sample string 1",
"Name": "sample string 2",
"Amount": 1.0,
"Height": 1.0,
"Length": 1.0,
"Width": 1.0,
"InspectionItemObject": {
"Id": "d50b4780-01b0-4e08-a932-dad2672bf0ed",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"IsRequired": true,
"Reference": {
"Id": "d50b4780-01b0-4e08-a932-dad2672bf0ed",
"LogicalName": "sample string 2",
"Name": "sample string 3"
},
"SystemDate": "2025-11-07T17:18:32.8556762-06:00",
"CapturedDate": "2025-11-07T17:18:32.8556762-06:00"
}