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": "cee96088-93b0-49e9-971b-59ca96c49555", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "08828a39-30f9-4a24-b01c-213d9eb47158", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1355484c-18c8-4865-a2e5-3f69c32909b7", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "cb813c66-aba6-4cb1-bce4-0de1f17e5f66", "Name": "sample string 1" }, "Unit": { "UnitId": "64bf443b-4249-414a-9aa2-caacc3a7741a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a70f0403-08f6-4b41-b005-67fd3cdf1aa0", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d7487ca8-0216-48b9-989e-ec65974f1cf6", "FieldId": "ccd3d16b-94f9-468b-80e2-32ea92c97853", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d7487ca8-0216-48b9-989e-ec65974f1cf6", "FieldId": "ccd3d16b-94f9-468b-80e2-32ea92c97853", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c4060855-75bd-4231-937b-c3e7b08b68ed", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:22:31.756018-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": "423cf834-bd38-421b-be2d-92b57cafb009", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0e48d39b-b55a-40cb-bab4-8a6f89518700", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "077bc103-5c74-4018-823d-9ff658be3659", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "ace31732-c711-46a0-95f0-62aed2544b28", "Name": "sample string 1" }, "Unit": { "UnitId": "08562194-3484-43b3-bb69-c5a77aad2e49", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6a5d0547-e7ab-4e49-8b61-c2a16a298779", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ae0543e6-9494-4fac-815a-b14b8fb23199", "FieldId": "738b5b0d-6014-4e22-a441-89c30e858f0d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ae0543e6-9494-4fac-815a-b14b8fb23199", "FieldId": "738b5b0d-6014-4e22-a441-89c30e858f0d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "1ef82e26-599b-4a27-a62c-78e0fb10f8c0", "CreateDate": "2025-05-09T15:22:31.756018-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:22:31.756018-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }