Dec 03, 2021
12:44 PM
I installed the Edge Server and responds to some calls like: /uai/2.0/updates/manifests but I get "404 page not found" for the events API call as documented in Events REST API in FNO_2021-10_UserGuide: /uai/2.0/events Sending 'events' which I can retrieve and analyze later is actually my goal, and it works well with the Cloud event server, as followed: https://{serverID}-ns-uat.flexnetoperations.com/uai/2.0/events Does Edge Server support that API call? Thanks
... View more
Nov 30, 2021
07:14 AM
Hello @jberthold, To follow up, I can't seem to find the installation file anywhere. Here's what your documentation says: To obtain the FlexNet Edge ZIP file: 1. Login to the Flexera Product and License Center using your Flexera Community credentials. 2. In the Product List , select FlexNet Operations Cloud . The P roduct Information page opens. 3. Click on FlexNet Operations Cloud Documentation . The Product Download page opens, listing files available for download. 4. Download the FlexNet Operations VERSION - FlexNet Edge.zip file. But when I go there, there is no such "FlexNet Edge.zip" file at all (see attached image). Where is that file supposed to be? Thanks
... View more
Nov 29, 2021
10:34 AM
We were looking at using the UAI REST interface to post "events" to the server, that we would later read and process. This works on cloud servers, but the API doesn't seem to exist on a Local License Server (to support offline licensing scenarios). I was wondering if I might have the URL wrong? In the case of the CLOUD server, the URI for posting events has the following format: https://cloudserverID-ns-uat.flexnetoperations.com/uai/2.0/events and this works. But what would it be on a local license server? For example, I would have expected something like this but it fails: https://servername:7070/uai/2.0/events but this fails ( No such REST API ) Can you confirm that either the UAI API is not supported on Local License Server, or else point me to the correct URI to access it or related documentation? Thanks
... View more
Sep 23, 2020
01:56 PM
Hello, One of our developers has a few questions, and he asked me to post his questions here. Thank you in advance for your help. I want to create a link with the user credentials, so from our website, if the user clicks on that link, they will be redirected to their portal in Flexera without the need to log in again. So based on your FlexNet Operation 2020 (Release 2 sp1) documentation, on the section "Configuring Secure Token Single Sign-on." I tried to create a native authentication, and it's written in the document that I need to use the UserAdministration web service, but I can't find that service. I am using the following URL https://flex1685-uat.flexnetoperations.com/flexnet/services/UserAdministration?wsdl. On page 712, it is mentioned that we need to create a FlexNet user for a web service client. From which service I can create that user? Do you have any examples of how to generate an SSO token with C#?
... View more
Sep 17, 2020
11:24 AM
How to get the list of all hostids for all of our servers hosted in the cloud, using the REST API? The documentation says to use global level "/hostids" which works on local license servers BUT NOT with FNO. The problem is not "authentication" but rather, what's the correct endpoint URL for "global level REST API to FNO", not a specific cloud server? The following tests should make the problem clear: https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/hostids (with appropriate ID for 'XXXX') Fails with "Not found". In fact this doesn't even seem to be a valid REST endpoint. http://localserverUrl/api/1.0/hostids Works. This validates that "/hostids" works. But I want the same thing for CLOUD SERVERS, not local servers. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/ Works. This validates that I have the correct path for a specific cloud server. But I want 'hostids' FOR ALL cloud servers, not a specific one. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/hostids/ Fails, which proves the "/hostids" REST command is not supported even for a specific cloud license server, like it is on a local license server. All my other REST calls work perfectly (authorize, features, etc.) so this is a specific problem for the '/hostids' endpoint only. Any help appreciated.
... View more
Sep 17, 2020
07:01 AM
That was not my question. I already do everything you say when I call the API and as I already explained, other API calls work fine. My question is specifically about the call to get all "/hostids" for all cloud servers in our company. In other words, our company account "XXXX" creates multiple cloud license servers "B", "C", "D" on FNO, for each of our customers. How do I retrieve this list (B, C, D) ? At this point, the problem is about this particular REST call seemingly nonexistent on FNO. http://localserverUrl/api/1.0/hostids Works for a local license server. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/hostids Fails for cloud server, not because of authorization but rather ' 404 Not Found': clearly the path "api/1.0/hostids" is incorrect. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/ Works and returns this specific instance's hostid information. But I want the list of ALL hostids we have in the cloud, not just one. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/hostids Fails (404 Not Found) . So again, my need is to programmatically retrieve the list of ALL cloud license server hostids so that I can select one of them and programmatically perform REST operations on it. But first I need to know which hostids exist...
... View more
May 15, 2020
09:35 AM
This was a great answer, i t makes everything much clearer . Thanks a lot jberthold for the detailed explanation (it should be added to the CMAPI manual) and for the PDF with example too.
... View more
May 14, 2020
03:43 PM
I have the CMAPI 2019R2 guide that I'm following and I do not see any example on HOW to GENERATE this token for the request. There is just a vague Python example on how to validate the response if you ask for a signed access.request. Also "The Capability Exchange Process" and "Means to Attach the JWT to the Capability Request" have no example and are totally vague. Is there any example of generating this token somewhere? There's also talks about generating keys on server and all, but I can't see how that would apply to the client license server on FNO, there's nowhere to set a certificate there. Any more precise clarification/example would really be helpful - we're stuck for those important calls.
... View more
May 14, 2020
02:27 PM
I am access the REST API of an FNO license server. I set a password on the license server on FNO and I can successfully authenticate. I receive a Bearer token, which allows me to make almost any REST calls such as "/features", "/hosts", etc... EXCEPT "/ access_request " ... Trying to request features through the "/access_request" access point FAILS as followed: Status:Unauthorized, Reason:{ "key" : "glsErr.userAuthFailed", "message" : "Authorization attempt at uri=/GlobalLicensingService/api/1.0/instances/RW0GJ2TDSZZW/preview_request failed for user (unknown) (error BadCredentialsException(Token refused due to missing key.))", "arguments" : [ "uri=/GlobalLicensingService/api/1.0/instances/RW0GJ2TDSZZW/preview_request", "(unknown)", "BadCredentialsException", "Token refused due to missing key." ] } Why this call fails but all the others are successful, with the SAME Bearer token? What to do? Also: IS THERE ANY EXAMPLE OF ACQUIRING A FEATURE USING REST API ON FNO SERVER?
... View more
Latest posts by kiangorji
Subject | Views | Posted |
---|---|---|
298 | Dec 03, 2021 12:44 PM | |
1192 | Nov 30, 2021 07:14 AM | |
1219 | Nov 29, 2021 10:34 AM | |
1010 | Sep 23, 2020 01:56 PM | |
798 | Sep 17, 2020 11:24 AM | |
3086 | Sep 17, 2020 07:01 AM | |
3701 | May 15, 2020 09:35 AM | |
3711 | May 14, 2020 03:43 PM | |
3720 | May 14, 2020 02:27 PM |
Activity Feed
- Posted Edge Server's (UAI) REST does not supporting events URI? on FlexNet Embedded Forum. Dec 03, 2021 12:44 PM
- Kudoed Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? for jberthold. Nov 30, 2021 12:13 PM
- Posted Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? on FlexNet Embedded Forum. Nov 30, 2021 07:14 AM
- Kudoed Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? for jberthold. Nov 29, 2021 02:45 PM
- Posted Is the Updates And Insights (UAI) REST interface available on Local License Server? on FlexNet Embedded Forum. Nov 29, 2021 10:34 AM
- Posted UseAdministration Web Service on FlexNet Operations Forum. Sep 23, 2020 01:56 PM
- Posted How to get list of HOSTIDS for all Cloud License Servers? on FlexNet Operations Forum. Sep 17, 2020 11:24 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. Sep 17, 2020 07:01 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 15, 2020 09:35 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 03:43 PM
- Posted REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 02:27 PM