Get a list of activities by service
Description
Return a list a activities for a given service.
Package Details
Interface
IActivityManager
Syntax
_activityManager.GetByServiceId( int serviceId )
Returns
Task<ICollection<Activity>>
API
/api/v1/services/{id}/activities
Parameters
id: Service id used to return its associated activities.
Returns
200 OK - Array of activities
Example
await activityManager.GetByServiceId(<your service id>);