HR-196: if planId is null, try to get it from the API (new call added)

Signed-off-by: Robert Miller <bob@bobtrix.com>
Merge pull request #46 from arvaris/7.1.4

HR-196: if planId is null, try to get it from the API (new call added)