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": "9eb54870-523e-4f54-b2f5-78f613d35b20", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3ae56a58-be70-41af-b2e4-22098a66ff9e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0480d69c-81e2-415c-a288-bad41c26f44a", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:41:31.1356432-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "98d1f8f3-a328-470e-bf53-ee961405a3fd", "Name": "sample string 1" }, "Unit": { "UnitId": "24056abe-d2e3-4ab9-9fd7-ffdb61be8833", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1f4e7c8e-a12b-4881-b9a8-a9527c0a00c1", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:41:31.1356432-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ecc7f864-e317-4bb1-a734-c6a8b6d69c2c", "FieldId": "c9bcf834-7790-4d46-bce0-4052d0ff549d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ecc7f864-e317-4bb1-a734-c6a8b6d69c2c", "FieldId": "c9bcf834-7790-4d46-bce0-4052d0ff549d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "e1eb12bf-9a4f-478d-a3d1-69ef17fed57b", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:41:31.1356432-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": "cf6295f2-eb2d-44c2-9074-3419d10fbfec", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8630a15c-d0a2-4885-9125-4ea2a1db424f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ca03c46e-b4f2-41db-8b82-765553e73c51", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:41:31.1356432-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "06fb8397-fbd0-4044-841c-2d02da891456", "Name": "sample string 1" }, "Unit": { "UnitId": "1b85ac3b-545d-437b-96e6-d5ca11c3873b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "eecd1852-6cc5-4577-9ca3-ef2fbcb6d0af", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:41:31.1356432-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ba6a61a6-f79b-4d7d-acd6-fccb39f8dbb1", "FieldId": "fdec42bd-caac-47f1-b2db-5f1ef467a02b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ba6a61a6-f79b-4d7d-acd6-fccb39f8dbb1", "FieldId": "fdec42bd-caac-47f1-b2db-5f1ef467a02b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "bcf4ee95-d35f-45d9-b44a-4f2a2bff3b59", "CreateDate": "2025-06-16T13:41:31.1356432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:41:31.1356432-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }