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 string |
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": "62def73b-38df-4064-ab1b-321a9507a345", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "387f08e1-bff5-49ec-bfd1-e06386260177", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "effc85df-f021-47d5-b135-bc4d1f79d527", "CreateDate": "2025-10-13T17:18:09.3054883-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T17:18:09.3054883-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "02ef53d3-8fb9-434e-a1af-1fd0007027ff", "Name": "sample string 1" }, "Unit": { "UnitId": "b72de70e-ed0d-4501-8cd0-946a0ed71445", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "24a7ca12-e485-4207-99a1-d9bac2e80d15", "CreateDate": "2025-10-13T17:18:09.3054883-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T17:18:09.3054883-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "60f6648b-2116-49ff-bb5b-15fe2c02c0b4", "CreateDate": "2025-10-13T17:18:09.3054883-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T17:18:09.3054883-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": "ce8549bb-63f6-4c52-aa06-ec0ca1039977", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "86d8e836-9290-4b1e-a903-fb27900be0a7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58bc0636-1537-4852-b46b-148ff652033b", "CreateDate": "2025-10-13T17:18:09.3210436-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T17:18:09.3210436-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "06ef7cda-04cf-446e-80a2-4bc27c229706", "Name": "sample string 1" }, "Unit": { "UnitId": "67cf5fb6-9fbc-40a0-95b5-70e4839d7533", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "14769f2f-380c-40b2-a84e-346f4d888444", "CreateDate": "2025-10-13T17:18:09.3210436-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T17:18:09.3210436-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "07d29490-d470-4774-ad63-c6c588277c99", "CreateDate": "2025-10-13T17:18:09.3210436-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T17:18:09.3210436-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }