Start activity
This will initiate the given activity for the user. If the user has an open activity, that activity will first be ended. For duration-based activities, the start of the new activity will be set to the end of the previous, duration-based activity.
For example, these properties must be sent as the request body (in JSON format) for this POST body API call:
- type: RECEIVE
- userid: matthew.cenci@infor.com
These conditions may generate these messages:
If the passed in user is not an active user in WMS, then this message will display:
Invalid user id specified, or user is not active
If the user has not yet clocked in for the day, then this message will
display:
User has not yet clocked in; please clock in before initiating an activity
If the provided activity is not a valid non-system activity, then this message will
display:
The system could not find an activity with the provided name
If the system is not able to locate the completed activity after making the call to
createIndirectActivity, then this message will display:
The system could not create a new activity for this user, please try again