PUT PropertyTypes
Updates the given property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to update
PropertyType| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of ValidValue |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyTypeId": "5f1c25fe-9128-49d9-9081-2e7a72695ea4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5d5869a6-a197-4716-9c57-93e6462d2498",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8f8b248c-f898-41b7-b27f-bf480b6fde53",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "3cbf8048-5035-4c04-a0d0-d45e2427395b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "262791ff-6e28-4ef1-b87c-c3bf37045716",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01b1d451-8ba3-4f4c-b13d-c80dacabfa7a",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0c870572-0fc3-47cd-af84-9170de708e0e",
"FieldId": "27accfee-85f9-4cd8-9b3b-fa65a321ef97",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0c870572-0fc3-47cd-af84-9170de708e0e",
"FieldId": "27accfee-85f9-4cd8-9b3b-fa65a321ef97",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "79951ad2-668e-4537-8748-5a02a7a34d91",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the updated property type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PropertyType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PropertyTypeId": "d095a3a8-de98-4c0f-8bc6-96c018bf66d8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c72c2b6d-d4bd-4c91-81a8-15901881da4a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c6292b11-e87a-4e9f-8c3d-b963ac0934bf",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "56d5692c-f231-4954-83c0-afbd41bce3eb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6001dc3a-de0d-4dec-bf58-fd42ec48ce67",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "53530037-9cb9-4bbe-903d-66e351948a93",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "66d3eaf6-e86e-4d6f-a0c5-dd0df249bfd9",
"FieldId": "cd61d070-e3fc-4587-92c4-c182917d6c74",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "66d3eaf6-e86e-4d6f-a0c5-dd0df249bfd9",
"FieldId": "cd61d070-e3fc-4587-92c4-c182917d6c74",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2c25a6e8-3288-49be-8cbc-5eeea0896b46",
"CreateDate": "2026-05-11T11:00:14.6991293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-11T11:00:14.6991293-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}