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": "3ed3c8c0-1bdb-429d-b733-da04340d2488",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bf2af1be-567c-46be-91c5-065e632131dd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ee98007-d307-42f7-8fc8-add539cb6463",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "17529781-5327-4392-b9ba-09c655c51d33",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "247c5456-40f1-4c73-bf92-9014425d8693",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6dfa0c96-b42b-4fb7-8b63-7334574a9cb5",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fa7a4fcd-e514-4d01-a30c-a3dcd050b775",
"FieldId": "743dea01-fb32-45e5-8fb3-c5cc46d073d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fa7a4fcd-e514-4d01-a30c-a3dcd050b775",
"FieldId": "743dea01-fb32-45e5-8fb3-c5cc46d073d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a994336e-09bd-4ae1-8217-676d92d816f5",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-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": "ad2b49ae-c5b6-4e49-b10d-b29b8101a1ad",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "315f576f-72b1-407c-ab39-ce896379ce3f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33e95fd6-f1ea-426f-a0b2-245e905c81d2",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "50aa5517-ed4e-4de7-98dc-52d072fedd7e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "56b1f64a-741d-4d6f-9072-74443ca99cb2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e1b5c631-9969-4be5-a4e2-47feaaee7bfb",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0de0aa59-8c24-41f1-8856-8d80db129931",
"FieldId": "9e82c65c-ad15-487f-af3d-39145d14ba7e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0de0aa59-8c24-41f1-8856-8d80db129931",
"FieldId": "9e82c65c-ad15-487f-af3d-39145d14ba7e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4f41cfb3-4e9c-412b-85ea-d1e36fd198a7",
"CreateDate": "2026-03-30T12:49:01.5878485-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T12:49:01.5878485-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}