Comments (8)
1. For creating ticket attachment issue Locate path in your project:
vendor/uvdesk/api-bundle/API/Tickets.php
open Tickets.php and make change as done in below link:
or directly copy and replace your existing file code from here.
2. For ticket reply attachment issue Locate path in your project:
vendor/uvdesk/api-bundle/API/Threads.php
open Threads.php and make change as done in below link:
or directly copy and replace your existing file code from here.
from api-bundle.
Hy. Thank you very much for the reply. When i upload multiple attachments to uvdesk, it only uploads the last file in the set of files sent, and discards the rest. It is just like uvdesk does not accept an array of files when creating a ticket or replying to a ticket. It only takes one. Please help.
from api-bundle.
@mikelga
try with attachments key.
from api-bundle.
@mikelga
try with attachments key.
I have tried with "attachments": "text", but I have not got any result.
from api-bundle.
Try with "attachments": "file"
from api-bundle.
Try with "attachments": "file"
In what format need to go the attachments variable value?
I have tried with this cope sample but it does not upload any attachment:
import requests
with open("data_file.json", "rb") as file:
f = file.read()
headers = {"Authorization": "Bearer TOKEN"}
payload = {
"message": "Ticket Message",
"actAsType": "customer",
"name": "Name",
"subject": "Ticket Subject",
"from": "[email protected]",
"attachments": f
}
r = requests.post("http://my_server/api/v1/ticket", data=payload, headers=headers)
print r.content
from api-bundle.
I have this same issue, I cant still create a ticket with an attachment. Please can you show an example on how to do that in code. Thank You.
from api-bundle.
@phenomenalDenzel @mikelga
Issue has been fixed.
Check this: #12 (comment)
Closing the issue you can still open it if not working for you !!
from api-bundle.
Related Issues (20)
- When ticket is in the trashed tab should not be the agent updated
- When replying with a note and forward option added to the customer account so should not be added as a note and forward in the tickets
- When replying from the customer account with the postman API so not going to email to the agent side
- Unable to create ticket with attachment in Python HOT 2
- When create a custom field with required option from the postman side, so after create custom field not taking required on the when create a ticket from admin and customer end
- When we added multiple access token on our admin panel then copy the below token using copy button then always copy on the first token only
- When we are using the expired token from session logout api then token not expired/disabled from admin panel
- When we using the raw format for create agent api then here showing an error HOT 1
- When using session/login api then showing an error regarding UserAccessScopes
- When create an agent from api side then group, team, agent-priv, ticket-view option added
- On the agent side should be added api bundle icon and also shows session login api keys on the agent panel
- Should be shown a proper messages when using the session logout api
- If in api parameters leave space in last when create ticket then here showing an error
- When we create and update of agent, customer, group, and team option form postman api side then should be shown a validation for special characters
- When we using the wrong email from postman api side in agent and customer created and updated time so here should be shown a warning message instead of agent created on the admin dashboard
- Get /api/v1/tickets fails with - Call to a member function fails - Tickets.php HOT 2
- formatedCreatedAt in fetchTickets return new DateTime HOT 1
- got error on customer create
- another error on update customer data
- how can i post formatted message to api create?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-bundle.