You will need to check Rules if you want to know if the specified camera is set to record full24h or by Motion Detection. Any rule could be the one that govern that recoding always is enabled.
In order to check all the rules using code, ConfigAPI Client sample might be helpful. Please see the sample -