updated get/post Addrevenue to include uid and pid in the url path