Wednesday, March 16, 2016

Working with Import Set API in Service Now


What is ServiceNow?

ServiceNow is a software platform that supports IT service management and automates common business processes. This software as a service (SaaS) platform contains a number of modular applications that can vary by instance and user.

ServiceNow has two types of APIs such as SOAP and REST API. Most functions are same in those two APIs. ServiceNow offers three types of REST APIs such as Table API, Aggregate API and Import set API. There are some methods and tables in those APIs.

Accessing Import Set API differ from other APIs because we cannot directly access the records in import set tables. We have to give ACL permission for that. This blog illustrates about Import Set API.

What is Import Set API?

The ServiceNow Import Set API provides a REST interface for import set tables. The API transforms incoming data based on associated transform maps. The import set API supports synchronous transforms. Access to tables via the REST API is restricted by BasicAuth and the rest_service ACL

Import Set API provides two methods such as POST record and GET record by sys_id. When you create an instance four tables will be provided such as imp_computer, imp_location, imp_notification and imp_user. You can create your own tables also. The user should have rest_service role to access above two methods.

In this blog, I am discussing about how to give access to the table imp_computer and  create an exclusive ACL for rest_service role.

Giving Application Access to the records in the table
1. Go to the link "https://instancename.service-now.com/imp_computer_list.do " Here you have to specify your own instance name. After that below page will be displayed.
2. Then Right Click->Configure->Table


3. Then  a window like below will ,appear. In this window you can check the check box "can create", "can read", "can update" and "can delete" according to your requirement.

Create an exclusive ACL for rest_service role, giving access to the table

Before creating ACL for rest_service role, we have to create rest_service role for the user.
1. Elevating to a privileged role: For this type as "roles" in your filter of the instance. Then click on the Roles which appear in the list (left panel). Following window will appear. 


Then make Elevated privilege as true to security_admin

 After that click on a lock icon Icon-elevated.png which appears next to the user's name in the header.

 Then a pop up window will appear. In that window you have to tick security_admin.

2. Navigate to System Security > Access Control (ACL) in your instance. Following window will appear.

3. Click New.
4.Define the object the ACL rule secures and the permissions required to access the object. Put a read ACL for rest_service role- you should have security_admin role to create new ACLs: Incident.none and Incident.*



Now you have given ACL permission for that record. Then you can access Get Record by specifying sys_id method can be accessed.

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

Option 1: Navigate to the record (https://instancename.service-now.com/imp_computer_list.do) in a list, right click and copy sys_id.




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


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



After getting the sys_id go to REST API Explorer by typing "rest" in the filter in your instance.

Then specify the table name as "imp_computer" and your copied sys_id and click send.

The Response message will like below.




59 comments:

  1. ServiceNow is a software platform that supports IT service management and automates common business processes. For training on ServiceNow check this site Tekslate.

    ReplyDelete
  2. the article provided by you is very nice and it is very helpful to know the information about servicenow ..i found a article related to you..once you can check it out
    servicenow online training

    ReplyDelete
  3. I found a article related to you..once you can check it out keep update with your blogs.
    servicenow online training india

    ReplyDelete
  4. the blog is about how to work with Import Set API in Servicenow and so much useful for students and employee
    for more updates go with ServiceNow Online Training

    For more Info on other Technologies go with below links

    Python Online Training

    ServiceNow Online Training

    tableau online training hyderabad

    mulesoft Online Training

    ReplyDelete


  5. well done the blog is great and it is about Working with Import Set API in Service Now it is useful for students and servicenow Developers for more updates on servicenow ServiceNow Online training

    ReplyDelete



  6. well done the blog is great and it is about Working with Import Set API in Service Nowit is useful for students and servicenow Developers for more updates on servicenow ServiceNow Online training

    ReplyDelete
  7. Thanks for you post on brief information on import set API in service now.. Expecting some more articles from your bloghttp://www.nitdata.com/service-now.html

    ReplyDelete
  8. well done the blog is great and it is about Service Now - JIRA Integration it is useful for students and servicenow Developers for more updates on servicenow ServiceNow Online training

    ReplyDelete
  9. Thanks for sharing valuable information with us, keep share content on ServiceNow Online Training

    ReplyDelete
  10. Thanks for sharing this usefull information. for more details of ServiceNow training visit Our website.

    ServiceNow Training in Hyderabad

    ReplyDelete
  11. nice and good article.please keep updating website.
    http://www.calfre.com/India/Hyderabad/ServiceNow-Training/listingcity

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete


  13. Nice blog..! I really loved reading through this article. Thanks for sharing such
    a amazing post with us and keep blogging...

    service now coaching in ammerpet

    ReplyDelete
  14. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live servicenow Training

    ReplyDelete
  15. Nice Post! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing… ServiceNow Training in Hyderabad

    ReplyDelete
  16. I've been wanting to know about this for a long time.....
    Thanks mate.Great post!
    Servicenow Training in Bangalore

    ReplyDelete
  17. This information is really awesome thanks for sharing most valuable information.
    ServiceNow Online Training

    ReplyDelete
  18. Congratulations! This is the great things. Thanks to giving the time to share such a nice information.
    sql server developer training classes

    sql server developer training institute

    ReplyDelete
  19. We are starting a new batch for Servicenow Online Training and scheduled a demo session for the same on 27th FEB at 7:00 A.M IST
    Servicenow Training Meeting link
    https://global.gotomeeting.com/join/717720693
    Or register now at +91-9642373173, +1-845-915-8712
    Course Link

    ReplyDelete

  20. Thanks for sharing such an amazing information its very beneficial for our company. our company name is innomatics research labs we offering data science,big data and many more courses to make student career successfull and we are giving online, classroom and corporate training our website is https://www.innomatics.in

    ReplyDelete
  21. o have more enhanced results and optimized benefits, you are able to take the help of experts making a call at QuickBooks Payroll Support Phone Number Well! If you’re not in a position to customize employee payroll in.

    ReplyDelete
  22. Nowadays it is a considerable challenge for business organizations to QuickBooks Enterprise Tech Support Number strategy to manage their business accounts in a convenient way. To utilize a successful organization, you have to have a strong account management process to cultivate and lead.

    ReplyDelete
  23. Our team at QuickBooks Support Phone Number is ready beforehand to provide you customer-friendly assistance in the event that you talk with a concern using QuickBooks Pro. Many of us is skilled, talented, knowledgeable and spontaneous. Without taking most of your time, our team gets you rid of most unavoidable errors for this software.

    ReplyDelete
  24. This will create your QuickBooks payroll software accurate. You won’t have any stress in operation. Even for small companies we operate. This technique is wonderful for a medium-sized company. You may get the most wonderful financial tool. QuickBooks Payroll Tech Support Number is present 24/7. You can actually call them anytime. The experts are thrilled to aid.

    ReplyDelete
  25. Our QuickBooks enhanced payroll support can assist you to stand in a competitive market. Intuit Payroll on the internet is one of the advanced competitive accounting software. Being occupied with many advanced features, in the event that you will contact QuickBooks support to operate this impressive software, you can easily smoothly increase your business without the technical issue. To get the QuickBooks support, you are able to contact our QuickBooks Payroll Service Phone Number.

    ReplyDelete
  26. The experts at our QuickBooks EnterprIse Technical Support Number have the necessary experience and expertise to address all issues linked to the functionality associated with the QuickBooks Enterprise.

    ReplyDelete
  27. Whatever the issue is, if it bothers you and deters the performance within your business, you may have to not get back seat and gives up, just dial us at our toll-free number and luxuriate in incredible QuickBooks Support Phone Number.

    ReplyDelete
  28. Access it the spot support for QuickBooks Support Phone Number for rectifying the technical glitches:Give a call at quickbooks support phone number, if you're encountering any difficulties which can be mentioned previously. If you are facing virtually any problems with your QuickBooks

    ReplyDelete
  29. Are QuickBooks Enterprise errors troubling you? Are you fed up with freezing of QuickBooks Enterprise Support Number? If yes, then you have browsed to the right place. QuickBooks Enterprise Support Phone Number is successfully delivering the world class technical assistance for QuickBooks Enterprise at comfort of your home.

    ReplyDelete
  30. Our support team is engaged in pre-research to create themselves prepared in advance for the possible errors of QuickBooks. This practice helps them produce you the specified wind up in the given time window. QuickBooks Support Phone Number are there to assist you 24*7 as we try not to disassociate ourselves together with your troubles even through the wee hours.

    ReplyDelete
  31. Your final decision is used in a team of QuickBooks Tech Support Number specialists WHO square measure extremely skillful and also have many years of expertise. they’ll resolve the errors fleetly and locate you back in business in no time.

    ReplyDelete
  32. Our QuickBooks tech support team is available for 24*7: Call @ QuickBooks Support Phone Number any time
    Take pleasure in with an array of outshined customer service services for QuickBooks via quickbooks technical support phone number whenever you want and from anywhere. It signifies you could access our tech support for QuickBooks at any moment. Our backing team is dedicated enough to bestow you with end-to-end QuickBooks solutions if you like to procure them for every QuickBooks query.

    ReplyDelete
  33. Quickbook Enterprise Support Number Helps A User To Have Assistance In Real Time. Although Quickbook Enterprise Support Can Be Availed Using E-Mail And Online Chat Yet QuickBooks Tech Support Number Is Released To Be Best Type Of Assistance.

    ReplyDelete
  34. QuickBooks Support today’s scenario individuals have got really busy within their lives and work. They would like to grow and learn as much new things as they possibly can. This drive has initiated a sense of awareness amongst individuals and therefore they find how to invent alternatives for daily tasks.

    ReplyDelete
  35. Really nice post.provided a helpful information.I hope that you will post more updates like this

    AWS Online Training

    ReplyDelete
  36. Be patient; they're going to inevitably and instantly solve your queries. No matter whether you are getting performance errors or perhaps you are facing any kind of trouble to upgrade your software to its QuickBooks Tech Support Phone Number latest version,

    ReplyDelete
  37. QuickBooks Support Phone Number get you one-demand technical help for QuickBooks. QuickBooks allows a number of third-party software integration. QuickBooks software integration the most useful solution offered by the software to manage the accounting tasks in a simpler and precise way. No need to worry about the costing of this software integration as it offers an array of pocket-friendly plans which you can use to handle payroll with ease.

    ReplyDelete
  38. QuickBooks customer Support Phone Number, QuickBooks PS series square measure several of the foremost common and then the most dangerous errors which our Users have to face. therein case, they ought to forthwith dial the fee QuickBooks Technical Support Service.

    ReplyDelete
  39. QuickBooks Payroll: A unique solution to manage your employees’ salary and other payroll functions of this business. QuickBooks Payroll Tech Support Phone Number enables users to see and approve employee work some time process payroll within five minutes. You can process payment both for 1099 contractors and W-2 employees at the speed of time.

    ReplyDelete
  40. Be sure that two QuickBooks Support Number files namely qbw32.exe and qbupdate.exe receives the update access through firewall security software and port 80 and 443 are not disabled.

    ReplyDelete
  41. service mapping training
    Nice article, interesting to read…
    Thanks for sharing the useful information

    ReplyDelete
  42. The guide may have helped you understand QuickBooks file corruption and methods to resolve it accordingly. If you'd like gain more knowledge on file corruption or any other accounting issues, then we welcome you at our professional QuickBooks Support Phone Number center.

    ReplyDelete
  43. This comment has been removed by the author.

    ReplyDelete
  44. Additionally, it might happen to occur amid Windows startup or shutdown, or notwithstanding when the Windows working framework is being introduced. This is the reason it is essential to monitor when and where the 9999 blunder happens which goes about as an incredibly vital snippet of data in investigating the issue. If you would like to learn how to Fix QuickBooks Error 9999, you can continue reading this blog.

    ReplyDelete
  45. Thanks for sharing your innovative ideas to our vision. I have read your blog and I gathered some new information through your blog. Your blog is really very informative and unique. Keep posting like this.
    Salesforce Training in Chennai

    Salesforce Online Training in Chennai

    Salesforce Training in Bangalore

    Salesforce Training in Hyderabad

    Salesforce training in ameerpet

    Salesforce Training in Pune

    Salesforce Online Training

    Salesforce Training

    ReplyDelete
  46. GOOD ARTICLE TO READ, I REALLY ENJOY READING ALL THE BLOGS YOU POST, JUST CHECK MY WEBSITES FOR MORE INFORMATION

    SV SOFT SOLUTIONS is your team work space where knowledge and collaboration meet to achieve great things.
    Our Services are

    Website Design and Development

    Billing Softwares

    Digital marketing

    App development

    ReplyDelete
  47. Thanks a lot for sharing a valuable blog on ServiceNow. I was browsing through the internet looking for ServiceNow training and ServiceNow Interview Questions and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information here about ServiceNow and ServiceNow Interview Questions

    ReplyDelete
  48. Thanks for the information. The information you provided is very helpful for ServiceNow Training learners.

    ReplyDelete
  49. Thanks for sharing informative information, get quick response, connect with Quickbooks Enterprises support at +1(855)-856-0053, our team of experts will help you get rid of QuickBooks Error QBW32.exe and others QuickBooks software issues. Call now!

    ReplyDelete
  50. QuickBooks Database Server Manager have created a massive impact in the world of accounting and finances. It is now extremely preferred by most businesses to generate invoices thus helping small businesses run with authenticity. One great thing about QuickBooks is that its interface is so easy that anyone can use it without any hassle

    ReplyDelete