POST User/savemobilesettings
Save the mobile settings for the user. Settings are sent as a Dictionary of string [key] and string [value].
Request Information
URI Parameters
None.
Body Parameters
SaveMobileSettingsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
API access token |
globally unique identifier |
Required |
| MobileSettings |
Dictionary of mobile settings |
Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"MobileSettings": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"token": "3b18428a-9472-4fc8-8bb0-88de526d069e"
}
application/xml, text/xml
Sample:
<SaveMobileSettingsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User">
<token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">3b18428a-9472-4fc8-8bb0-88de526d069e</token>
<MobileSettings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</MobileSettings>
</SaveMobileSettingsRequest>
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
API result code |
integer |
None. |
| error |
API error message |
string |
None. |
| APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIVersion": 1,
"code": 200,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API"> <APIVersion>1</APIVersion> <error>sample string 2</error> </APIResult>