cancel
Showing results for 
Search instead for 
Did you mean: 

APIs for creating ticket and getting ticket details

anupamol
Explorer
0 Kudos

Hi everyone,

I want to integrate the Ticketing feature to a bot which has following 2 use-cases:

  1. user can create a ticket through bot
  2. user can view ticket details like ticket status in the bot

I came across this documentation on Ticket APIs https://api.sap.com/api/ticket/resource but I'm not sure which is the exact API to be used.

Can anyone please help me with:

  1. API details for creating a ticket via ECSC (Ask HR) or via email or via C4C
  2. API details for retrieving all the details of a user's tickets, such as description, status, etc

Accepted Solutions (1)

Accepted Solutions (1)

Juliuspereira
Active Contributor
0 Kudos

Hello Anupa,

You could try the below API calls which are in the c4codataapi.

ServiceRequestCollection

ServiceRequestAttachmentFolder

ServiceRequestDescription

They are all in c4codataapi

We are not using a bot but using the above APIs to programatically create/ read tickets in C4C from an external system.


anupamol
Explorer
0 Kudos

Thank you Julius. Will use these APIs. Just another question, do these c4codata API requests require Authorization tokens?

Juliuspereira
Active Contributor

I do not think its required/ mandatory.

Answers (0)