Get custom ticket fields via API

  • 14 May 2019
  • 2 replies
  • 280 views

Hey,

So to start with, we've created some custom fields in some service request type tickets, and I'm currently having trouble getting these fields via the API.
Also, for some reason some other fields show up empty:
"description":"","description_text":""

I would like to try getting all this data which isn't showing up in my API requests using: 
.freshservice.com/api/v2/tickets/' + $id + '?type=Computer+Name' and other URL's I've tried.

image

image





This topic has been closed for comments

2 replies

This is exactly what I wanted, thanks!
I didn't find this in documentation at all but it should be. 😃

Hi,

 you can GET this data via API using >>>


.freshservice.com/helpdesk/tickets/<ticket_ID>/requested_items.json


Regards
Peter