fix misplaced stateId parameter

Actually, there is no `stateId` parameter in the Activity Profile API and in the Agent Profile API.

Though, I was not totally sure why the is also a `profileId` parameter besides the `activityId` and `agent` parameter. Is this `profileId` parameter needed in addition to the other parameter?