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": "37b3dc8a-06e5-475a-b67d-94779b757a56",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "323349eb-f2bc-4d02-a27f-ea63d5a70d02",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "44b1ff6a-ef6d-487b-9eaf-0e622fc124de",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ba0b8eaa-5844-4d4e-91ed-5f3327391d44",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2042fdf7-f90e-4ad7-995f-8d47feb211fc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3384ca55-414c-4c43-93d1-20281cad99cc",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e7a5ab1-2340-4208-9a3e-05683ba363dd",
"FieldId": "948a70f8-46de-4209-a275-8bf0e982abd6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e7a5ab1-2340-4208-9a3e-05683ba363dd",
"FieldId": "948a70f8-46de-4209-a275-8bf0e982abd6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fae57537-3d79-4b01-b574-44223c910027",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-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": "55916b7b-8acb-4783-aa05-d49ecb63cf05",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7963ba4b-f773-4636-bf58-4e66ae84b068",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "91a359c3-6816-4c51-854a-7aa3a841d367",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "05f5659a-ae48-4aba-a42e-4c4edc8baa0d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "26b8ab8f-d4cf-46ea-b2c8-ae63e0be5d97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8b1717e5-2133-4554-9bb6-9e50999fa985",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c3091690-9ecc-4a53-a847-bed1b89dbd8e",
"FieldId": "883dbb70-4586-49a0-b362-35ea8bad1943",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c3091690-9ecc-4a53-a847-bed1b89dbd8e",
"FieldId": "883dbb70-4586-49a0-b362-35ea8bad1943",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d71c912d-3d6a-4271-91e2-549bb8a9a431",
"CreateDate": "2026-08-04T17:25:36.1757286-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:25:36.1757286-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}