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 string |
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": "92001a47-4f53-4d06-841e-d0905570037d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7b7ea165-0655-439c-8720-2e4f2bafe3dd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c5e2494d-46ef-41c3-8b00-a59fdcd35212", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T21:51:41.5005133-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "34083b81-ed2c-4c2b-a650-5d8ccf716afd", "Name": "sample string 1" }, "Unit": { "UnitId": "f7c716c1-e108-4287-ae85-bb76c3c6bb25", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0cd3fe51-1691-4af6-9d6f-c644c5ba5f98", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T21:51:41.5005133-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "04406b98-1788-4775-bdc1-252b0e2d750a", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T21:51:41.5005133-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": "d94a94f6-0528-42cf-b472-558e80984a0e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8abcbbfe-25af-46cf-9ad0-18d099a61d45", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d17b42ad-f583-423b-ad4b-bd278ff27556", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T21:51:41.5005133-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "b5e23040-14c4-4466-ac96-6be5f73804b6", "Name": "sample string 1" }, "Unit": { "UnitId": "08856ba5-82ce-4900-aa58-c20bbc1deebd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c44a1847-1a60-4721-870e-b1998b6c1bf0", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T21:51:41.5005133-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "683f2ecb-aff5-42f8-b88c-a0c783578588", "CreateDate": "2024-04-18T21:51:41.5005133-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T21:51:41.5005133-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }