Author Message
AndreGronwald
Joined: Feb 17, 2015
Messages: 8
Offline
hi,
is there any simple overview of how to use web services of system manager 6.3?

thanks a lot,
andre
MakarandBhalekar
Joined: Oct 24, 2013
Messages: 22
Offline
Hi Andre,

You can download System Manager User Management Web Services SDK from below mentioned link.
It comes ready with the sample code to run the UMWS operations. The corresponding programmer's guide has a section on how to build and use the sample code.


But if you find that trivial, I would suggest gaining REST API familiarity using browser tools. Some worth considering are Firefox "RestClient" and Chrome "Advanced Rest Client" , "Postman", "DevHTTP Client".

I personally like "Postman".

These clients remember history, take care of authentication and cookie handling, provide hyperlink exploration of URIs, pretty print responses, handle JSON or XML, and have many other conveniences.

You can start with simple GET requests as they don't need any form data.
Let's say you have a user with login-name andre@mydomain.com configured on SMGR. Simply go to Postman and submit a GET request on https://<your-SMGR-IP>/web/mgmtwebservice/user/andre@mydomain.com

You should get the complete configuration for that user in response.

Study how various configurations are reflected in terms of XML. Then move on to "little" more complicated PUT and POST requests.

Regards,
MakarandBhalekar
Joined: Oct 24, 2013
Messages: 22
Offline
As it usually happens with me, forgot to give you the SDK download link.

http://www.devconnectprogram.com/site/global/products_resources/avaya_aura_system_manager/releases/6_3/index.gsp
AndreGronwald
Joined: Feb 17, 2015
Messages: 8
Offline
thanks a lot. you hit directly the point where I already succeeded: I used chrome's advanced rest client and soapui 5.0.0. But all I was able to get was my userdata via /web/mgmtwebservice/user/<loginid>@<domain>

I was not able to perform a simple update via POST method.

I simply want to change the moderatorcode for Conferencing:

<tns:user>
[...]
<commProfileSet>
<commProfileSetName>Primary</commProfileSetName>
[...]
<commProfileList>
<commProfile xsi:type="ns11:MmcsCommProfileType">
<commProfileType>mmcsCommProfile</commProfileType>
<ns11:template>desktop_user_collab_code_no_video_rec</ns11:template>
<ns11:securityCode/>
<ns11:moderatorPin>111111</ns11:moderatorPin>
<ns11:participantPasscode/>
<ns11:moderatorPasscode/>
<ns11:eventConfCode/>
<ns11:location>RZ_test</ns11:location>
<ns11:autoGeneratedCodeLength>6</ns11:autoGeneratedCodeLength>
</commProfile>
[...]
</commProfileList>
</commProfileSet>
</tns:user>
</tns:users>


How could I change that "<ns11:moderatorPin>111111</ns11:moderatorPin>" e.g.?

regards and thanks a lot for your support.
If necessary we could discuss via email or jabber or ...
andre
EricGalley
Joined: Nov 8, 2013
Messages: 7
Offline
Hello,

I have an issue with User Management Web Services : changing the name or firstname does not affect the latin translation fields.
How to fix that with 6.3.12, field names ?

Thank you.
AndreGronwald
Joined: Feb 17, 2015
Messages: 8
Offline
Hi,
I can confirm that the change is not done even if the webservice reports a success message when changing "<surnameAscii>LatTransTest</surnameAscii> - the value stays unchanged.

kind regards,
andre
MorrisG
Joined: Sep 8, 2017
Messages: 16
Offline
Hi,
I have developed the "User_Management_Webservice_Client_1-6" to modify User Management profile in System Manager. Currently, I'm trying to develop the Conferencing profile, and it looks like that there should be jar for "MmcsCommProfileType" as there's for others (e.g. SessionManagerCommProfXML). I don't see any jar specific to "MmcsCommProfileType" in the jars (10 of them) provided in the "JavaSampleClient\lib". Can you help?

Regards,
AndreGronwald
Joined: Feb 17, 2015
Messages: 8
Offline
Hi,
sorry, i didn't use any jars, only googles rest client (direct http interface).

regards,
andre
MorrisG
Joined: Sep 8, 2017
Messages: 16
Offline
@AndreGronwald

No worries...I appreciate your reply.
EricGalley
Joined: Nov 8, 2013
Messages: 7
Offline
In the help, you can find

Sample XML for bulk import of Conferencing Profile

<?xml version="1.0" encoding="UTF-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd ">

<!-- User Record for: 5555555@domain.com -->
<tns:user>

(Other user elements are required here - consult the main user record XML schema reference)

<!-- Here, a Communication Profile is defined for the user -->
<commProfileSet>
<commProfileSetName>Primary</commProfileSetName>
<isPrimary>true</isPrimary>


<!-- The user must be given one or more handles (of type “SIP” or E.164) -->
<handleList>
<handle>
<handleName>5555555</handleName>
<handleType>sip</handleType>
<handleSubType>username</handleSubType>
<domainName>domain.com</domainName>
</handle>
</handleList>

<!-- Here, one or more product-specific profiles may be Defined -->

<commProfileList>

<commProfile xsi:type="ns2:MmcsCommProfileType" xmlns:ns2="http://xml.avaya.com/schema/import_mmcs">
<commProfileType>mmcsCommProfile</commProfileType>
<ns2:template>event_1000</ns2:template>
<ns2:securityCode></ns2:securityCode>
<ns2:moderatorPin></ns2:moderatorPin>
<ns2:eventConfCode>777</ns2:eventConfCode>
<ns2:location>Location1</ns2:location>
<ns2:autoGeneratedCodeLength>6</ns2:autoGeneratedCodeLength>
</commProfile>
</commProfileList>
</commProfileSet>
</tns:user>
</tns:users>

Hope this help.
MorrisG
Joined: Sep 8, 2017
Messages: 16
Offline
@EricGalley

Hi Eric, Thanks for your reply. I actually need help with the client api that I'm developing, especially, with the method where the Users object is converted into XML string (marshalling). In the contextPathList, there must be a package mentioned for "MmcsCommProfileType", so the xml tags can be created as below

<commProfile xsi:type="ns11:MmcsCommProfileType">
<commProfileType>mmcsCommProfile</commProfileType>
<ns11:template>desktop_user_collab_code_with_video_rec</ns11:template>
<ns11:securityCode></ns11:securityCode>
<ns11:moderatorPin></ns11:moderatorPin>
<ns11:participantPasscode></ns11:participantPasscode>
<ns11:moderatorPasscode></ns11:moderatorPasscode>
<ns11:eventConfCode></ns11:eventConfCode>
<ns11:location>Avaya-CM</ns11:location>
<ns11:autoGeneratedCodeLength>6</ns11:autoGeneratedCodeLength>
</commProfile>


So, I'm thinking there should be a jar for "MmcsCommProfileType" as there are jars for others (xmlStationProfile, SessionManagerCommProfXML etc..)

Without the jar, it's missing the tags as below after marshalling:
<commProfile>
<commProfileType>mmcsCommProfile</commProfileType>
</commProfile>
EricGalley
Joined: Nov 8, 2013
Messages: 7
Offline
Hello Morris

As Andre I'm not using jar files.

I have some many issues with this webservice and I'm not surprised that there is missing files.

It's all except a real RestFul WebService :evil:
MorrisG
Joined: Sep 8, 2017
Messages: 16
Offline
@EricGalley

No worries....I'm sure something will come on the way.
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
This forum is for AES web services. We do have support for the System Manager User Management service for members at one of our upgraded support levels. Please open a DevConnect Technical Support ticket to get further assistance with this service.
MorrisG
Joined: Sep 8, 2017
Messages: 16
Offline
I had Avaya support trying to open a technical ticket, and she is getting an error , "You are not setup to utilize our ticketing system. This may be due to lack of Support Hours associated to your company. If you believe this is in error, please contact us ".

Can you help?
Go to:   
Mobile view