Method GetAllowedTaskFunctions
GetAllowedTaskFunctions(String)
Get all allowed TaskFunction types
Declaration
List<string> GetAllowedTaskFunctions(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | List of allowed TaskFunction typesProcessUserTaskParameterContract that contains information returned from the web service call |
Examples
POST http://YourServerName/InfoShare/Json/Process/GetAllowedTaskFunctions
Example for call method GetAllowedTaskFunctions to get all allowed TaskFunction types.{
"connectionId": "03d58d49-3109-4bad-8706-2536e96bb0e3"
}
Response:
{
"GetAllowedTaskFunctionsResult":
[
"SetProtectionDomain",
"UpdateProperties",
"ExecuteStoredProcedure"
]
}
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) |