update api record method

ref HOSPIT-9
Merge pull request #4 from tachibanakikaku/implement_api_to_receive_data

update api record method