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": "bf2fa8fa-a0b1-4d55-ba0f-314308740cd2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9bf8f721-b866-497c-8443-668657be8a12", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2deb8908-c514-4777-a93d-8d9a86c53bc6", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T13:59:03.6616058-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "f7f1103c-70e5-4c42-a1ae-723c1623ca1d", "Name": "sample string 1" }, "Unit": { "UnitId": "13713022-b58c-4339-b27c-3006d2887395", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bfcaf2ca-1596-41bf-abd8-abb6fa16cccd", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T13:59:03.6616058-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": "2b843838-c50f-4795-b203-5a5a66a1a7c8", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T13:59:03.6616058-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": "ead70c72-e69d-4acc-b36e-7e02113aa419", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d155580a-7109-450c-a781-3495f8cac858", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7598fc4e-b1a8-4f23-8d5c-40ebeffc2a8f", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T13:59:03.6616058-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "7b663f05-8841-4b7e-a46b-38928cb86239", "Name": "sample string 1" }, "Unit": { "UnitId": "f7632303-84fb-4e18-b9dd-c0ff5510849f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6d921d73-c04e-4bdb-b578-01217f0edf9b", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T13:59:03.6616058-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": "e7df0a02-b2d2-45d2-b412-563b02a8792f", "CreateDate": "2024-04-24T13:59:03.6616058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T13:59:03.6616058-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }