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": "2d6b90d5-ffd7-4ef0-82b9-e2c72b09d8f9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "60dcbc9d-0e2b-457b-93a1-f19580506208", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9c0e001-903e-491e-b94d-c53e1f700657", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:04:31.3413259-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4d609ca1-ab95-42ef-87b4-909d10d8a745", "Name": "sample string 1" }, "Unit": { "UnitId": "cb03d365-cce6-4002-87f4-3460aab0cbfb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7168e06f-f752-48bc-b729-aa85f9d3a2ea", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:04:31.3413259-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": "e7b2b286-179d-4314-8466-6a8d16f3dfd3", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:04:31.3413259-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": "331a258b-a9fe-4550-a71c-217acaa7743b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0ddb1208-31e6-4d52-8ce4-d91350ad17b9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5118d737-c3fa-4397-bae2-5310d6679975", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:04:31.3413259-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "091d15d8-8b39-40f4-8ec9-6bc34aae4e09", "Name": "sample string 1" }, "Unit": { "UnitId": "193d3657-fc03-43ff-bac9-b8c994143220", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "601860b4-0f51-493d-bed7-9815abfb6966", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:04:31.3413259-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": "455ae67d-7c86-44fe-af76-21043ff7c004", "CreateDate": "2024-12-21T19:04:31.3413259-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:04:31.3413259-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }