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": "da7f4ae8-fda5-4293-a83f-f427099529b4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f41168f1-b185-4f2c-9d16-929d604062bf", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "900da1dc-bdfc-4e3d-bc35-b362d96c3a5f", "CreateDate": "2025-09-18T04:35:26.4016771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-18T04:35:26.4016771-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b0b2cf45-24c2-43cf-bbf7-8dcd88438994", "Name": "sample string 1" }, "Unit": { "UnitId": "4fa64e34-640a-40e8-a3bb-12aade0300d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f63b9e33-ecd7-4092-a8f2-6f290df88995", "CreateDate": "2025-09-18T04:35:26.4016771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-18T04:35:26.4016771-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "55f6077e-4eb4-4691-98cf-45045698491b", "FieldId": "dd05d0c5-68b3-45f2-be56-779402f789e6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "55f6077e-4eb4-4691-98cf-45045698491b", "FieldId": "dd05d0c5-68b3-45f2-be56-779402f789e6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "06c01364-90fb-4ca9-b5d9-fdca722fa3f0", "CreateDate": "2025-09-18T04:35:26.4016771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-18T04:35:26.4016771-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": "9e0ccb26-2293-4a61-9469-e19bd9c3f3c5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d43e5a6b-838d-4189-9cb5-a707a00ee032", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "54d38d3c-8c8e-491d-ab55-e7fcb1ace044", "CreateDate": "2025-09-18T04:35:26.7454268-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-18T04:35:26.7454268-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "3dcf6b01-a1bd-40e2-ada3-e236152c8c90", "Name": "sample string 1" }, "Unit": { "UnitId": "7b5bdecd-daf6-4685-9509-99b56bdee05b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d5b06685-31b3-4af9-93a7-abcfda62206b", "CreateDate": "2025-09-18T04:35:26.7454268-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-18T04:35:26.7454268-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f6c18ba3-e828-45f7-b3dd-5391264b4835", "FieldId": "0ba4c35f-c7cc-4538-82dc-282825457ced", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f6c18ba3-e828-45f7-b3dd-5391264b4835", "FieldId": "0ba4c35f-c7cc-4538-82dc-282825457ced", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "57c171b0-636f-440a-a6df-6dd62909d981", "CreateDate": "2025-09-18T04:35:26.7454268-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-18T04:35:26.7454268-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }