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": "a6d5440b-7134-4d20-b25f-05db206012a9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2da9be1f-1bcb-49e3-b861-e2f32f364cb7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a4d53751-f114-4bc6-9f22-b6dcfa9701a6", "CreateDate": "2025-08-30T12:53:53.8479755-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:53:53.8479755-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "577c04b6-81e5-447a-ae56-003a5893b158", "Name": "sample string 1" }, "Unit": { "UnitId": "8d93b0ab-3529-4e9b-a870-4b616e460c42", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "09e87238-2ae1-430f-883a-8452fb054147", "CreateDate": "2025-08-30T12:53:53.8479755-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:53:53.8479755-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": "a281946d-4173-41bc-b73f-fc2e5e85c84b", "CreateDate": "2025-08-30T12:53:53.8636424-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:53:53.8636424-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": "db465c20-a490-4824-adce-54a638a78ca8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4d1e0782-a15c-4fcb-b638-2008c076e822", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f5f21091-efc0-4182-8bb8-e943e3d3e9e4", "CreateDate": "2025-08-30T12:53:53.8636424-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:53:53.8636424-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "f2c51504-9d3c-45e2-bfd2-644531c1af81", "Name": "sample string 1" }, "Unit": { "UnitId": "4083f512-d154-41c4-84b3-8f9bcf5d03fd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "569d6d7b-225c-4a60-8451-79b35f59c0a9", "CreateDate": "2025-08-30T12:53:53.8636424-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:53:53.8636424-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": "3b93ad38-f7ae-4b0d-8727-c9fa08c043c4", "CreateDate": "2025-08-30T12:53:53.8636424-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:53:53.8636424-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }