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": "b65e7357-b2c8-4fbb-9c62-585981918633",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0b2032ab-79aa-4175-a726-822347fe804b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ecdfb49e-f263-4a56-a09e-e81039790a0a",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8a624c73-dd6b-47c3-b47d-3da4f4b7d44c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59b15de0-98b3-4a07-871d-5e5ed04a2843",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ed18a21c-e2cc-4a24-90dd-6abda1a4be20",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "94af436c-1bbc-4cd3-9dde-65ebfb0ebdce",
"FieldId": "ad300783-bea6-4b24-9a39-8559141d17bb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "94af436c-1bbc-4cd3-9dde-65ebfb0ebdce",
"FieldId": "ad300783-bea6-4b24-9a39-8559141d17bb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e1f3046e-f55d-4cd2-905f-5ec55e9d4e94",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-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": "f584b4a3-1604-4197-86b7-47c6f8028c09",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "646921a3-27c6-43f8-8b5c-5abeb84cb98c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "00b92942-e743-499b-bca8-12c53b796b71",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f0817b03-c653-4f91-8708-4f5984da4c58",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d2631e49-4247-4e4c-9fcd-56aab29ea0cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "621a3c63-93fc-433f-9030-7bda37f2a1c6",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "91e06716-f033-433a-a039-2e66f573a095",
"FieldId": "a5b7f9d6-8ab1-4282-b2b9-2576f19df4ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "91e06716-f033-433a-a039-2e66f573a095",
"FieldId": "a5b7f9d6-8ab1-4282-b2b9-2576f19df4ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a68510e5-0ee7-4b19-bd0a-4019a50f08ff",
"CreateDate": "2025-12-17T04:34:22.2329539-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:34:22.2329539-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}