If you want to physically delete the information of IM-common master and account at once, you need to implement a deletion process using API and logic flow.
It can be implemented by one of the following methods.
1. Implement a process using the API below.
[Delete company/department]
●Script development API (IMMCompanyManager object)
・Delete company information IMMCompanyManager#removeCompany
https://www.intra-mart.jp/apidoc/iap/apilist-ssjs/doc/im_master/IMMCompanyManager/index.html#method-removeCompany_85
・Delete department information IMMCompanyManager#removeDepartment
https://www.intra-mart.jp/apidoc/iap/apilist-ssjs/doc/im_master/IMMCompanyManager/index.html#method-removeDepartment_89
●JavaEE development API (CompanyManager object)
・Delete company information CompanyManager#removeCompany
https://www.intra-mart.jp/apidoc/iap/javadoc/all-dev_apidocs/jp/co/intra_mart/foundation/master/company/CompanyManager.html#removeCompany-jp.co.intra_mart.foundation.master.company.model.ICompanyBizKey-
・Delete department information CompanyManager#removeDepartment
https://www.intra-mart.jp/apidoc/iap/javadoc/all-dev_apidocs/jp/co/intra_mart/foundation/master/company/CompanyManager.html#removeDepartment-jp.co.intra_mart.foundation.master.company.model.IDepartmentBizKey-
Please note that if you delete a company, all department information under it will be deleted at the same time.
[Delete users]
In our products, user information is stored in two types: "Profile" and "Account".
Therefore, when deleting information, you need to delete two types of information: "User information" and "Account information".
●Script development API (IMMUserManager object, AccountInfoManager object)
・Delete account information AccountInfoManager#deleteAccountInfo
https://www.intra-mart.jp/apidoc/iap/apilist-ssjs/doc/tenant/AccountInfoManager/index.html#method-deleteAccountInfo_3
・Delete user information IMMUserManager#removeUser
https://www.intra-mart.jp/apidoc/iap/apilist-ssjs/doc/im_master/IMMUserManager/index.html#method-removeUser_27
●JavaEE development API (UserManager object, AccountInfoManager object)
・Delete account information AccountInfoManager#deleteAccountInfo
https://www.intra-mart.jp/apidoc/iap/javadoc/platform-all-dev_apidocs/jp/co/intra_mart/foundation/admin/account/AccountInfoManager.html#deleteAccountInfo-java.lang.String-
・Delete user information UserManager#removeUser
https://www.intra-mart.jp/apidoc/iap/javadoc/im_master_apidocs/jp/co/intra_mart/foundation/master/user/UserManager.html#removeUser-jp.co.intra_mart.foundation.master.user. model.IUserBizKey-
[Delete roles]
●Script development API (RoleInfoManager object)
・Delete role RoleInfoManager#deleteRoleInfo
https://api.intra-mart.jp/iap/apilist-ssjs/doc/tenant/RoleInfoManager/index.html#method-deleteRoleInfo_9
●JavaEE development API (RoleInfoManager object)
・Delete role RoleInfoManager#deleteRoleInfo
https://api.intra-mart.jp/iap/javadoc/all-dev_apidocs/jp/co/intra_mart/foundation/admin/role/RoleInfoManager.html#deleteRoleInfo
2. Implement a process using logic flow.
<intra-mart Accel Platform IM-LogicDesigner specifications>
5.2. Task list
https://document.intra-mart.jp/library/iap/public/im_logic/im_logic_specification/texts/appendix/task_list.html
--Target-------------------------------------------------------------------------
iAP/Accel Platform/All Updates
---------------------------------------------------------------------------------
FAQID:1320