Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't fetch tickets belonging to a particular email #16

Closed
ricardotormo opened this issue Feb 17, 2021 · 2 comments
Closed

I can't fetch tickets belonging to a particular email #16

ricardotormo opened this issue Feb 17, 2021 · 2 comments

Comments

@ricardotormo
Copy link

ricardotormo commented Feb 17, 2021

Description

I'm trying to fetch the tickets belonging to a particular user.
As suggested by the API documentation (https://github.com/uvdesk/api-bundle/wiki/Ticket-Related-APIs) I tried:
To send a GET request to this endpoint: {my_localhost_url}/api/v1/tickets?actAsEmail={email@email.com}.

The API response is the same everytime, regardless of the email parameter.
So to clarify, everytime I receive a response containing all the tickets no matter their emails.

If I try this:
{my_localhost_url}/api/v1/tickets?actAsEmail={email@email.com}&actAsType=customer
The API returns an error.

How to reproduce

To reproduce this issue:

  1. Donwload and install uvdesk-community-skeleton.
  2. Install the api-bundle.
  3. Set up your api, following these steps: https://www.uvdesk.com/en/blog/api-resource/.
  4. Open Postman and try to fetch tickets belonging to a particular email using the above mentioned method.

Thanks for your help.

@ricardotormo ricardotormo changed the title I can't fetch tickets beloging to a particular email I can't fetch tickets belonging to a particular email Feb 17, 2021
@papnoisanjeev
Copy link
Contributor

@ricardotormo

Added updates on master branch.

@ricardotormo
Copy link
Author

Great! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants