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": "064208e5-3cc3-4aec-ad13-76f4f45723f5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "52b12273-62f8-4206-89a1-225aeab65741",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d7e54bb6-ccec-4713-8e6b-b3f280e52e84",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:24:25.487141-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "227cfaf8-57a1-4697-b096-d8463f3a9872",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "793c4b21-a312-4570-b66d-044f409259d2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8cb0300b-c19f-407b-8daf-281608fff508",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:24:25.487141-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c420f26-0bb2-4806-8fc4-d49910e524e8",
"FieldId": "9a252de7-afaf-4fb9-92b1-833293739cca",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c420f26-0bb2-4806-8fc4-d49910e524e8",
"FieldId": "9a252de7-afaf-4fb9-92b1-833293739cca",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "26af3104-9c9c-4608-93cf-e4ea7b83f12d",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:24:25.487141-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": "b8a8fda0-e593-469a-b18b-10b974f3dd62",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0a4fb98a-284d-4c47-914e-62decebeefd8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c86fce04-86b3-4fdb-a7e8-7f732f79b08a",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:24:25.487141-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c1f2e6c7-acbe-4e16-adbf-284b6d14b02f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "894004ec-46d5-4135-970c-85a2c4a00572",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e298af2-7e07-4d7e-9a4f-92058bf26d5a",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:24:25.487141-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2cc4d8c8-2990-4e2e-87b8-6de658e996e1",
"FieldId": "17ce7989-5303-4897-96fe-a8c889a09c7e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2cc4d8c8-2990-4e2e-87b8-6de658e996e1",
"FieldId": "17ce7989-5303-4897-96fe-a8c889a09c7e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "047558e4-c1f6-41a4-880b-846f993020dc",
"CreateDate": "2026-08-11T22:24:25.487141-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:24:25.487141-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}