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": "e098b2ea-4b61-405e-94ec-a61e3ea137d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fd399c1d-feea-4267-a9f5-c6c9a886e64e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0c04bae2-2759-44b4-80bd-2632975ed00f",
"CreateDate": "2026-09-13T23:30:41.0677345-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:30:41.0677345-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "044145ca-2c17-4d92-99e0-91199ecb2ad2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "718ce3a5-c76a-4ccf-a403-9d0443c2a516",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0b5f89ed-2ded-4a1d-b464-e5746b49ac4d",
"CreateDate": "2026-09-13T23:30:41.0677345-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:30:41.0677345-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ac760a6a-7a18-4fda-a8cc-871a7bce5e36",
"FieldId": "94c6d6a6-bdb9-4155-a58f-bdec3c7a0d9b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ac760a6a-7a18-4fda-a8cc-871a7bce5e36",
"FieldId": "94c6d6a6-bdb9-4155-a58f-bdec3c7a0d9b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "de4de5e1-95b9-42af-a203-3d650beca688",
"CreateDate": "2026-09-13T23:30:41.0677345-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:30:41.0677345-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": "e736df38-56bf-41b3-87d0-6b0f4bc41c60",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "25e0ac65-0587-4a3d-afee-6c3a98d87476",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cbbeb5f8-58bf-43a6-ab93-03950a1d6004",
"CreateDate": "2026-09-13T23:30:41.0834352-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:30:41.0834352-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "2d9db2d4-7b33-45b9-8733-d5378acb5925",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb9963bf-a780-428c-9999-eff50b87166c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d26d1497-c32b-407f-916f-1513f6e8a16f",
"CreateDate": "2026-09-13T23:30:41.0834352-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:30:41.0834352-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c156049b-6baf-4f87-926d-04fd72cdd8bf",
"FieldId": "7a900fcb-784c-43a0-9124-1acfad6d0954",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c156049b-6baf-4f87-926d-04fd72cdd8bf",
"FieldId": "7a900fcb-784c-43a0-9124-1acfad6d0954",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "34262a9c-02d3-42a3-a92f-2eec22524bc6",
"CreateDate": "2026-09-13T23:30:41.0834352-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:30:41.0834352-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}