Method AssignProcessesToDeputies
AssignProcessesToDeputies(String, String)
Assign processes to deputy
Declaration
void AssignProcessesToDeputies(string connectionId, string userId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | userId | All processes are assigned to the deputy of this user./> |
Examples
POST http://YourServerName/InfoShare/Json/Process/AssignProcessesToDeputies
Example for assign processes to deputies.{
"connectionId": "5bdaaf45-35bf-4c97-8000-84eb2f604cd2",
"userId": "cd87bff6-1fdf-eb11-a199-00155d109000"
}
Response:
{}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | User not found {userId} (10047) |
ServiceException | Deputy is not active or the deputy date is in the future (10380) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |