1. A method of transmitting data to a server by using an open application programming interface (API), the method comprising: acquiring basic data of a type defined in the open API and extended data of a type not defined in the open API; converting the extended data to data of a type defined in the open API; and invoking the open API and transmitting the basic data and the converted extended data to the server.