aiM18 Developer Center aiM18 Developer Center
DOC Home
  • Platform

    • Overview
    • Frontend Framework
    • Backend Framework
    • EBI Development
    • JSF Components
    • BPM Extension Interface
    • Telescope Extension Interface
    • Mobile App Setup
  • ERP

    • ERP EJB Interfaces
    • ERP XML Config Files
    • ERP Decorators (Frontend Interfaces)
  • Tutorial

    • Setup Development Environment
    • Sample App
  • Platform

    • Authentication
    • Common JSON Objects
    • Core Services
    • EBI Services
  • Enterprise Resource Planning
  • Human Capital Management
  • Business Process Management
  • Schedule Management
  • Document Management
  • Tutorial

    • Interacting with aiM18 via webservices
Tutorial
GitHub (opens new window)
DOC Home
  • Platform

    • Overview
    • Frontend Framework
    • Backend Framework
    • EBI Development
    • JSF Components
    • BPM Extension Interface
    • Telescope Extension Interface
    • Mobile App Setup
  • ERP

    • ERP EJB Interfaces
    • ERP XML Config Files
    • ERP Decorators (Frontend Interfaces)
  • Tutorial

    • Setup Development Environment
    • Sample App
  • Platform

    • Authentication
    • Common JSON Objects
    • Core Services
    • EBI Services
  • Enterprise Resource Planning
  • Human Capital Management
  • Business Process Management
  • Schedule Management
  • Document Management
  • Tutorial

    • Interacting with aiM18 via webservices
Tutorial
GitHub (opens new window)
  • Web Services Tutorial
    • Introduction
    • Getting Started
    • Java Environment
  • Search
  • Create Module Data
  • Modify Module Data
  • Check Stock Level
  • Outstanding AR/AP
  • Web Services Tutorial
Multiable
2024-01-09
目录

Web Services Tutorial

Version: 1.2 | Release Date: 07/02/2024

# Introduction

aiM18 is open to integration with various third-party systems.

aiM18 provides RESTful Web Services for developers to perform various tasks.

This tutorial focuses on two main topics:

  1. Create/Update Module Data through Web Services
  2. Generate Module Data Report

# Getting Started

The aiM18 platform offers standard RESTful Web services.

This is an industry-standard implementation, and if you have experience developing for other open platforms, it will be much easier to use.

Here are the only two things you need to prepare before starting.

  1. Authenticate your Application in aiM18.
  2. Complete Business Entity Setup. (Required only for ERP-related APIs)

Business Entity Setup

Go to the module you would like to access, a pop up message box will guide you what to be configured.

wst03

# Java Environment

The responses from the Web Services are in JSON format. If you are developing in Java, you can utilize some of our predefined Java base classes.

JSON data can be effortlessly converted into Java instances, like SqlEntity, for instance.

public static SqlEntity resolveResponseAsEntity(HttpResponse response) {
	String jsonData = resolveResponse(response);
	if (StringLib.isEmpty(jsonData)) {
		return new SqlEntity();
	}
	return JSON.parseObject(jsonData, SqlEntity.class);
}

For detailed information, please refer to Common JSON Objects.

Last Updated: 2025/05/13, 07:58:58
Search

Search→

Theme by Vdoing | Copyright © 1990-2025 Multiable | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式