Creation/deletion tables with REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
For the test purposes I need to create(and then remove) multiple tables via REST API.
Where can i read how to do that?
Thank you in advance,
Nadzeya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @nadzeyay ,
To create and delete tables in ServiceNow via REST API, you’ll need to use the Table API for record-level operations and the Metadata API for table-level definitions. However, creating or deleting entire tables via REST is not officially supported in standard Table API — you typically do this via scripting or Studio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for your response.
Unfortunately I could not find a decent tutorials on the tools, you mentioned on the perspective of the tables creation.
Table API I see ( https://ven01515.service-now.com/$restapi.do? Namespase: now , API name: Table API) it is CRUD on existing tables, it is good, but not suitable.
Can you please provide a link to the Metadata API ? I can not find it anywhere. Can you please provide links to the scripting tutorials? I need to set up automation for the builds, no manual steps there can be used.
Thank you in advance,
Nadzeya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you for your response.
Unfortunately I could not find a decent tutorials on the tools, you mentioned on the perspective of the tables creation.
Table API I see ( https://ven01515.service-now.com/$restapi.do? Namespase: now , API name: Table API) it is CRUD on existing tables, it is good, but not suitable.
Can you please provide a link to the Metadata API ? I can not find it anywhere. Can you please provide links to the scripting tutorials? I need to set up automation for the builds, no manual steps there can be used.
Thank you in advance,
Nadzeya
