POST api/UserSetting/Edit
Add and update user settings
Request Information
URI Parameters
None.
Body Parameters
UserSettingsObject| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
For Edit mode set value otherwise set = 0 |
Object |
None. |
| UserID |
UserID is required |
Object |
None. |
| IsFullyHostedOnClientAccount |
IsFullyHostedOnClientAccount is required. Set value = 0 (false) or 1 (true) |
Object |
None. |
| IsAllowWebHookParser |
IsAllowWebHookParser is required. Set value = 0 (false) or 1 (true) |
Object |
None. |
| WebHookParserURL |
Set default value = ""(Blank) Otherwise set WebHookParserURL |
Object |
None. |
| IsAllowWebHookNotification |
IsAllowWebHookParser is required. Set value = 0 (false) or 1 (true) |
Object |
None. |
| WebHookNotificationURL |
Set default value = ""(Blank) Otherwise set WebHookParserURL |
Object |
None. |
| IsAllowAPIAccess |
IsAllowWebHookParser is required. Set value = 0 (false) or 1 (true) |
Object |
None. |
| ClientSecret |
Set default value = ""(Blank) Otherwise set WebHookParserURL |
Object |
None. |
| IsDatabaseHostedOnClientAccount |
IsAllowWebHookParser is required. Set value = 0 (false) or 1 (true) |
Object |
None. |
| DBSQLServer |
Set default value = ""(Blank) Otherwise set DBSQLServer |
Object |
None. |
| DBPort |
Set default value = ""(Blank) Otherwise set DBPort |
Object |
None. |
| DBName |
Set default value = ""(Blank) Otherwise set DBName |
Object |
None. |
| DBUserID |
Set default value = ""(Blank) Otherwise set DBUserID |
Object |
None. |
| DBPassword |
Set default value = ""(Blank) Otherwise set DBPassword |
Object |
None. |
| DBConnectionTimeout |
Set default value = ""(Blank) Otherwise set DBConnectionTimeout |
Object |
None. |
Request Formats
application/json, text/json
{
"ID": {},
"UserID": {},
"IsFullyHostedOnClientAccount": {},
"IsAllowWebHookParser": {},
"WebHookParserURL": {},
"IsAllowWebHookNotification": {},
"WebHookNotificationURL": {},
"IsAllowAPIAccess": {},
"ClientSecret": {},
"IsDatabaseHostedOnClientAccount": {},
"DBSQLServer": {},
"DBPort": {},
"DBName": {},
"DBUserID": {},
"DBPassword": {},
"DBConnectionTimeout": {},
"CreatedBy": {},
"CreatedDateTime": {},
"CreatedIp": {},
"ModifiedBy": {},
"ModifiedDateTime": {},
"ModifiedIp": {}
}
application/xml, text/xml
<UserSettingsObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrategicAlliance"> <ClientSecret /> <CreatedBy /> <CreatedDateTime /> <CreatedIp /> <DBConnectionTimeout /> <DBName /> <DBPassword /> <DBPort /> <DBSQLServer /> <DBUserID /> <ID /> <IsAllowAPIAccess /> <IsAllowWebHookNotification /> <IsAllowWebHookParser /> <IsDatabaseHostedOnClientAccount /> <IsFullyHostedOnClientAccount /> <ModifiedBy /> <ModifiedDateTime /> <ModifiedIp /> <UserID /> <WebHookNotificationURL /> <WebHookParserURL /> </UserSettingsObject>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.