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": "3373fc71-5bbf-4d1d-89dc-425441d003c3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "31a905d3-d8b3-4d2f-b792-38b186d7c239",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b161d16b-dc60-48bc-bb90-df8b7e2182e1",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a9ec2507-ca58-49e3-9c00-7a6c20233dc5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4c5ef60-bf19-46ec-bee6-78cdd45a3517",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "23a00720-fa91-4ac3-9508-cc7f27106cc7",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6b333351-36cc-40d4-82a4-3038345f6022",
"FieldId": "22a79bfb-c9f9-40fb-beea-1c37da408bcb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6b333351-36cc-40d4-82a4-3038345f6022",
"FieldId": "22a79bfb-c9f9-40fb-beea-1c37da408bcb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5dd4abd9-f258-48f2-8d41-e31d243345d6",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-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": "98d5499c-1173-4974-af60-709e83818d65",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b263c1c1-af18-4990-8e86-f8a2714dbc76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "da18fd8d-1fe4-432b-80ef-b0e2efaf5021",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "09131fc3-9ef5-40c4-b91e-cff614161789",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "306372a2-32a2-4c13-8ba8-b346802d3c9c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "036b1e1f-4236-4463-b34c-d3b9e7985799",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2879a125-2b44-4f17-953f-1b48b4a6ee72",
"FieldId": "08786a81-2030-458e-a811-ee6501ddf2e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2879a125-2b44-4f17-953f-1b48b4a6ee72",
"FieldId": "08786a81-2030-458e-a811-ee6501ddf2e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "25f28317-80db-4f80-bd1d-ba5cde063fd5",
"CreateDate": "2026-03-15T18:00:25.8191169-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:00:25.8191169-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}