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": "b91912d8-5719-4628-9166-ec2ce349824f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "558a9e4a-18d2-4034-a769-b99760122b46", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2f8b573d-1414-4ed4-b5c4-cc881db42c88", "CreateDate": "2025-06-02T01:41:35.2264255-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T01:41:35.2264255-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "aefec673-f755-4920-9d05-9889e86a4156", "Name": "sample string 1" }, "Unit": { "UnitId": "d389df48-cee9-4533-b970-a3048deaa071", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7252a22c-2441-44bf-a738-f78ec1c9ba15", "CreateDate": "2025-06-02T01:41:35.2264255-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T01:41:35.2264255-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3b4fd0f6-75a4-462e-9127-d9fd449c33ff", "FieldId": "4b9944a8-a675-47f7-a6e0-90b2d3c46495", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3b4fd0f6-75a4-462e-9127-d9fd449c33ff", "FieldId": "4b9944a8-a675-47f7-a6e0-90b2d3c46495", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "2d63ea2b-97b2-467d-b7bb-9d29df31f1a8", "CreateDate": "2025-06-02T01:41:35.2264255-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T01:41:35.2264255-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": "4599319a-e329-4d7a-a68f-dc136cc0b998", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4f02b4a2-2675-4e22-baad-1f9d9bc3e4df", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f50c76a8-4fc4-49e8-a807-dc130d0fe318", "CreateDate": "2025-06-02T01:41:35.4607999-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T01:41:35.4607999-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "28b13d81-763b-4584-b9fd-87b82692448c", "Name": "sample string 1" }, "Unit": { "UnitId": "1bd3d2be-aca3-4fb5-b4d9-cda390a3d029", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ee1c458e-b13e-499e-8666-a7c414c5fb80", "CreateDate": "2025-06-02T01:41:35.4607999-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T01:41:35.4607999-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2e1f05e1-6a40-4a4f-a4dd-636fe71062ec", "FieldId": "aeee0fe8-5732-4fc4-92a9-63f06970d3e4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2e1f05e1-6a40-4a4f-a4dd-636fe71062ec", "FieldId": "aeee0fe8-5732-4fc4-92a9-63f06970d3e4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "6b9effe0-e23a-42d1-867f-a0b35cf4ba05", "CreateDate": "2025-06-02T01:41:35.4607999-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T01:41:35.4607999-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }