Create case api how to get the caseid back

Hi,

We have a use case where we need to create cases via the following endpoint:

/api/external/v1/cases/CreateCase
 
On creation i get a 200 http code, but not caseid of the case that was just created... what is the best way to get the caseid?
Solved Solved
0 8 554
1 ACCEPTED SOLUTION

We have manged to find a way around this.

Using the endpoint: /api/external/vi/search/CaseSearchEverything 

with the body: 

{
"externalAlertId": "{unique id set by supplier}",
"timeRangeFilter": 0
}

we can then retrieve the case id from the search result

View solution in original post

8 REPLIES 8