How do I find the Device ID for each device?

You will have to use the online Api tool to look up the devices IDs.

You can probably figure out how to do this if you look at part 3 of my HTTP API guide here