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": "1fad2de0-6364-41c2-ad19-8b9d2b922ab0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bce2e994-9321-4c9e-aeec-cc7a109d277f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dc95e8b4-4872-4a30-ad24-27a95d7eb16e",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7895a5e2-57b4-4eb6-a565-23f853a49089",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f527ac8a-bc5f-46b1-ac46-805572cece11",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ca98ec80-9d49-4316-9a98-b4f54ec54e7d",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e7749a70-90aa-4d30-9414-98e368e4d86c",
"FieldId": "4a226012-099b-491b-8d34-f48ecbab3707",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e7749a70-90aa-4d30-9414-98e368e4d86c",
"FieldId": "4a226012-099b-491b-8d34-f48ecbab3707",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9a35c99f-ff0b-4182-9b9b-4ee4a8ee199b",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-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": "61f5ba64-f307-47d1-963b-40128796ab5c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ba21d471-2997-4948-9431-d6aa30b47683",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "208c210a-437c-480d-938b-1383a58757ce",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "0fed4970-85b3-49c6-9eec-e4c7afc62f4e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9e607820-beb6-4a83-9e3e-23e44f6cd788",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ce487b59-bfde-49b6-94ef-f222cdfc4a72",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9b8670af-5664-4ea1-9edc-0bbc9896e63a",
"FieldId": "b9278df6-8175-4c0e-9709-03d8a6d76bfd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9b8670af-5664-4ea1-9edc-0bbc9896e63a",
"FieldId": "b9278df6-8175-4c0e-9709-03d8a6d76bfd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "287cf0c7-f855-4d29-9159-3c5dba1d41f1",
"CreateDate": "2026-06-01T20:28:10.7854186-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:28:10.7854186-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}