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": "267cfbde-989d-4bc1-bb7e-5314c0072044",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f2baa688-fde5-4b41-b73c-c36a0abd61c7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a0c92df9-a368-4148-9e22-724191bffe23",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c6387323-fda9-4b29-93dd-5ee2aefe7e8b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7b022fb9-bcf4-4f62-b25c-99f198ac657b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "21ec9567-e748-405a-bde3-3e6907ea929e",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2293a532-5aff-459a-aa9d-9e6aaf7da64c",
"FieldId": "d7b69fc1-5187-44d5-9be8-e542995dc545",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2293a532-5aff-459a-aa9d-9e6aaf7da64c",
"FieldId": "d7b69fc1-5187-44d5-9be8-e542995dc545",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4796d02c-1e69-43bb-bac6-4e6b83dd107e",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-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": "ff310242-f02c-46ff-ac73-3967da7ee32e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0ca36898-0e4e-4d6e-8ac4-bb796379cc88",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b135b65f-ebfd-4813-b804-b7cba6b6e832",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4f670343-08be-4492-b4d2-1915342aa387",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6a4ec23b-d7bc-497b-b5ad-8b4cc7ce41bf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "52cb5062-0a44-4df3-95cc-e69e5a1533f6",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e25879d3-fe37-4698-8795-080973d4d2fa",
"FieldId": "24cf8438-2dff-4606-94ca-d01aee4f2d40",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e25879d3-fe37-4698-8795-080973d4d2fa",
"FieldId": "24cf8438-2dff-4606-94ca-d01aee4f2d40",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "cde3cec3-a594-4198-a6aa-b5737ce78355",
"CreateDate": "2026-11-01T08:53:59.5358276-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:53:59.5358276-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}