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": "f6d5dfbe-44f5-4e9c-8627-3893165c5639",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4e72a24b-a6e9-46c5-b9d0-fd012e3471e8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e481c340-58b1-4f81-9d65-11c401e42e29",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "812aa881-8416-40a4-8c7e-cb9e030c6c1a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f0930081-bd7e-4529-98b5-95b694ac2fca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a8bfd3df-98af-4c9c-8f2d-82e4cd9ee99c",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aedbe872-fa3e-43b1-b876-046c85d08782",
"FieldId": "c9deb7bd-c59b-4468-8b38-620c902594d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aedbe872-fa3e-43b1-b876-046c85d08782",
"FieldId": "c9deb7bd-c59b-4468-8b38-620c902594d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d6a460f4-670e-420b-bc1b-f254a5dd4a95",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-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": "3f68299d-d2fb-4ad7-a35e-5a26ac1cc475",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b2d1febf-18d1-4958-ba42-f6c8bacc688c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c90ba005-9f28-4765-bc32-8bf2e1d061db",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "af113b53-3d24-4160-8e34-fa49c58a1be2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3e7a48a6-2815-4a4f-8cb9-fb53b7cb028f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5023aff5-a092-45cb-b8b3-4577380006bc",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aad49328-d1d1-4391-848e-02e755ea0eb5",
"FieldId": "78c3dc6a-c1d3-41cb-b387-bd2f0d1fafad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aad49328-d1d1-4391-848e-02e755ea0eb5",
"FieldId": "78c3dc6a-c1d3-41cb-b387-bd2f0d1fafad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "aa28583f-39a7-4bd8-9d76-cc6137bd1bff",
"CreateDate": "2025-10-13T15:29:46.1682372-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-13T15:29:46.1682372-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}