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": "386fb7c8-2e4c-40be-8f71-078634d161bc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7c3e60fe-903e-4676-a8ee-8df6f96de324",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ca9a708b-5e9e-41e7-8047-bdd4504cafe1",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "045d25ee-b50e-46e3-9654-5a1b75c4ba95",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6e077b75-f6fa-45a8-a241-d028cff011c1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b91f7f8a-edf5-4180-8248-c503ecd485d4",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9958f479-536b-4011-96b5-8fb9cf8c73b6",
"FieldId": "0f1fc77e-a754-46d7-8929-29dbda46f28f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9958f479-536b-4011-96b5-8fb9cf8c73b6",
"FieldId": "0f1fc77e-a754-46d7-8929-29dbda46f28f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4f075e87-b2f8-4f0d-83b7-c09fdc7d37de",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-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": "01f33412-9218-481a-801c-d62c82fb09e4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e59d6e95-2891-465e-9882-77a9eacb947c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c8ab8c9c-484a-4c98-bc1a-dba68085f628",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "15920753-0967-4076-8e27-e0bec905cedb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "29adad9f-c0a4-4185-bd86-9dc05a0f1cf7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84f7ff6a-012a-4d16-a17e-671c18829ffa",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a0e0db05-5f7c-4079-bbee-81afe94b2361",
"FieldId": "0062a20e-e267-4e21-9680-2c897c2f693b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a0e0db05-5f7c-4079-bbee-81afe94b2361",
"FieldId": "0062a20e-e267-4e21-9680-2c897c2f693b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ce1c30f6-2122-4ed5-b052-e8a0a1b9defe",
"CreateDate": "2026-02-02T11:57:25.0201565-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T11:57:25.0201565-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}