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": "822f4799-81ad-425b-9e37-dfce2fd74a3d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e227812c-1974-4a2d-a1ac-abf7a51a6244",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "26f5d888-0e47-4b2f-ba3e-e69a821536fb",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c405047d-3d59-4438-ba82-124927c6e971",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "75e969d7-fbd9-44fd-ab59-318d1f96858c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "00f3b346-c705-4fcd-a17f-f5d7f38123d3",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9b2a8a12-c8bb-411a-bff1-a64d938f1dd1",
"FieldId": "25f5e050-a588-4b12-a23e-d22c065b337a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9b2a8a12-c8bb-411a-bff1-a64d938f1dd1",
"FieldId": "25f5e050-a588-4b12-a23e-d22c065b337a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b334ab94-169b-4ac8-b076-ed9c4f3a449f",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-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": "9119908b-687b-4713-b918-aa1086571740",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1ef9c4ba-a7c6-4d2e-accc-d5fa08963d51",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f46115ee-e23e-484e-ad45-8b6c2d9689ec",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c712f1d4-15ce-416b-97c0-27fe55327023",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "18672360-16ee-44ce-9bbc-b511a8b21925",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6059eaf-474d-4ef0-8f85-9a7ea18778ce",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6b4b1c29-78c1-45e3-afd5-5a43605becb1",
"FieldId": "67a5d3f6-870c-4390-998d-b68a03af2252",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6b4b1c29-78c1-45e3-afd5-5a43605becb1",
"FieldId": "67a5d3f6-870c-4390-998d-b68a03af2252",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e1307bb0-61b7-4469-8557-4425aae7d0e2",
"CreateDate": "2026-04-18T04:55:53.5433417-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:55:53.5433417-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}