Hi. I want to import some tickets along with attachments from another freshservice tenant.
I have an export of the attachments containing the following info:
ticket_id 54
id 21000006173
created_at 2022-06-21T09:14:03Z
updated_at 2022-06-21T09:14:07Z
name UOS_CHN-68.pdf
attachment_url https://devtesting2.attachments.freshservice.com/data/helpdesk/attachments/production/21000006173/original/UOS_CHN-68.pdf?response-content-type=application/pdf&Expires=1655890141&Signature=hbssI1usxE5P6-fymYXvSLrU6VAtMKMhnBiVFuroxzqarslf-bwEwgiUf8schFBpt~y-0Dj-ofeVjf3KX9XsWQ1xqjCu1KAjnpggnQx396a1ZnJp2yLLnOn5OKt3Kwo3-CHl-2Zruav0lvSW1T7bi8vxo8O1k0FdudbfAc~CtqoiWmYcdu~1C~rsN0BP5ltpLSROdcWv8w7bmOXkoySuszbRvhqde-LppOWTPUDePHRPamRk5US9AbEWYDG28rINi23QrqWMKsCUL0NwjeP6kylG35Gse4-HIT-qwYIPQmm~X6k7DbmftuE8oKDf2mOzRXGZSlWeifHJ4Qq6yl4B4w__&Key-Pair-Id=APKAIPHBXWY2KT5RCMPQ
content_type application/pdf
size 178568
canonical_url https://devtesting2.freshservice.com/helpdesk/attachments/21000006173
The create ticket documentation (Service Desk API for Developers | Freshservice) just says “array of attachments” as the attachment input. Can you clarify how I could import the above example alongside the ticket? (a curl example would be amazing)
Many thanks,
Michael D