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": "cf288440-fa47-437b-8dc3-e0b8182668e6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ab787a76-9db9-4411-8664-6e5b67f90e48", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8c26f2eb-7e18-4e06-8957-54f772c3b0b2", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:43:39.5780792-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "ab5bfea1-3ca0-4bc7-8e46-f49fbb10c8d1", "Name": "sample string 1" }, "Unit": { "UnitId": "978ab203-cbc8-4485-b3b6-ae1ab4ad2291", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "61dda80e-a542-4d87-983b-262fd0f56b83", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:43:39.5780792-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "fc936c69-a974-4a8d-b0ef-51b76c991466", "FieldId": "fd7275ff-ac32-49e2-a164-ecf06c2e58b0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "fc936c69-a974-4a8d-b0ef-51b76c991466", "FieldId": "fd7275ff-ac32-49e2-a164-ecf06c2e58b0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "5addf282-d8e9-4270-91f2-2a7957cf2148", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:43:39.5780792-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": "708004e5-4c68-4d0f-9ad9-84c205c4882c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2ddcad33-ebd5-4ab7-abad-20cd03a907ed", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6793f4bc-dc4d-499a-ba94-834262f40608", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:43:39.5780792-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "894f2162-7d66-44c9-9ae2-b887639ca92a", "Name": "sample string 1" }, "Unit": { "UnitId": "f74dd753-35b3-4cd7-9b69-dee9e62e57e3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "89bd220a-2e96-475d-996f-c12146870822", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:43:39.5780792-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8b6aebc4-2778-4e40-b2a4-a3ae3835804d", "FieldId": "45b4e50d-acf9-4481-8dc8-fdcce0f5fd29", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8b6aebc4-2778-4e40-b2a4-a3ae3835804d", "FieldId": "45b4e50d-acf9-4481-8dc8-fdcce0f5fd29", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "88930041-24a9-407d-863d-81e557127e0e", "CreateDate": "2025-04-24T13:43:39.5780792-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:43:39.5780792-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }