POST api/News/SavePreference/{Culture}/{IsAdmin}/{ShowDraftItem}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Culture | string |
Required |
|
IsAdmin | string |
Required |
|
ShowDraftItem | string |
Required |
Body Parameters
Collection of PreferenceListsName | Description | Type | Additional information |
---|---|---|---|
Businesses | Collection of LookupListProperties |
None. |
|
Regions | Collection of LookupListProperties |
None. |
|
Industries | Collection of LookupListProperties |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Businesses": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Regions": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Industries": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ] }, { "Businesses": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Regions": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Industries": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ] } ]
Response Information
Resource Description
Collection of PreferenceListsName | Description | Type | Additional information |
---|---|---|---|
Businesses | Collection of LookupListProperties |
None. |
|
Regions | Collection of LookupListProperties |
None. |
|
Industries | Collection of LookupListProperties |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Businesses": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Regions": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Industries": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ] }, { "Businesses": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Regions": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ], "Industries": [ { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true }, { "ID": "sample string 1", "Name": "sample string 2", "Sequence": 3, "IsChecked": true, "IsDefault": true } ] } ]