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": "90a13790-b9bf-423c-807b-6d51e9509318", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bd256596-a89a-4aa3-9a40-1cf009163fb9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "eb7e894b-8205-4a2f-ab86-47ceca412b74", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:03:59.7862493-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "db0b7063-df10-4882-8105-bc5a8288812b", "Name": "sample string 1" }, "Unit": { "UnitId": "87737236-a0c9-4dc5-b2af-b43a58dd0cce", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8dd2d565-8845-4101-8cfa-e9ef38d42b65", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:03:59.7862493-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "4a91c0f2-2e16-42ab-a323-57823afde208", "FieldId": "5f1ddf4f-80f4-46b0-b652-a87cb455f759", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "4a91c0f2-2e16-42ab-a323-57823afde208", "FieldId": "5f1ddf4f-80f4-46b0-b652-a87cb455f759", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c14aa717-7336-4bea-a641-d757b8ff3ba0", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:03:59.7862493-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": "553d1464-e603-4471-976b-78fe8c049ffb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b8a4a1ca-429f-4bc3-9285-86ccaf57a595", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6ca4f272-085e-4445-9169-803f77aa3b52", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:03:59.7862493-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "3e639422-5b8f-4ca8-9b08-3143de039e52", "Name": "sample string 1" }, "Unit": { "UnitId": "411eddb4-00f5-4694-b495-93e5769b3026", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "35138626-1099-45b8-9702-ba39df2a84b1", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:03:59.7862493-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "573e37e0-8187-49ba-9785-e360126c5a8e", "FieldId": "7a76812f-4d07-4cc1-a039-272e5114f24a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "573e37e0-8187-49ba-9785-e360126c5a8e", "FieldId": "7a76812f-4d07-4cc1-a039-272e5114f24a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "709f350d-2f2c-4fbe-81a1-b393c2e9330e", "CreateDate": "2025-04-30T14:03:59.7862493-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:03:59.7862493-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }