To get workitem ID in c# MVC code
One answer
What data you get is described in the API description of the API you use. If you use some web API to create a work item, e.g. a POST you would get a response header and body back. The body would contain the information you need to get the item (or even the item). Either the ID is there or you need to GET the item and all its properties and find it in there.
Comments
i am creating the workitem through cURL command running the batch file from C# code , i have developed web application using MVC5 architecture , where my code contains execute method where i am passing the parameters like batch file, user , password, and file
where to get the ID ? i want to display the Workitem Number in the web page
i have used REST API to get the data