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 string |
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": "ec8fa768-030a-4cfa-8c5d-af66fc5c420c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e568f8cd-8c11-4054-bce9-d42612e2fe42", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "24c20593-25e7-4149-8dd7-e48e687ad616", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:43:32.6991991-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "784e4779-1ead-438b-adae-aedfbfc1c2c1", "Name": "sample string 1" }, "Unit": { "UnitId": "ef7864b4-1b79-4f20-98de-218629f8dae3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "44cc2c99-33ae-49ef-ac52-7760fb973b92", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:43:32.6991991-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "810e285b-2348-4e40-8df0-f3a91dc495d3", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:43:32.6991991-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": "277b69f8-d830-472d-b224-0083ca12dc66", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8e69f168-e77f-459d-b312-a745135bb486", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c82d0756-66ab-4ff6-9146-c35665a0c7a5", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:43:32.6991991-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "9461b9c3-bf8b-4880-809b-474a3329d1e3", "Name": "sample string 1" }, "Unit": { "UnitId": "d67949b2-7a33-4b41-bf47-4c60169a59a4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2fd2cade-3025-45cf-a32d-c73b26896356", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:43:32.6991991-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "688db021-4383-4991-9bff-8dae09cbec7c", "CreateDate": "2025-05-17T05:43:32.6991991-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:43:32.6991991-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }