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 ValidValue |
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": "b07833d7-3167-4674-8f94-cb4da6f90f59", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9422fd5f-043d-4f16-9314-7d5fa31ecfda", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "318d011d-c834-4eb7-bb4b-6f3efa29ae1b", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T14:48:51.3555264-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "67e80ab0-cea2-425d-ae77-e6a88dbc098e", "Name": "sample string 1" }, "Unit": { "UnitId": "d556996d-5446-4e48-8410-bd54372dbc6a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bddc676a-fe4e-42c6-b845-03514f523fbc", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T14:48:51.3555264-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d15aa042-0ace-4237-bfd1-34c9d7517e9b", "FieldId": "563a3682-0c5f-49bb-bf07-17969d414f1c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d15aa042-0ace-4237-bfd1-34c9d7517e9b", "FieldId": "563a3682-0c5f-49bb-bf07-17969d414f1c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "091b4295-dd1f-4baa-b188-e1ffc358e602", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T14:48:51.3555264-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": "6b1fccc0-7f1a-47f9-844c-0861766ca544", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8a3a7958-9f0b-4b99-863a-0d52037f02f7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d0761114-2f1f-4a7d-af44-cd2b3d2e05d1", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T14:48:51.3555264-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4e6f6c67-4e3d-4ed1-a737-500c3c66eac4", "Name": "sample string 1" }, "Unit": { "UnitId": "8db41114-64c0-4472-932b-415078517cd2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0432bfc8-cf11-4213-a6e0-b723b3d91bb0", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T14:48:51.3555264-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c9ba3de0-73be-45e8-a3ec-bd0e827934b7", "FieldId": "ea19eb21-3461-4ca4-9597-2557c752a1c4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c9ba3de0-73be-45e8-a3ec-bd0e827934b7", "FieldId": "ea19eb21-3461-4ca4-9597-2557c752a1c4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "7ec118bf-8cca-4004-b472-4283619a5707", "CreateDate": "2025-06-30T14:48:51.3555264-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T14:48:51.3555264-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }