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": "6c3225df-b965-4584-b3f3-b292e8d1e68c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "614e8ebc-0008-4bcf-8420-5a80c36ee6ca", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2079af98-6f2e-4b6c-a9ee-d36c95798b9c", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-26T23:41:30.5701194-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "2f2acc85-d9c1-4842-8391-3c0c3e36a9f0", "Name": "sample string 1" }, "Unit": { "UnitId": "1a564985-bc3c-471c-95ad-04593f7a27ed", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "16a9da37-3ed7-4c9f-9f13-79dae08c9dae", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-26T23:41:30.5701194-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "0396618a-1709-45d3-aa66-caf17fac68f8", "FieldId": "ff8d5ce9-1f31-4cb9-95bd-f97e10c79999", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "0396618a-1709-45d3-aa66-caf17fac68f8", "FieldId": "ff8d5ce9-1f31-4cb9-95bd-f97e10c79999", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "92a6fa45-930a-4c7d-a7b9-e652854358fe", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T23:41:30.5701194-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": "2fd157f3-5d18-4833-9c76-ac3477478ef8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "afef6c11-eeaf-4674-8278-d34f7c146fcf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f32aa8fd-aa2e-426f-883e-7110197c0430", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-26T23:41:30.5701194-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "dfa497ef-fe63-4c01-a460-5cd395cdb89c", "Name": "sample string 1" }, "Unit": { "UnitId": "ba2d0bde-b59c-48a0-960f-8d59d39c1f5c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fe3006b0-8b76-40e3-97a4-42bbe1da84ed", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-26T23:41:30.5701194-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8fe20961-546a-403d-8bb6-9f781eb0eaca", "FieldId": "7ef61547-37ce-4351-9e85-f030745d9d10", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8fe20961-546a-403d-8bb6-9f781eb0eaca", "FieldId": "7ef61547-37ce-4351-9e85-f030745d9d10", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "2f00ace0-3813-4cf6-a3bb-c85e3fc00ecf", "CreateDate": "2025-06-26T23:41:30.5701194-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T23:41:30.5701194-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }