PUT PropertyTypes
Updates the given property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to update
PropertyType| Name | 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": "32951c5d-3a44-4574-865c-e6d2f1660f2e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "50964101-ed26-440c-8c67-fc8c00b5adf7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5832a971-4135-4af3-9c8a-b1a11ddd063a",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "2c6743bb-6f82-4f1e-9a79-1bbbd2157c4c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77f72ca5-93a8-4efb-b49f-f6a6e6fe0b20",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "55e8788d-6e85-440e-9d93-1de972d3a3b4",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-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": "1e96a230-759d-4218-9448-bf48d269444b",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-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": "8818a5e7-dd23-4c96-b7f9-9c86dd0f5050",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2b1bb82a-0d19-4104-91b8-af487c262669",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ab0a7e06-48e1-43bc-8ed8-4d8094dec0f1",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "088fc6c8-dc75-451d-9ed1-872573176af7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce436052-94c1-4b3b-8f41-5a1d2d883be3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8e6a3977-d956-4160-9335-7b9be80db29c",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-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": "69695654-34df-46e8-91c9-7149b966d824",
"CreateDate": "2025-12-21T04:53:37.6102304-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T04:53:37.6102304-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}