Clarifications on accessing the API endpoints like JobSubmit, Authenticate, etc.
Hi.
I am using a F2M user account (username: qinlei.fan@ricoh-usa.com) in accessing the endpoint: https://messaging.easylink.com/soap/sync inside the code that I've written for the API to authenticate user, send fax, etc. and it works fine. However, I have created a user inside https://myportal.opentext.com/XddsPortal and I wanted to use this user's credentials that I have created to access the above endpoint but I'm getting a "authentication not accepted" error.
Below is the code snippet of how I assigned the new user credentials in the code:
XDDSAuthType xauth = new XDDSAuthType();
UIDType uid = new UIDType();
uid.setAliasType("m2f");
uid.set_value("harvey.mercado@fsoft.com.vn"); //instead of "qinlei.fan@ricoh-usa.com"
xauth.setRequesterID(uid);
xauth.setPassword("admin12345")
Can I confirm with you if this is possible? I mean, can I use any user that I have created in the web admin to access the API endpoint of say, jobsubmit or autnenticate user?
If not, how can I add users in my F2M registered account and allow access to the endpoint?
Please let me know.
Answers
-
Hi Angie,
After you create a new user the password state by default will be Temporary. So with the status as temporary, you can't access the apis.
There are two ways to resolve this issue.
1)Go to 'Edit User Preferences' screen in MyPortal and edit below 'Password State' drop down for that user(harvey.mercado@fsoft.com.vn) to 'Valid' then save preferences.
2)Try to login as that user from MyPortal which will takes you to change password screen where you can change the password. After you change the password 'Password State' will be internally moved to 'Valid' in User preferences screen.
So in either of these two ways once the Password state moved to valid then only you can access the APIs.
Thanks
0 -
Thanks for your quick response @mparvathi_2021 .
I was able to authenticate then send the fax however, when I check the web admin for the job status, I'm seeing the status below:
What does this mean and what should I do for the status to be complete and for me to see the result?
0 -
The Job Status is showing as 'AwaitingCompliance' because you are the complaince officer for 'harvey.mercado@fsoft.com.vn' and you haven't approved the faxes submitted by 'harvey.mercado@fsoft.com.vn'.
You need click on below link which will be present in the email that you will get with 'Approval required:.............' subject whenever 'harvey.mercado@fsoft.com.vn' submits faxes.
Then you need to approve the faxes by clicking on below highlighted action so that they will be delivered successfully.
If you don't want this functionality then you can remove the compliance officer value from user preferences of that user.
Regarding 'java.net.UnknownHostException: messaging.easylink.com', we don't see any issue from our side. It seems to be a temporary network issue from your end.
0
Categories
- All Categories
- 118 Developer Announcements
- 52 Articles
- 150 General Questions
- 137 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 175 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax