Skip to main content

I need to add a service item to an existing ticket via API, but the instructions are a bit confusing and I am getting a generic error message.  

 

This is the API instructions:

 

 

When it said sid], it usually is referring to the ticket ID, but I would assume the second cid] in this is the service item ID.  That is what I used, but it isn’t working.  I get error 404 not Found.  

Any ideas?

Adding a service item to an existing SR via API can sometimes be tricky, especially with unclear documentation. Ensure you’re using the correct API endpoint and payload structure as specified in the API guide. For detailed tutorials and troubleshooting tips, PoEHub (https://poehub.org/) has some excellent resources that might help you resolve this issue. Good luck!


Hi Shannon, 

I did type an earlier message but it hasn’t been approved for some reason.

I basically don’t believe this is currently possible without creating a child ticket. https://api.freshservice.com/v2/#create_child_service_request

What I’ve done instead is created a custom object record https://api.freshservice.com/v2/#create_custom_object_record, pasted a note into the ticket with the record https://api.freshservice.com/v2/#create_a_note and then requested approval https://api.freshservice.com/v2/#create_ticket_approval 

Hope this helps.

James


Reply