GET GlobalSearchPreferences/{entityType}

Get search preference by entity type, represented as GlobalSearchPreferenceDto.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityType

The entity type.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The preference.

GlobalSearchPreferenceDto
NameDescriptionTypeAdditional information
EntityType

integer

None.

EntityDescription

string

None.

Enabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityType": 1,
  "EntityDescription": "sample string 2",
  "Enabled": true
}

application/xml, text/xml

Sample:
<GlobalSearchPreferenceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Enabled>true</Enabled>
  <EntityDescription>sample string 2</EntityDescription>
  <EntityType>1</EntityType>
</GlobalSearchPreferenceDto>