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": "f059c531-e7ac-41a2-bdc8-162669bc315e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "02bd3661-4be8-433e-bf23-242038e1d1b0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c9ebe8df-abc2-476d-8f1a-ccbe11171ea6",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:53:22.436916-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "2fbcfa6e-a16e-4ce0-b71c-c2b2d77a0e93",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "afc346b0-ccc3-4adc-9bfe-7e1067ae98af",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9a61bca8-9251-4e1d-a015-ff9991654848",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:22.436916-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5a9afff-f8fd-404c-ab07-92cc9b268dc7",
"FieldId": "3944f787-4961-49ea-aaa8-5a9c20bc9b3d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5a9afff-f8fd-404c-ab07-92cc9b268dc7",
"FieldId": "3944f787-4961-49ea-aaa8-5a9c20bc9b3d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a1e186df-ef0f-45de-b9f8-bcb3f7d7e91c",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:53:22.436916-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": "47f05b34-6101-45d9-8d71-0c19f4522b92",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9cb582e8-0b56-4d7d-aed4-2811f7df3c9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ff9d002-360b-4892-9555-3d098bd60043",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:53:22.436916-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "efb4077d-a96e-433f-82cb-3ce38b26c061",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "84c2a519-9d73-435d-a464-49c1515261e7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6a7c3c0e-8bf0-40c8-a42d-2868d7e85cef",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:22.436916-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a82823e9-07a1-40eb-81da-f699424a057e",
"FieldId": "36e7a199-4cba-4860-8da8-b5dc483f676d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a82823e9-07a1-40eb-81da-f699424a057e",
"FieldId": "36e7a199-4cba-4860-8da8-b5dc483f676d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0eb40c15-8f9a-44e1-86d2-b76577b5ebd0",
"CreateDate": "2025-11-17T18:53:22.436916-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:53:22.436916-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}