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": "52981848-c8b6-44fc-b5f5-0a553b32a145", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bcc78d22-058b-45f2-a48a-a27c43baa38d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9bc22429-b91a-42ec-8f44-3945e095a37e", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:31:38.2268595-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "46284783-2a18-49e2-824a-4025e138741c", "Name": "sample string 1" }, "Unit": { "UnitId": "d404531b-a876-4bb3-9c5e-b9150c87111a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0752708e-156a-4876-a613-87f26737ceb9", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:31:38.2268595-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": "24a21f93-0c50-4817-b185-556530d3d200", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:31:38.2268595-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": "33a28151-0e97-414a-823a-90e40ca32d1c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "820c373b-fd7b-4520-b519-cf79568104c7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "228806d5-99ea-4abb-a2e4-1a54e76160c2", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:31:38.2268595-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "018d8d59-4890-47bb-8474-f99fa0bcfaf6", "Name": "sample string 1" }, "Unit": { "UnitId": "0a060c3a-4ae0-4f0b-9f99-8c0ce0287471", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7ab8dc06-9fd7-4c1a-b430-63a70c16fb51", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:31:38.2268595-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": "47e7294b-41c0-4d50-bbfb-1f6b3b310cc6", "CreateDate": "2025-05-09T00:31:38.2268595-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:31:38.2268595-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }