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": "f113bc65-9702-41aa-b211-6222e43f15f9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ae5ad63a-7bc4-48b3-91c5-1ea0b2253024",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "63303eb7-2884-4779-9f2e-43fa9c6ce40e",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "497a0c75-be78-45a2-b8f0-072d75c2c460",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bce390e0-c706-4e78-95aa-ddabd108c65d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "619d818d-2e1a-4e34-9262-fccef8390750",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e6e44db2-ffcf-4a98-a201-bb8e1f030fe5",
"FieldId": "40424377-6776-4575-a461-ed0c4ea7e839",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e6e44db2-ffcf-4a98-a201-bb8e1f030fe5",
"FieldId": "40424377-6776-4575-a461-ed0c4ea7e839",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "68d333eb-e6e2-4cb9-a73d-a3e44f0a878d",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-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": "41a1acf0-18a6-483b-8c9f-8de94f1576eb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9c7e505a-05d0-498b-87cc-df4b146646b3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a572fc3d-4d3a-4202-a74e-bbc1038ce34f",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "af98abb9-0f99-4c21-b4f0-20456182fb49",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7671b49a-caba-465b-8436-8b8b00172969",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "eb55c2e7-a0ba-49d3-9d7c-71aa9ac068dd",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "07cd75ec-29fb-4d63-89a7-820ba8a9ca3c",
"FieldId": "52ad9e16-691e-4073-8dbf-2b40f276966a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "07cd75ec-29fb-4d63-89a7-820ba8a9ca3c",
"FieldId": "52ad9e16-691e-4073-8dbf-2b40f276966a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2fd5cf59-d6c6-460a-8afd-7f1aea0c4d9d",
"CreateDate": "2026-10-03T13:53:00.2426633-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T13:53:00.2426633-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}