REST API's not returning response ?

Gaurav Kumar15
Giga Guru

Hi Team,

I am using the OOB rest API for incident table :-

https://instance.service-now.com/api/now/table/incident

I have few doubts :-

1. For creating incident via REST API , if we have to pass the username of Caller

'caller_id':'cb3230342bb3d60083dac7ac17da15af'

e.g :- This i am using for populating a user, is there any other way of populating caller, because 3rd party tool might not aware of the sys id of user record. So how rest will create the incident for some other user.

2. When i am hitting this Rest API, then the incident is getting created but Response is showing as empty in other tool. Does anyone knows why it comes as empty.

Thanks & Regards,

Gaurav Kumar

35 REPLIES 35

ctomasi


I believe earlier he mentioned that he can send in an API call and it does in fact successfully creates a record. However, the response says otherwise. But if he does the same thing with the same user using the API Explorer the response is the correct. I think that if it were an Access control rule or contextual security the record wouldn't be created at all.


But that is just my understanding of it as I reproduced this using Admin permissions where Admin override is included.


Thank you for the clarification Chris. I re-read #2 from the original post and agree. Something is odd.


Hi Chuck Tomasi Employee ,



I have another question, please help me on this.


I created the openFrame and phone icon is displaying here.(see the redlined area)



can i replace it with my custom image?


is it possible?




retina-icons-Phone-icon.png




Regards,


Sensiple


I do not have an answer for this one specifically.



Please create a new discussion thread so others can respond to it as well as future community users with the same question can find the answer quickly.


yes already created But still didn't get the solution.



But thank you so much for your response Chuck tomasi.