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": "0aa27258-da0e-4537-a449-af3d3e9138ba", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ed5fed04-90a5-435f-8ae1-ea27ac10c1cb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "28eb3733-9b81-4fa6-aff1-240a981c0eba", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:37:02.230423-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "0186b55a-9951-47a4-a256-b24e4689ab01", "Name": "sample string 1" }, "Unit": { "UnitId": "1e247c7e-e74d-477c-9713-28d8153c0446", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "83fa7286-c96e-489e-af4b-101e5b1369d8", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:37:02.230423-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "62889182-6537-4042-8129-95631f58f510", "FieldId": "8143b827-765e-4fd8-9d38-f4b439c28106", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "62889182-6537-4042-8129-95631f58f510", "FieldId": "8143b827-765e-4fd8-9d38-f4b439c28106", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "234372d3-2f87-4275-a62a-0183aa506510", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:37:02.230423-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": "a9094f1e-e856-4f70-8cc1-a5cc160ff27a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d22aed89-d9f8-4579-b1a6-ea4a134aeade", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7fb910eb-7dd2-437e-9fd5-6d740b06edd1", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:37:02.230423-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "d5c03cf3-0e4d-4820-aa12-a9da8cbb468d", "Name": "sample string 1" }, "Unit": { "UnitId": "fedd33e1-4efe-4c23-b764-7f974d9b041c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "df583e2d-77b6-4765-aaa2-ae400538a7c0", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:37:02.230423-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "176ed47b-6f97-40c4-bcdf-a4aa34effbc2", "FieldId": "4fda98e6-f41a-461d-8fa8-164b29a69a13", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "176ed47b-6f97-40c4-bcdf-a4aa34effbc2", "FieldId": "4fda98e6-f41a-461d-8fa8-164b29a69a13", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "93c82da0-b8fd-4ba5-aee4-73c4990ab909", "CreateDate": "2025-05-17T05:37:02.230423-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:37:02.230423-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }