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": "fdf222ae-de5a-4de6-980c-66d746c831dc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "caf6e14b-37f7-45b6-8c99-9eacea43fbff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "506e2037-d255-4a4f-8fb9-5a4476337417", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:56.3728017-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "82adee9d-7f45-4ed7-b2a9-f5468dc330eb", "Name": "sample string 1" }, "Unit": { "UnitId": "82f0dc36-2720-4b84-be68-dab1bcf22a06", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1eaff26d-6e7f-4811-a6af-527d0111e962", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:56.3728017-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e23abd21-98c4-43cb-b607-9c077241bde1", "FieldId": "639b21e2-b44b-4517-b912-452a38616716", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e23abd21-98c4-43cb-b607-9c077241bde1", "FieldId": "639b21e2-b44b-4517-b912-452a38616716", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "06f6f35f-1ddf-405d-86c5-1495a1c0a9f4", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:13:56.3728017-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": "5af129cc-d34d-416b-b976-1a9c2671e385", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3ef06917-9f13-41bf-820e-58f68f6645e3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "68bf01a7-8fc6-4a22-b85b-81e18ec69006", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:56.3728017-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "65546f22-ed62-4746-bf6b-c4392bd483e4", "Name": "sample string 1" }, "Unit": { "UnitId": "9a8e8110-2aa8-416a-823b-e143a546daa9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "10e6afee-0759-436f-a485-aee9641b5ca2", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:56.3728017-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "256c7ad2-b615-414f-88bb-d2d85677511f", "FieldId": "053253da-46b3-4580-976f-f7e1bb8297c2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "256c7ad2-b615-414f-88bb-d2d85677511f", "FieldId": "053253da-46b3-4580-976f-f7e1bb8297c2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "767ca729-625b-4c01-8e0c-7b7891f2032c", "CreateDate": "2025-08-29T17:13:56.3728017-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:13:56.3728017-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }