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": "1b355970-c69d-40a6-8305-0991100d4bd9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fc9945cf-9ad6-4442-9eb2-63b177a43a85",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "197114a0-b6e5-4b50-815e-a3c593d6e4fd",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "11329ada-9580-469b-90e7-22c3a53f7252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "41c09dc6-e672-4984-95a4-a3688586715a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fb330aa0-af73-4b10-982a-8f94c08f35a2",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f5209722-9aa5-408a-84da-785722694083",
"FieldId": "209d3b28-2cc0-4ad0-9eaf-bb7d1c99316f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f5209722-9aa5-408a-84da-785722694083",
"FieldId": "209d3b28-2cc0-4ad0-9eaf-bb7d1c99316f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "86f0629c-9075-4f29-b3cf-df8504467e01",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-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": "511eb9a7-5b31-4306-8b69-b067b300271e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4d4f6d27-30f7-4667-a61d-de1058233b4e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "92648de2-87f2-4f5c-aaa1-cff32c04ce89",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5ba2f6e2-9b40-4f2f-a812-b12d85a389b3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "650ada40-7d75-4425-897f-09efbd4517d1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dea3ee33-3c06-4728-8440-e9afe1b46178",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2f6bd7ad-1428-4257-80f6-eff57a064ca2",
"FieldId": "fd188c87-d6d9-4042-815a-d102d4197124",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2f6bd7ad-1428-4257-80f6-eff57a064ca2",
"FieldId": "fd188c87-d6d9-4042-815a-d102d4197124",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3556a944-5984-45ef-97d1-2489efe657bb",
"CreateDate": "2026-07-15T13:20:26.4461679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:20:26.4461679-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}