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": "a0265779-4806-4d43-84f3-3dd7621754bb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c2b481a3-f42a-43bd-9eba-3b4e7365e97b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a7a5d386-d7b2-408e-b8f5-01961cf99810", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T18:38:00.3762539-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "3d5ab5f3-3e54-4aa3-9e35-0a9d2cabf5e5", "Name": "sample string 1" }, "Unit": { "UnitId": "d0439aac-3cae-4fbe-a8b0-9e7b898aa91a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3eb5aceb-a997-4dc5-a012-1481490df65a", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T18:38:00.3762539-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c3039298-820d-48b1-97a5-9bc4f19f59da", "FieldId": "e9347789-394b-40ec-bcdf-f098476930a8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c3039298-820d-48b1-97a5-9bc4f19f59da", "FieldId": "e9347789-394b-40ec-bcdf-f098476930a8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "89476220-50bb-4fcd-9b80-47016e5fa831", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T18:38:00.3762539-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": "964aba19-f187-45d2-b3b7-dd36b599fd21", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "62b16064-52c7-438c-8048-c5c21ff86a13", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5e17fac2-c9e2-4a92-8507-eb03f575f68e", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T18:38:00.3762539-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "e7575790-bc4c-4bc9-bae7-d0bf40c839b9", "Name": "sample string 1" }, "Unit": { "UnitId": "f14df379-2d9b-499c-81a8-bf2c870f7306", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f40ff11f-3afc-40dc-9116-182bbcf7762e", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T18:38:00.3762539-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ba9d1086-caff-416c-8d4f-967c7afaa90f", "FieldId": "fda0ae07-7fa8-497f-a7c1-9f62390128d8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ba9d1086-caff-416c-8d4f-967c7afaa90f", "FieldId": "fda0ae07-7fa8-497f-a7c1-9f62390128d8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "3b5da85b-c09c-44a4-8a62-b6dda68efd0e", "CreateDate": "2025-05-08T18:38:00.3762539-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T18:38:00.3762539-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }