DIAPI (Data Interface API)
Application directly takes reference to the functionalities and sends data according to API provided by SAP. Since, no standard is maintained on input or output data, its more specific and generates specific output as per the call.
DI-Server (Data Interface Server)
It is Component Object Model (COM) Service that gets auto-installed into the server with SAP B1 installation. It enables multiple client applications to view and manipulate the company database using SOAP messages. SOAP based solutions are developed to read, write and update and remove data objects on the database level without handling the database objects manually.
Click Here to get more detailed info.