-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
We are using sirportly version 1.2.7
While calling sirportly api,
http://sirportly.com/docs/api-specification/tickets/uploading-attachments
we are getting a 400 bad request error.
We successfully executed the curl command which is provided in api.
in ticket.rb
# Allows you to upload attachments to existing ticket updates. Accepts a hash of parameters needed to create the attachment.
def add_attachment(params = {})
if req = client.request('tickets/add_attachment', format_params(params))
true
else
false
end
end
@upload = ticket.add_attachment(:ticket =>"FZ-387470", :update =>"8190628", :file =>"home/abc.jpg") ,
these are params which we are passing.
Metadata
Metadata
Assignees
Labels
No labels