PUT PropertyTypes
Updates the given property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to update
PropertyTypeName | 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": "ce7764b0-4b37-4ae2-a886-d4288bd6b5f1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "863345e7-385b-4817-a704-47660e1f09cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ea97b9d-1862-4852-a61e-a7da533affa0", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:39:36.634371-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "c8e92d1e-382a-4661-86b3-8af391aa92dd", "Name": "sample string 1" }, "Unit": { "UnitId": "ee9aef85-16e6-4c88-90b7-614dcb67f681", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bb22b8f1-a7bf-4d02-97db-5a4ab03f79e9", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:39:36.634371-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "243cb9bb-e7ee-4ae4-8255-743f1c11a03f", "FieldId": "5c71c49e-0839-4ada-acfb-c912216824bd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "243cb9bb-e7ee-4ae4-8255-743f1c11a03f", "FieldId": "5c71c49e-0839-4ada-acfb-c912216824bd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "eb694ed6-6be3-4534-99a2-2a439808dc89", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:39:36.634371-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": "957343b7-63ec-43d2-82b7-68829db27218", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "25a3356b-b42c-4488-b63f-45785f68a9a4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "236a556d-73b0-4e7e-ad5d-c2edd13bec1a", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:39:36.634371-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "f77086fa-41bb-48c5-8e1e-4ce46474ddd6", "Name": "sample string 1" }, "Unit": { "UnitId": "0ecb28a4-a4c9-4eff-847c-9d2461ad6f51", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fb53a6e2-126e-4a05-8e07-0d60b5da0356", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:39:36.634371-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e617f3a0-22b7-4dd9-9d0e-0fc8ec334120", "FieldId": "638fdf08-cb19-454d-aaa3-c9176665b899", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e617f3a0-22b7-4dd9-9d0e-0fc8ec334120", "FieldId": "638fdf08-cb19-454d-aaa3-c9176665b899", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "85030a5f-4ead-40e3-9737-974a9b39c6ad", "CreateDate": "2025-09-13T18:39:36.634371-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:39:36.634371-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }