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": "98888ec1-ea8e-452c-a829-f67ddc3a6efd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5fc24884-80de-411e-abff-6eb1cae36b0f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e48e8012-ef1b-446d-bbff-ec02beb4716e", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.3056514-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "f6657bca-591a-4fa7-aeb0-5272136221b3", "Name": "sample string 1" }, "Unit": { "UnitId": "f720e9e7-2794-4ab2-976d-356f635ea937", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cc693c77-d66d-4f78-b7e2-3682f72562da", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:54:28.3056514-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c32d0226-498c-45ca-83a1-1a3caf536e1c", "FieldId": "c2b2a4e8-e5d0-44b9-9da1-6daec580174f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c32d0226-498c-45ca-83a1-1a3caf536e1c", "FieldId": "c2b2a4e8-e5d0-44b9-9da1-6daec580174f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "54feb78d-cc96-4399-808a-8085f78a4684", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.3056514-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": "2421de53-f18a-4892-a112-171d10e4f697", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0b1326a6-8a2b-49a0-9378-25d1c9b478b0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "180d8b3f-74db-40ed-9c62-197539645635", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.3056514-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "8823a5ba-936d-499e-a083-678cc838afc6", "Name": "sample string 1" }, "Unit": { "UnitId": "c177033d-2ff1-4b5d-926f-215b83dd4738", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c2ddf995-b572-493f-b9b5-3d884b7647ae", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:54:28.3056514-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f33e19cb-b92b-4645-91fa-9eca0bac09ab", "FieldId": "ec5de14b-3a25-4fba-98c5-0a4348242fa6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f33e19cb-b92b-4645-91fa-9eca0bac09ab", "FieldId": "ec5de14b-3a25-4fba-98c5-0a4348242fa6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "a7d12cf8-a5e5-4e7c-95be-ebb3a7ff4aeb", "CreateDate": "2025-10-10T14:54:28.3056514-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.3056514-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }