GET PropertyTypes?assetTypeId={assetTypeId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves property types for the given parameters.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetTypeId |
Id of the asset type |
globally unique identifier |
None. |
take |
Number of property types to retrieve. Default is all property types |
integer |
None. |
skip |
Number of property types to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the property types before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of property types.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of PropertyType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "PropertyTypeId": "6d249bd1-8cea-4182-84fa-0595d533a7d4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9586d92e-0f4a-4bd4-b99f-d91191efa2dc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1bc88c2c-3418-4a19-9cd3-3de80e0665db", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T04:27:59.5415988-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "db4eac56-32ca-4a22-862b-20db29b24971", "Name": "sample string 1" }, "Unit": { "UnitId": "e1813034-94a8-482c-9b6b-1a2f6b8d0b82", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "75293344-91ab-4c58-a7ce-92ea6ce8a97c", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T04:27:59.5415988-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": "aa4c3161-5bd0-4277-a547-817f25cd6b9b", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T04:27:59.5415988-07:00", "LastModifiedUser": "sample string 7" }, { "PropertyTypeId": "6d249bd1-8cea-4182-84fa-0595d533a7d4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9586d92e-0f4a-4bd4-b99f-d91191efa2dc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1bc88c2c-3418-4a19-9cd3-3de80e0665db", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T04:27:59.5415988-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "db4eac56-32ca-4a22-862b-20db29b24971", "Name": "sample string 1" }, "Unit": { "UnitId": "e1813034-94a8-482c-9b6b-1a2f6b8d0b82", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "75293344-91ab-4c58-a7ce-92ea6ce8a97c", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T04:27:59.5415988-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": "aa4c3161-5bd0-4277-a547-817f25cd6b9b", "CreateDate": "2023-06-04T04:27:59.5415988-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T04:27:59.5415988-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }