Attachments

Upload Attachment for Ticket

URL:

http://www.ihelpdesk.com/desktop/api/{SITE_NAME}/attachments/ticket/{TICKET_ID}

HTTP Method: POST

Content Type: multipart/form-data

Request Body

Binary data

Example

Suppose your iHelpdesk site name is acme, with user name being joe@acme.com and password being joe.

curl -H “Content-Type: multipart/form-data” -u joe@acme.com:joe -X POST –form file=@test.png http://ihelpdesk.com/desktop/api/acme/attachments/ticket/132259092257303

Upload Attachment for Comment

URL:

http://www.ihelpdesk.com/desktop/api/{SITE_NAME}/attachments/comment/{COMMENT_ID}

HTTP Method: POST

Content Type: multipart/form-data

Request Body

Binary data

Example

Suppose your iHelpdesk site name is acme, with user name being joe@acme.com and password being joe.

curl -H “Content-Type: multipart/form-data” -u joe@acme.com:joe -X POST –form file=@test.png http://ihelpdesk.com/desktop/api/acme/attachments/comment/132259092257303