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": "033144d1-50cb-40fa-b392-f605e682a18b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "68a02891-94f8-4b2a-823b-0353e2f4ec71", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7f8ff84a-7cdf-45da-a622-e88214a2d16c", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:57:22.4084022-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a720387c-64ba-432c-8092-efc439707c31", "Name": "sample string 1" }, "Unit": { "UnitId": "8e07b6ec-da02-4261-a7b0-8d59f2d4abdc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "913752d3-41c0-4edf-bfb9-e54d9d3476dc", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:57:22.4084022-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2d925333-ceb9-48bd-87de-74cbcfbcf3ea", "FieldId": "d92ad493-aa46-4e91-90be-e2364420d0c5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2d925333-ceb9-48bd-87de-74cbcfbcf3ea", "FieldId": "d92ad493-aa46-4e91-90be-e2364420d0c5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c4cfc193-dd1d-428e-a944-8b219de87eb8", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:57:22.4084022-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": "82b5ad8a-e43c-40aa-ac5e-47a93560d1ac", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1ad0622d-84e4-4c1e-b098-e46c0aea172a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9479f733-f9c1-4210-8244-55f8005b5549", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:57:22.4084022-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "ec5cd73a-c9d5-4c49-af89-6fff27c43989", "Name": "sample string 1" }, "Unit": { "UnitId": "0eb4ad73-0225-4010-9688-8843614fd4dd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cd21e7c1-04d7-47b5-b8b0-09d0f3642fe2", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:57:22.4084022-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3ede29c8-5418-4238-8d1b-d697293b0981", "FieldId": "aa720868-e205-4fa8-a41d-aa85b2b3c7ef", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3ede29c8-5418-4238-8d1b-d697293b0981", "FieldId": "aa720868-e205-4fa8-a41d-aa85b2b3c7ef", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "bc8ad53a-4c18-4b74-bcd5-d2a28bcff6dd", "CreateDate": "2024-12-22T02:57:22.4084022-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:57:22.4084022-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }