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": "8f4b4c91-27c8-46fc-9301-7026928d2d80", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a09fe1c7-269e-44d3-b8a1-54a7778dadc7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e16334b0-6421-47a8-bb8f-2c19a62eb4e6", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:49:40.910203-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "1405f099-5f5e-4340-89cd-21ba67fae04a", "Name": "sample string 1" }, "Unit": { "UnitId": "15dbf256-9788-468f-9d4e-4e782879d9b5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "358395ec-a26e-469b-b426-82ec85a766f2", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:49:40.910203-08: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": "eba0d5be-7952-4ad4-bb35-d05b3c11fe41", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:49:40.910203-08: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": "30de3e42-c54f-40cf-8880-d7df532555b5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "14231019-f557-4721-8ecc-6744df924bf2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7cf2afd4-a367-4568-8380-9079740198cf", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:49:40.910203-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "26cfb193-e30a-48ea-9790-7fd16e45c5e1", "Name": "sample string 1" }, "Unit": { "UnitId": "24c399ca-cc55-4287-8541-681ca20f3d00", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "41303cbe-0526-4888-842d-0216585808d5", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:49:40.910203-08: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": "24283d17-527b-417d-b6f1-64c4fc41385b", "CreateDate": "2025-02-05T07:49:40.910203-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:49:40.910203-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }