Method GetAnnotationSettingsForUser
GetAnnotationSettingsForUser(String, String)
Get user settings for annotations
Declaration
AnnotationSettingsContract GetAnnotationSettingsForUser(string connectionId, string userId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | userId | The user id (from Id) to request annotation settings |
Returns
Type | Description |
---|---|
AnnotationSettingsContract | Annotation settings for the given user |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetAnnotationSettingsForUser
Example for get user settings for annotations.{
"connectionId":"ded196ba-19e9-4bd4-ba86-433b3225979a",
"userId": "0100a003-38a7-11d8-a902-0050bf427e8f"
}
Response:
{
"GetAnnotationSettingsForUserResult": {
"AreaColor": -256,
"CoveringArea": -16777216,
"Templates": [{
"ColorBackground": -1,
"ColorText": -16776961,
"FontBold": true,
"FontItalic": false,
"FontName": "Arial",
"FontSize": 20,
"FontUnderline": false,
"Rotation": 0,
"TemplateName": "Genehmigt",
"TemplateText": "Genehmigt {%x}" }] }
}
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) |