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": "feaeace3-8944-4a1b-9ec5-a2079915bef8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "122cc2c4-ec8d-46f4-84cd-d714c44847be", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d29d62dc-8530-4992-a34b-d6b12403cbcd", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:49:19.3282202-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "b74331d7-9640-4c33-82bd-d7eb228a59f4", "Name": "sample string 1" }, "Unit": { "UnitId": "ad251db6-2505-45eb-927a-7da5ead033ec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3981592c-c5e1-4428-a383-5fd2cacbeb74", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:49:19.3282202-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bd26454c-52dc-4585-996d-11cc645fd947", "FieldId": "f80ed790-3b0b-46e5-8caf-bed5ad2e2b27", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bd26454c-52dc-4585-996d-11cc645fd947", "FieldId": "f80ed790-3b0b-46e5-8caf-bed5ad2e2b27", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "e9ed6e62-5f30-40a4-8351-40c9ac095d5b", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:49:19.3282202-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": "9f94e467-f594-4642-9b2e-70c530a7cb55", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "78a956a4-c70a-4644-aa7d-65bdb38f9cef", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "871f8e5a-afbb-46d4-8350-2b394a9ef6f3", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T14:49:19.3282202-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "776e4c47-f0d0-4a51-acc1-0344f28b43ba", "Name": "sample string 1" }, "Unit": { "UnitId": "6091c0d5-3a68-4aad-aff2-9b74eac5f7b8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "22b4e89e-1d91-4557-80bf-c82a73ebe3f4", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:49:19.3282202-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6b8a0642-711d-4b20-b153-12ee335f04b1", "FieldId": "ec9ff844-aa3e-4133-b733-83e9e866cf79", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6b8a0642-711d-4b20-b153-12ee335f04b1", "FieldId": "ec9ff844-aa3e-4133-b733-83e9e866cf79", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "e69dfa6f-d121-4af0-8064-950a81bf5e8f", "CreateDate": "2025-06-02T14:49:19.3282202-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:49:19.3282202-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }