Add base api for building reports