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": "0fdf7651-430a-4fe8-910c-afe88bd14361",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f0507cc8-1cc5-4fd8-b9b9-89adea585356",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "268e7425-248c-44e3-9db7-01d19186ad76",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "16fa2d48-de14-47ed-a80d-fe083238e1b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5e277ec7-e0f2-43d0-a2e4-f2aa3bebff65",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e04781b1-b929-4863-b41a-4ea8bbd8f747",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "74aa7747-47ba-4146-bb63-0c3f28b35cc2",
"FieldId": "7fa9765e-0ab0-49a2-b8b4-370196bb1e6b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "74aa7747-47ba-4146-bb63-0c3f28b35cc2",
"FieldId": "7fa9765e-0ab0-49a2-b8b4-370196bb1e6b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "dea84570-948d-4bbb-abaf-fcf89f0b5306",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08: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": "c6c47e6d-75cb-4fe0-a2a9-e9489753dc50",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "891de8a7-d4bb-4e57-a156-13fa2431e8fd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "35c60456-448d-464c-a97d-8601076ddfcf",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "2b8b34d7-855a-4c70-9494-cfb85a144285",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e43bfb98-1a9e-407a-8ed6-906a41ab6786",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d4f83c5a-1ee6-4fc0-b78c-4f8e0697962f",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3d77d5e0-1e60-4e8b-a50f-4a9b3a86625a",
"FieldId": "3c822b13-1b47-4553-a22a-a08a87c19939",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3d77d5e0-1e60-4e8b-a50f-4a9b3a86625a",
"FieldId": "3c822b13-1b47-4553-a22a-a08a87c19939",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0daa1823-c363-41d4-a423-8910aedd7a85",
"CreateDate": "2025-11-04T17:13:26.1758454-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:13:26.1758454-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}