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": "81007a0c-0efe-4de9-87eb-a3f9a1db738c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cdbd9d71-6ea5-429e-acde-e5cc458dacda", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "18c50bf5-1971-4ccb-a3a9-c5fff7ab4b70", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:13:14.678671-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "2f71441c-ce87-4d46-81e1-6554a9bcb688", "Name": "sample string 1" }, "Unit": { "UnitId": "19ff07b6-b080-404d-ab1e-049d663b2b34", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dec73668-e60d-4a2e-9d8c-6eb85ed20ae4", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-31T03:13:14.678671-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "22f7291d-38d4-4a35-bcfb-a5d8f52388ef", "FieldId": "eb9b43c2-1c15-4ebe-b1c6-0bea9d41ca41", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "22f7291d-38d4-4a35-bcfb-a5d8f52388ef", "FieldId": "eb9b43c2-1c15-4ebe-b1c6-0bea9d41ca41", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c1e309df-a848-45b2-87e8-c0aab8fdaa69", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:13:14.678671-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": "25549495-7153-4302-948d-fb5e62eb487b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c3a31e7f-9226-4f51-b119-85b800de9a33", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "514e2d71-463c-4793-b2c9-0e2a58dc5ccf", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:13:14.678671-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e67a5900-e691-4222-8ad9-c41f0a91974a", "Name": "sample string 1" }, "Unit": { "UnitId": "a2ea2b7a-ff8e-4bcf-98c8-e92086c330b0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2dd6ecf9-6693-427c-920c-ffe8fec2a60b", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-31T03:13:14.678671-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a2a527ee-ad19-4668-8057-6ab16a506570", "FieldId": "8e107092-6bb5-4a6a-afb8-ff43ffb7797a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a2a527ee-ad19-4668-8057-6ab16a506570", "FieldId": "8e107092-6bb5-4a6a-afb8-ff43ffb7797a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "d46f9be0-2def-4b92-a3ca-783df92b0098", "CreateDate": "2025-07-31T03:13:14.678671-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:13:14.678671-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }