GET PropertyTypes?propertyTypeId={propertyTypeId}
Retrieves a property type by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
propertyTypeId |
Id of the property type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the 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": "fa0e019f-0a12-43ae-baca-711e5ad014fd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "82704637-0079-4f23-acee-323f2468733a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bdb2217a-207c-498b-8bf9-03b961e6328c", "CreateDate": "2024-03-27T20:21:02.9116248-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:02.9116248-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "573e66bd-f792-493f-8447-63f629900a25", "Name": "sample string 1" }, "Unit": { "UnitId": "ebf75f71-e999-4264-b364-889fc9f04256", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a03b835c-7e84-46f2-99d1-2d3d57d21113", "CreateDate": "2024-03-27T20:21:02.9116248-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:21:02.9116248-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": "9bf360d7-ed5b-401d-8557-ea53c1f59b5d", "CreateDate": "2024-03-27T20:21:02.9116248-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:21:02.9116248-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }