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": "6ed763a8-f8bc-43db-b820-a8f75d0553e5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ac278f98-a521-4583-9b5d-9687b3f6b08c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3d65298c-14de-4be0-a82e-fdbbad9da59a", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:08:38.9921939-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "bc403e52-37fa-41a5-b366-65c7fd6ef181", "Name": "sample string 1" }, "Unit": { "UnitId": "81eb8727-151b-4161-b89b-420f28c0e710", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fa407d84-5366-4aea-abd4-66be6ff116e7", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:08:38.9921939-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": "49ca612a-cc7f-43c9-b643-6db074997c33", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:08:38.9921939-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": "91d2cb54-7e50-4e69-acb3-0b3b51a9d4de", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2e1ae831-fbfd-4178-988a-0927d68c8a9e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3e856008-2d30-4b8f-99e5-ca66738a7597", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:08:38.9921939-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b9e856a1-970e-4cab-bb5a-9f398b6d6591", "Name": "sample string 1" }, "Unit": { "UnitId": "0bfbeabc-2d4a-4739-b61e-a98037b910b7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c32f7e8b-f800-411a-ba78-c3383fd0bdaf", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:08:38.9921939-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": "abd3b216-c4e8-41cc-8666-facfb6ecad26", "CreateDate": "2025-06-27T00:08:38.9921939-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:08:38.9921939-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }