CEDEX-0000 updating api sample code