API user should be able to choose background layer

It is not possible to choose the background layer when working with the API (simple or extended). The webmaster should be able to do that. 

Thanks a lot