I couldn't find a method that would provide a list of device id's, I found id's in the log file though. I figured then that I could use getdevicedetails to get which name they were.
get getrooms didn't seem to work .
The call to "devices" will retrieve your device list, including the deviceId for each device.
You can retrieve your rooms like this: http://localhost:1178/zwave/rooms?password=yourpasswordhere