POST Preference
Request Information
URI Parameters
None.
Body Parameters
PreferenceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
String length: inclusive between 0 and 50 |
||
| LanguageChosen | string |
String length: inclusive between 0 and 10 |
|
| Property | PreferenceProperty |
None. |
Request Formats
application/json, text/json
Sample:
{
"email": "sample string 1",
"languageChosen": "sample string 2",
"property": 1
}
application/xml, text/xml
Sample:
<PreferenceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Site"> <Email>sample string 1</Email> <LanguageChosen>sample string 2</LanguageChosen> <Property>Language</Property> </PreferenceDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PreferenceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
String length: inclusive between 0 and 50 |
||
| LanguageChosen | string |
String length: inclusive between 0 and 10 |
|
| Property | PreferenceProperty |
None. |
Response Formats
application/json, text/json
Sample:
{
"email": "sample string 1",
"languageChosen": "sample string 2",
"property": 1
}
application/xml, text/xml
Sample:
<PreferenceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Site"> <Email>sample string 1</Email> <LanguageChosen>sample string 2</LanguageChosen> <Property>Language</Property> </PreferenceDto>
