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": "68755d05-cc77-4d9f-a509-ee10175c32a2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9284e0ac-7fb1-443d-846c-73d8ce172443",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bf434968-4380-4bd7-b53e-44b4d21c5449",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1a759d86-8b77-4b33-85b8-88e8a9bea007",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5599abbb-92ef-4573-a44a-fe056a5b19ff",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "12d05a89-bca2-406a-916f-d97ae3944481",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d2d549c6-cc53-4475-895f-8a6ee0d8cdc2",
"FieldId": "6d51916a-1c17-4e6c-8cf4-04e4c1bb7abc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d2d549c6-cc53-4475-895f-8a6ee0d8cdc2",
"FieldId": "6d51916a-1c17-4e6c-8cf4-04e4c1bb7abc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "41294ec2-f34f-4b69-8c15-f0a26a339f6c",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-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": "e3274ff4-6c74-47d0-b2cb-cffdfa9c4367",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "22fcaa40-bb33-4287-8b60-617241d8e698",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9d7a3086-601c-4958-90dd-5e73d436bedf",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5f4096dd-1339-491c-806c-21cd3a9367d3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f0f4836-d57a-4c97-b8c7-097d2985b8d9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "007485d1-9fa2-4d48-86b6-f11aa558285e",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "061ec256-a53d-4e42-b700-eba163c1eb67",
"FieldId": "1978dd47-a864-4067-9ac6-d80a2aae6f1f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "061ec256-a53d-4e42-b700-eba163c1eb67",
"FieldId": "1978dd47-a864-4067-9ac6-d80a2aae6f1f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "73895fb7-4aa4-4fbd-b3ec-9ae8326359ad",
"CreateDate": "2026-06-22T01:39:00.8159728-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:39:00.8159728-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}