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": "8e2c39a9-e2c3-4f89-a275-ad28942c1c5a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "563a79f5-a51e-4e11-a240-fca05b54ca0e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6740638a-a6e1-4523-b239-a127817764b7", "CreateDate": "2023-06-04T03:42:48.3982136-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T03:42:48.3982136-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "5058bcd4-275a-466e-9332-6d0eb3afb32e", "Name": "sample string 1" }, "Unit": { "UnitId": "cebe3418-f156-4f3f-b95b-83b25a345b40", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3508fa92-7025-4d7d-83a5-8c789eb739bc", "CreateDate": "2023-06-04T03:42:48.3982136-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T03:42:48.3982136-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": "0aa0e7d8-1250-4bbf-9817-03ab02f27b4a", "CreateDate": "2023-06-04T03:42:48.3982136-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T03:42:48.3982136-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }