Closed jQueryMike closed 5 years ago
You have used wrong base url. It should be id.vincere.io
On Thu, Dec 6, 2018, 20:29 jQueryMike <notifications@github.com wrote:
The issue happens when I send this request:
https://funlgroup.vincere.io/oauth2/authorize?client_id=e1dfd1ad-eecb-442f-a6df-b84d21d4c999&state=STATE&redirect_uri=https://funl-dev.azurewebsites.net/Home/Contact&response_type=code (changed last characters of client_id)
after following the instructions at https://github.com/vincere-io/vincere-identity/blob/master/README.md
And get the response body like below:
Whoops! This was not supposed to happen. This page has nothing to show, maybe you have mistyped or followed an incorrect link.
I am using postman.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vincere-io/restful-api-support/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ2ErlHJ2aI8d2ZqKQi5qdiyZlEjVcGlks5u2RvQgaJpZM4ZGgos .
@jQueryMike how about your issue now?
Hey, thanks for the response. I have limited time looking at getting this working so apologies for the delay getting back.
FYI I'm using postman to test this where I can before setting up a .net app as a POC.
I have progressed. I saw that I was using the wrong base url so fixed that and was able to do everything to get the token and have successfully tested a call to the api and returned data from /candidate/{id}.
The problem I'm facing now is how to use the search endpoints, I'm not sure how to structure {matrix_vars} in the job/search/{matrix_vars} endpoint. Do you have some example searches that would work to return ALL, ALL IN INDUSTRY etc? If not is it possible to get access to a live job portal page so I can change filters and see how it changes the query (in dev tools)?
Your help is appreciated.
Thanks, Mike
For how to use matrix variable, pleas refer to https://dzone.com/articles/just-what-are-spring-32-matrix
Having read that article and part 2 on the blog I am still unable to retrieve results from the search endpoints.
The issue happens when I send the request:
Encoded request that is actually sent:
And get the response body like below:
{ "result": { "start": 0, "total": 0, "items": [] }, "category": "job" }
A successful 200 response with no results.
I can see in the admin console there are three jobs that have this company_id, why do I get zero results? Also from my previous post, what should the query be to return all jobs?
Thanks, Mike
Following on from my previous comment.
The issue happens when I send the request:
https://funlgroup.vincere.io/api/v2/company/search/fl=id,created_date,last_update,owners,industry;language=en;sort=created_date asc?q=id:14531%23
This should return the 'Universal Pictures' company but the response I get is again similar to the previous:
{ "result": { "start": 0, "total": 0, "items": [] }, "category": "company" }
I am attempting these requests on a test account with test data, does the issue have something to do with that?
Surely a request like https://funlgroup.vincere.io/api/v2/company/search/fl=id should return the id's of all companies yet I get the same result as above.
Thanks, Mike.
May you try again? I just reindexed your data.
Working!
Fantastic, thank you for your help.
Thanks, Mike
Glad to hear it. I close this ticket now.
The issue happens when I send this request: https://funlgroup.vincere.io/oauth2/authorize?client_id=e1dfd1ad-eecb-442f-a6df-b84d21d4c999&state=STATE&redirect_uri=https://funl-dev.azurewebsites.net/Home/Contact&response_type=code (changed last characters of client_id)
after following the instructions at https://github.com/vincere-io/vincere-identity/blob/master/README.md
And get the response body like below:
Whoops! This was not supposed to happen. This page has nothing to show, maybe you have mistyped or followed an incorrect link.
I am using postman.