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": "d5c9bbdd-ea6d-4a3a-a792-d13b9d5f6ddc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cde969b4-e3be-4b53-854f-67187f4da679", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c3325fb0-901c-491a-9a65-5af8db7de176", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T14:49:25.9444997-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "5ee9db46-8951-4323-a6fa-199c50becf44", "Name": "sample string 1" }, "Unit": { "UnitId": "a7ca576b-9fc8-4412-9fb4-fccd96149f93", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7be1b1a8-d65a-4602-ba1d-f2da9de61863", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T14:49:25.9444997-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a75ac739-8d1c-4fae-b4cd-40fb19b1286e", "FieldId": "f3f5f7d0-ed9e-401b-a993-ee4c25208367", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a75ac739-8d1c-4fae-b4cd-40fb19b1286e", "FieldId": "f3f5f7d0-ed9e-401b-a993-ee4c25208367", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "a48caae4-2cb7-4788-8ea9-b52c2a08a69c", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T14:49:25.9444997-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": "bb54f13d-e312-4d9d-b1fe-f45fd3e2a5e2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8ec7dca2-19f9-4b50-82ed-8e5c9cd58cee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8e09bbd8-b922-44de-b927-6d27a8d6c385", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T14:49:25.9444997-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "97e496de-9af7-408f-9f66-e385f46c9edb", "Name": "sample string 1" }, "Unit": { "UnitId": "916cdf5a-2824-4418-83dd-7804f290cde5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8efa3d5c-ca5d-4a5c-b896-bcf57b9ae4af", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T14:49:25.9444997-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cb85f77c-586c-4d69-9f11-81402d46d0f2", "FieldId": "6f3cc3d9-6d3e-41f1-aa1f-29b8809ceaec", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cb85f77c-586c-4d69-9f11-81402d46d0f2", "FieldId": "6f3cc3d9-6d3e-41f1-aa1f-29b8809ceaec", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "3b3e2134-09d9-489a-9670-545a7a11105d", "CreateDate": "2025-04-25T14:49:25.9444997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T14:49:25.9444997-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }