Method GetUserConfigData
GetUserConfigData(String, String)
Reads user config data for current user
Declaration
string GetUserConfigData(string connectionId, string configId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | configId | The configuration id |
Returns
Type | Description |
---|---|
System.String | Config data for this configId |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetUserConfigData
Example for reads user config data for current user.{
"connectionId": "e08482f2-eb69-4693-b2c1-cdc87f641ec2"
"configId": "9762c061-b7cf-e911-a939-00155d290a08"
}
Response:
{
"GetUserConfigDataResult": "8bdf9e5d-fee0-e911-a94b-00155d290a08"
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Method does not allow getting user configuration data for configId {configId} (10156) |