- Revenera Community
- :
- FlexNet Operations
- :
- FlexNet Operations Forum
- :
- Web API /operations/api/updates/search
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
I tried setting this Post up in Postman. I used a bearer token for authorization. My url was
https://flex<mysite>.flexnetoperations.com/flexnet/operations/api/updates/search
The body used was:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Ken,
Are you working in your Production or UAT environment? The URL in your screenshot is missing the "-uat" if you are working in UAT. I tried a search on your Updates in UAT with names beginning with "Demo" and was successful:
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Ken,
The REST APIs to manage Updates in FlexNet Operations require Basic Authentication with your Producer Portal username and password.
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Jim,
I tried this with my producer portal username and password both in Swagger, Postman and in my implementation code.
In Swagger, I am repeatedly asked for my credentials with the popup attached to this replay.
Both Postman and my code return 401 unauthorized.
The full response from my code is:
- response {StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
X-Frame-Options: SAMEORIGIN
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Pragma: no-cache
X-Content-Type-Options: nosniff
Vary: User-Agent
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET
Keep-Alive: timeout=10, max=57
Connection: Keep-Alive
Cache-Control: no-store, must-revalidate, no-cache, max-age=0
Date: Thu, 19 Nov 2020 15:18:59 GMT
Set-Cookie: JSESSIONID=46Q7SeYl_gqJwoqaWmRXOcYL.sc-fnoapp-01; path=/flexnet
Set-Cookie: NSC_10.100.1.39_GOPXFC_443=14b5a3d94e3ccba681f7b2ff48ee03d4bb9c24581b8369761478e63378ce464c06e23611;path=/;secure;httponly
Server: server
WWW-Authenticate: Basic realm="Spring Security Application"
Strict-Transport-Security: max-age=4294967294
Content-Length: 184
Content-Type: text/html; charset=UTF-8
Expires: 0
}} System.Net.Http.HttpResponseMessage
Please advise.
Thank you,
Ken
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Ken,
Are you working in your Production or UAT environment? The URL in your screenshot is missing the "-uat" if you are working in UAT. I tried a search on your Updates in UAT with names beginning with "Demo" and was successful:
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks Jim! You are awesome!