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": "4afae903-d15a-41b2-8869-c16d5902e991",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "95093219-0c0b-4696-ad23-33ac663a0a58",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d5e5e0f7-35b6-439b-bc0a-c016fe080ec8",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7d9771f6-ec37-4384-b977-b584071a5e22",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ac5dd4d-6a7f-4ec1-9311-d0b5c28f79bd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b744f597-9aad-412f-89ab-3d05da0c037c",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "979f5667-b0b5-4125-af2e-8214cdb7f783",
"FieldId": "77ae1060-6d21-481e-b77e-a20d4d74946f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "979f5667-b0b5-4125-af2e-8214cdb7f783",
"FieldId": "77ae1060-6d21-481e-b77e-a20d4d74946f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4b686cfe-3176-4940-bf78-ec4f0f86ecb9",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-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": "9e569737-493d-4657-940f-e3b17cae1b4c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7d2fe5ae-034c-445c-b02d-a347ca490f03",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "768398b0-d710-402f-b1c7-a701e3b3a0fc",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "dab83194-5b4a-4486-8930-fcac66641e03",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "52510d37-4c40-44f3-958a-aeae1b4c4339",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50a9b532-05f1-4c81-8ca3-e26ebde28366",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a77f70b9-8289-43a1-ad77-950df3f54492",
"FieldId": "16af4c62-ce8b-4842-a09a-991d113b6181",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a77f70b9-8289-43a1-ad77-950df3f54492",
"FieldId": "16af4c62-ce8b-4842-a09a-991d113b6181",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "58b9b162-a914-44c8-a98d-75643795638c",
"CreateDate": "2026-06-17T17:25:40.5731221-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:25:40.5731221-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}