This is an example where many requests are required to get all data for one object. In case of persons, plugin or Web service can not return all the address at the same time as the information about the person. In this case, addresses will be retrieved when the asXML method called.
Here are some other cases :
- order lines of a sale order
- categories of a product
Note that it depends on the Web Service, one can give all data at a time where others can not.
ID of these request also follow some rules, construction of the ID is the following
ObjectType_getSubObjectType/PropertyList
Currently here the list of WSR used that way :
Person_getAddresObjectList
SaleOrder_getSaleOrderLineList
Product_getCategoryList