Example of web service import set

Sneha39
Mega Guru

Hi,

I need steps to tutorial/videos to   create API ( using webservice import set) .

Thanks in advance

1 ACCEPTED SOLUTION

Rajesh Mushke
Mega Sage
Mega Sage

Here the steps :



Creating an import set web service


Create a new web service import set table to define how to stage and transform imported data.


Navigate to System Web Services > Create New.


Create Mapped Web Service


The Name of the web service is the table name of the import set table whereas the Label field is the resulting table field.


If you want to create a transform map after creating the web service, check the Create transform map checkbox and choose the target table you want the data to transform into. After the Create button is clicked, the web service will be created and you will be immediately put into the Table Transform Map form. You may then continue to specify the transform map or script.


Web Service Fields

The fields available for this web service. All fields by default are published as the XSD type of xsd:string. The Name is the field that is exposed for the web service and therefore appears as the name of the field in the WSDL. The Label is the label of the field as it appears for the import sets table.


You can Add, mark for Delete or modify (double click the field) an existing web service field in this list.


Note: After adding web service fields, click Create to create the web service import set table.


To add other fields after the Web Service is created, find the target table, and add the fields to that table.




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

View solution in original post

4 REPLIES 4

Rajesh Mushke
Mega Sage
Mega Sage

Hello Sneha,



Please Refer :



Web Service Import Sets - ServiceNow Wiki



Web service import sets



Mapping web service import sets



Import Set API - ServiceNow Wiki




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Hi Rajesh,



Can you please let me know in brief what are the steps to create a webservice import set



for eg :


1.create a webservice


2.create transform map etc



Sorry I am new to servicenow so any basic will be good - thanks


Rajesh Mushke
Mega Sage
Mega Sage

Here the steps :



Creating an import set web service


Create a new web service import set table to define how to stage and transform imported data.


Navigate to System Web Services > Create New.


Create Mapped Web Service


The Name of the web service is the table name of the import set table whereas the Label field is the resulting table field.


If you want to create a transform map after creating the web service, check the Create transform map checkbox and choose the target table you want the data to transform into. After the Create button is clicked, the web service will be created and you will be immediately put into the Table Transform Map form. You may then continue to specify the transform map or script.


Web Service Fields

The fields available for this web service. All fields by default are published as the XSD type of xsd:string. The Name is the field that is exposed for the web service and therefore appears as the name of the field in the WSDL. The Label is the label of the field as it appears for the import sets table.


You can Add, mark for Delete or modify (double click the field) an existing web service field in this list.


Note: After adding web service fields, click Create to create the web service import set table.


To add other fields after the Web Service is created, find the target table, and add the fields to that table.




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Rajesh Mushke
Mega Sage
Mega Sage

Hello Sneha,



I hope your Query is been Answered or else let me know if you need more help, Please hit Like and Helpful and mark as Correct Answer.



This enables other customers to learn from your thread.


Thank you in advance.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.






Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke