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": "703907cb-08f6-4dcd-9469-bfa7c2a58572", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bb621bad-063b-400b-9c95-13890fbe3c3e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a2b9156c-a2c0-4cc5-82cc-f4c3b758c229", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:08.0090613-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a5c7f9b1-f1ff-4a1d-ac3e-56f5b995f2e2", "Name": "sample string 1" }, "Unit": { "UnitId": "9fab4bdc-c717-4b0c-8317-8951db2af92e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a95121aa-acb8-4bcb-bec9-b83d71dfd11d", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:08.0090613-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": "eeb27bd7-27fb-4b96-867f-bcd5f4e784c0", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:08.0090613-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": "9fde1394-2a4c-446d-a160-bcc8ba96b98b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5a03ad71-43d9-4f88-a7c6-ccb1db30e77f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d2949656-9834-4c08-9b8a-6784bd8d769b", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:08.0090613-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "84a91dc6-bc57-48e9-b5c3-5e1137764838", "Name": "sample string 1" }, "Unit": { "UnitId": "4c2b73d3-50a6-4834-b9fc-7fb04606449d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "35227421-ec39-4816-a760-47cca2711df7", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:08.0090613-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": "6dd3e50f-fe88-4f25-9e23-24f6105197b6", "CreateDate": "2024-10-10T15:23:08.0090613-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:08.0090613-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }