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": "4a32c0ac-7cc7-4ac8-98ff-b0ac945b62e2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e1025005-5a99-4378-9aff-3d947f099be6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c5f0a47-2986-4976-90c6-a598b30d1b30",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c0bfead8-bd76-4851-8790-5adb75bae365",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dea7f673-1fe7-4abc-9669-554d431b92fe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c833ad6b-d420-49e4-8b97-364832a6c8ff",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da2b6567-93f4-41ca-a9e8-b444863428da",
"FieldId": "fb43e987-6f5b-41bd-9027-b2e6ba704a75",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da2b6567-93f4-41ca-a9e8-b444863428da",
"FieldId": "fb43e987-6f5b-41bd-9027-b2e6ba704a75",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1140f5f2-f59f-4574-954d-73e1374ccad0",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-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": "6762a794-40ad-4785-88cf-81f13560a0b5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a6ef5178-b4ee-4718-b6f7-94a37bbc5c2c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9fc4c539-2f98-488a-b6b3-a10da2000ad1",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9f1d2776-cc44-47ac-a219-742095a13353",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "29d61c69-96f9-449b-9d03-91dec3d42af2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "76c665b2-3a8e-4036-a1b7-54842099f1a5",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2d9267b4-ba57-4309-bf75-abd33e263f39",
"FieldId": "0d1ab3ab-0965-465b-9d4a-60fc1304cd03",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2d9267b4-ba57-4309-bf75-abd33e263f39",
"FieldId": "0d1ab3ab-0965-465b-9d4a-60fc1304cd03",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d18c34a2-7723-4f9b-9a4b-cd30afff3eff",
"CreateDate": "2026-09-26T13:01:08.9044872-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:01:08.9044872-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}