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": "2373dd77-0a9f-42c4-a536-5308d5384f3a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bc0bf001-fc4b-4dd1-b081-60998f5b9b9d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e5a15e4b-bd5c-48c7-bb59-c872752d3b40", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:04:58.9685556-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "97d7bdca-d5a0-4be3-8c70-bf51cbde74c8", "Name": "sample string 1" }, "Unit": { "UnitId": "31b444eb-2094-4888-95e3-e9c3f8c9ebe6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "78ed1729-2a57-4764-be45-056e8e82a2c9", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:04:58.9685556-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a4c43c1f-5ab0-4ab0-8f2b-fc99c58e38e6", "FieldId": "b133dae0-2321-4e40-a01f-9d6a672815fd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a4c43c1f-5ab0-4ab0-8f2b-fc99c58e38e6", "FieldId": "b133dae0-2321-4e40-a01f-9d6a672815fd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "b053608a-5dc8-4208-a4c0-13404b461156", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:04:58.9685556-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": "170abbf7-ac95-4814-87f0-98d19820dca4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8efafe9c-149f-4431-b20c-4c255b29905a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ab7866a-7729-4f19-b6cc-57eecc1617fe", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:04:58.9685556-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "edca4101-5504-4e12-8780-e0c0dd18a7d7", "Name": "sample string 1" }, "Unit": { "UnitId": "d398367d-9d96-4c99-8275-d008d5cce16e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "abc068de-1146-4b3c-ad1b-6a3d585898c0", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:04:58.9685556-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8e3a45d3-32bd-4ba3-8242-0458d38bfb2d", "FieldId": "4ec720c4-a1a2-4932-be03-8428362f6eaa", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8e3a45d3-32bd-4ba3-8242-0458d38bfb2d", "FieldId": "4ec720c4-a1a2-4932-be03-8428362f6eaa", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "9df68c12-de3a-4c89-9a29-4751de0b2c7f", "CreateDate": "2025-04-17T04:04:58.9685556-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:04:58.9685556-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }