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": "d9f2a7c4-dec6-4927-9ab1-cfd5dca0bed6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8eb50333-767d-41fc-8fc6-b12f9a02afe4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8f1ced5b-d7c7-4fb6-8222-f16367aa1f9f", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:19.529616-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "f76093c6-7f90-41e5-8738-771dae0284b4", "Name": "sample string 1" }, "Unit": { "UnitId": "d353942e-b33e-44fa-8f03-a1ec235b3d87", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "49c33b9a-778c-47ee-9ead-bced5dfab9fb", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:02:19.529616-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e7c72a6f-739b-42ae-813f-f6956356f545", "FieldId": "8e2390d2-149f-443e-bce0-8568cc07e7d5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e7c72a6f-739b-42ae-813f-f6956356f545", "FieldId": "8e2390d2-149f-443e-bce0-8568cc07e7d5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "9162afef-20a0-46b8-a71d-4eef6d9d07b9", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:19.529616-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": "cda56851-22bb-4224-afba-c65f015b35f2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "adb820f6-8a94-4876-bce6-5897d069a626", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c9dfc53b-6f8c-47f6-87ec-aa3a7e580e93", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:19.529616-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e834fa01-0950-4fb4-bf0b-17f6fea1cdd4", "Name": "sample string 1" }, "Unit": { "UnitId": "30508f04-f2bf-4fd3-8494-6cd1ab33b62b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0af9f0bb-fcd6-494e-aa1b-73be997e65e3", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:02:19.529616-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1cab37bb-f7d7-4217-867c-097c2ebd42cd", "FieldId": "3efa51dd-5cff-4b28-943b-5d288c0b8f6f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1cab37bb-f7d7-4217-867c-097c2ebd42cd", "FieldId": "3efa51dd-5cff-4b28-943b-5d288c0b8f6f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "bc62975f-40a2-4100-93de-a17c7887745d", "CreateDate": "2025-09-13T21:02:19.529616-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:19.529616-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }