The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Hi I am working in REST API of service now. In Import Set API i can't access Retrieve an Import Set record (GET) method. It says record not found evethough I gave sys_id of I posted.

yashothara
Kilo Contributor

In import Set API, I can't access Retrieve an Import Set Recordhttps://dev17686.service-now.com/$restapi.do?sysparm_cancelable=true method by giving sys_id   even though I posted a record and get sys_id of that.

1 ACCEPTED SOLUTION

The sys_id that is returned during a POST call to an import set table is not the sys_id of the record in the import set table.   It is the sys_id in the target table(where the record was transformed to)



To get the sys_id, as an admin, you have a multitude of options



Navigate to the record in a list, right click and copy sys_id.


Open the record in a new window, without the frames.   The URL will contain the sys_id


While in the record, right click on the header, select show XML, and find sys_id in there.


View solution in original post

19 REPLIES 19

yashothara
Kilo Contributor

Could you please tell me how can I give application access to imp_computer table which is already available in my instance. please give me step by step instruction because of I am not familiar.


ghsrikanth
Tera Guru

Go to the imp_computer list


Screen Shot 2016-03-14 at 3.32.56 PM.png



Screen Shot 2016-03-14 at 3.33.05 PM.png




As its show by default the Web services check box is checked, so I think you can resort the third option I gave, creating an exclusive ACL for rest_service role giving read access to the imp_computer table.



Mark if it is helpful or correct, feedback is appreciated


yashothara
Kilo Contributor

How did u go imp_computer. Because for me it is redirecting somewhere else. I think the problem is here create one is not checked. So I think because of that created one sys_id is not working


ghsrikanth
Tera Guru

I just launched - https://instancename.service-now.com/imp_computer_list.do? to get to the list of imp_computer


Right click -> Configure -> Table



Yeah you check the check box can create, I thought you are just trying to query through GET functionality.


The last resort will be creating an exclusive ACL for the role in the table.




Mark if it is helpful or correct, feedback is appreciated


yashothara
Kilo Contributor

After giving access also, getting is not working. So I have to try ACL one. For that I have to go System Security->Access Control. After that what should I do to create an exclusive ACL for the role in the table