How do i create a table and columns using rest api?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 08:18 AM
Hi Shruthi,
Why would you want to create table and columns using REST API?
It is not recommended
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 09:16 AM
I agree with Ankur.
You should make a table in ServiceNow and you can add records to that Table using REST.
If you have a specific use case where you need to do this, take a look at this related post to help you out:
Hope that helps!
If it did, please mark as Helpful and consider marking as the Correct Answer to the question, thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 09:26 AM
yes
Use the Rest API Explorer select sys_db_object table then you can create
Method : POST
Endpoint : https://XXX.service-now.com/api/now/table/sys_db_object
https://xxxx.service-now.com/nav_to.do?uri=%2F$restapi.do