@o2oa/action
v1.0.21
Published
O2OA Actions
Readme
Installation
npm install --save @o2oa/actionSample
import {server} from '@o2oa/action';
const env = {
"name": "myenv",
"host": "myserver.o2oa.net",
"port": 20030,
"user": "username",
"password": "password",
"protocol": "http"
};
//connect the server and login
const o2server = await getter.get(env);
//get o2server restful actions
const action = await o2server.action("x_processplatform_assemble_designer");
//request Process Applications
const processApplications = await action.ApplicationAction.list();