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": "e22f69d5-44e2-4923-8be9-1fa752c66dd7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2458bb6c-696e-4078-9bf0-b171b2f4043a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7fe9bfc3-1fd2-4e85-a451-56fc871e4e1d", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:37:36.2564333-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "66f32a17-7735-48d4-ab21-92fcd7bb1959", "Name": "sample string 1" }, "Unit": { "UnitId": "ae1c4500-c9f6-4889-b9ea-bd5c897a409c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8f9e9cb9-4f5f-44ae-84b2-6fc730dadbe6", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:37:36.2564333-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f543e897-8aa8-4ae0-bb89-ab0595be5a2a", "FieldId": "51dbbb91-ae3a-4ec7-8327-2f7fc164fa11", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f543e897-8aa8-4ae0-bb89-ab0595be5a2a", "FieldId": "51dbbb91-ae3a-4ec7-8327-2f7fc164fa11", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "23fd9f4a-9914-4091-b620-56c444b910db", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:37:36.2564333-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": "2bf5a5c0-433a-4490-8ec6-a7924928f23c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8ccfbac4-a867-4736-ada5-431c99573dde", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6f710abf-3a45-4bd1-8da1-a255e1b82d4c", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:37:36.2564333-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "ad967883-d561-4cb1-8565-9d3d574cb2dd", "Name": "sample string 1" }, "Unit": { "UnitId": "1dbe03aa-acc0-4836-94f4-d120db01678f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d9de43e8-6ad7-448c-884c-fb992d7beaaf", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:37:36.2564333-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5dc9993e-ee6a-44f1-8b8f-b189050980c8", "FieldId": "7878aa74-05df-4164-bb53-75c52757e2bc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5dc9993e-ee6a-44f1-8b8f-b189050980c8", "FieldId": "7878aa74-05df-4164-bb53-75c52757e2bc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "71d2942a-6004-4ad7-995d-ed356832632d", "CreateDate": "2025-03-09T08:37:36.2564333-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:37:36.2564333-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }