POST GlobalSearchPreferences
Creates a new preference.
Request Information
URI Parameters
None.
Body Parameters
The data of the preference.
GlobalSearchPreferenceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityType | integer |
None. |
|
| EntityDescription | string |
None. |
|
| Enabled | boolean |
None. |
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the preference as GlobalSearchPreferenceDto.
GlobalSearchPreferenceDto| Name | Description | Type | Additional 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>