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": "68f80775-712e-453b-aada-c80ab8d52b7c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "980d6116-55a2-48a3-8017-8469eed2aa6b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "468de55f-d3c2-47b6-9985-394d9f8e3a97", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:37.9029214-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "cd411bcb-3180-46da-b7a3-c7e48f252a34", "Name": "sample string 1" }, "Unit": { "UnitId": "49a855da-5ad9-4f5e-8d89-92708ffcf382", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a7b0cc06-2555-47ee-a746-1165305fca88", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:37.9029214-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b8c4df0b-4ee2-4756-a414-268ca2c04522", "FieldId": "2b54be4d-4e77-4072-a03e-158a40f67d7b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b8c4df0b-4ee2-4756-a414-268ca2c04522", "FieldId": "2b54be4d-4e77-4072-a03e-158a40f67d7b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "601da162-1dca-41f2-8b20-7031d83870e7", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:37.9029214-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": "24533d5f-caff-4969-8273-34c2fbab58af", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e2b86f2b-5c7f-4525-89ab-6fabfefa8cf0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "21719644-b7e8-4435-83c0-c359145552af", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:37.9029214-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "0caa6f7d-468c-484b-94f2-59bc5f9d0608", "Name": "sample string 1" }, "Unit": { "UnitId": "56553d42-cd3d-4258-8dac-55153a39ec02", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f5a0d3c7-4537-4fc6-9b4b-ae4cda45a564", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:43:37.9029214-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2b531634-dfd8-42a1-9ad9-a8376c75c368", "FieldId": "4ecb6bdc-c019-4ee7-bef3-58a1dc0623b4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2b531634-dfd8-42a1-9ad9-a8376c75c368", "FieldId": "4ecb6bdc-c019-4ee7-bef3-58a1dc0623b4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "592f8044-18a5-4efd-a7e7-ea787bdec3de", "CreateDate": "2025-08-23T22:43:37.9029214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:43:37.9029214-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }