there is a long standing issue in CVB which is appearently not fixed yet. It relates to the order of P1 and P2 when specifying a rectangular area/AOI.
If there is no way changing it in the API, please consider doing it in the documentation. Otherwise even more developers have to wrap their heads around this when hitting it.
For the object oriented wrappers the order as defined in the docs you linked. If there is a tool where this is not correctly mapped, please mention the tool name where you see the error.