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": "9e7f0fc4-b5f3-435e-9ab1-1e64f00e3cf5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "38d11b34-cc1c-4990-a78e-447ecdfb25f8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "95bbd383-3771-4ae2-ad3f-3b419ba651cb", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T21:17:02.9777299-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "5890bdfc-7eb7-447a-8d9b-e93976943523", "Name": "sample string 1" }, "Unit": { "UnitId": "0045b231-0d9c-418a-b225-680e7cc36e0c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7e4354cc-3ccc-45c9-ba02-93e11a50bcb8", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T21:17:02.9777299-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a06c70b9-569f-40b5-9c85-78182feacd5c", "FieldId": "aa286554-cefb-4705-bb57-1319b9152002", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a06c70b9-569f-40b5-9c85-78182feacd5c", "FieldId": "aa286554-cefb-4705-bb57-1319b9152002", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "806c1d0a-6fe1-4d0f-a2a5-11947b22d039", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T21:17:02.9777299-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": "fc714571-39e0-4695-bb15-795c469f7842", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7ac58abf-bf76-4322-ad04-4467592dc2da", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c7ef1804-442f-45ba-a606-3e466ffaaacc", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T21:17:02.9777299-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "2b2c2854-3e0b-46eb-9c33-0a82eb9c459c", "Name": "sample string 1" }, "Unit": { "UnitId": "bab6c2aa-7971-493c-9e40-6223a6c4c483", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c73b9fc-c691-4f89-a01e-b81b914e37e3", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T21:17:02.9777299-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1a899196-f89f-42b2-ad06-c4cf488ac2be", "FieldId": "0d345f61-f6f3-49dc-a661-1d2a9d27ac03", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1a899196-f89f-42b2-ad06-c4cf488ac2be", "FieldId": "0d345f61-f6f3-49dc-a661-1d2a9d27ac03", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "acf53f1d-b5be-4b9f-b4a0-3c0be59ac99c", "CreateDate": "2024-12-08T21:17:02.9777299-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T21:17:02.9777299-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }