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": "5bd7e3e6-4c4e-4da3-bcc2-138eca0b1f42", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "64a758fd-6b47-4a71-8339-bce2046ebed8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "90df3e0e-cca9-44ee-a990-dcb40716b6a9", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.1797068-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "9e213005-8538-4bbb-aa1d-40e03363315a", "Name": "sample string 1" }, "Unit": { "UnitId": "03027d94-4190-4123-a3ae-401d7ed17fbb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0a103d56-b3f0-40dd-acb0-adf8091a4f06", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:03:00.1797068-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6dc184d2-1aeb-4b6c-af3d-7e80b1cb81f5", "FieldId": "4204b36a-21be-4f55-a73a-c7107628dabb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6dc184d2-1aeb-4b6c-af3d-7e80b1cb81f5", "FieldId": "4204b36a-21be-4f55-a73a-c7107628dabb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "507ac576-9609-4c53-81f7-8663e0b0ebbf", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.1797068-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": "d3b7b6a7-79a7-4da0-b93f-a0feaace439a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "620b1aaf-077a-434e-996c-ca46cdd0f95c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "225a0787-4ef3-4c51-9d20-a9e64c814013", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.1797068-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e8d4662b-4b43-47fa-a342-39078f37eb6c", "Name": "sample string 1" }, "Unit": { "UnitId": "540089f2-1f11-4b7c-8351-1e79da3ef0b7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "01feb1c2-155f-43c5-8436-e03f42808d3e", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:03:00.1797068-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "178a80ac-18a0-4fec-8b7b-d59e44f56b88", "FieldId": "395d71e5-3210-47ea-beb1-d0c9d5ef91b4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "178a80ac-18a0-4fec-8b7b-d59e44f56b88", "FieldId": "395d71e5-3210-47ea-beb1-d0c9d5ef91b4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "4ee39480-168c-4288-9491-ca1d5416c1d2", "CreateDate": "2025-08-24T10:03:00.1797068-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.1797068-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }