Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Create Import Set Record operation


The Create Import Set Record operation creates an import set record.

Note

The prerequisites for the Create Import Set Record operation are specified in the Prerequisites for the Adapter section.

The following table describes the elements for this request. If the valid value for an element is not provided, the valid value is assumed as a string.

 Adapter request elements for the Create Import Set Record operation

Here, the <category>, <comments> and <uuid> elements are derived from the import set that you have defined in the ServiceNow application. The "Find Import Set Fields" wrapper in the "Utilities" folder can be used to list the fields of an import set table.

The following figure displays a sample adapter request for this operation.

Sample adapter request for the Create Import Set Record operation

 <request-data>
 <service-now-request>
   <operation-name>create-import-set-record</operation-name>
   <proxy-settings>
     <host>172.11.11.111</host>
     <port>808</port>
     <user-name>username</user-name>
     <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
   </proxy-settings>
   <arguments>
     <connection-parameters>
       <user-name>username</user-name>
       <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
     </connection-parameters>
     <importset-table>imp_notification</importset-table>
     <category>Cat</category>
     <comments>myComments</comments>
     <uuid>3210321</uuid>
   </arguments>
 </service-now-request>
</request-data>


The following figure shows the adapter response for the sample request:

Sample adapter response for the Create Import Set Record operation

 <service-now-response>
 <metadata>
   <response-count>1</response-count>
   <status>success</status>
 </metadata>
 <responses>
   <response>
     <metadata>
       <count>1</count>
     </metadata>
     <item>
       <metadata>
         <status>success</status>
       </metadata>
       <parameters>
         <sys-id>ed1f1de94a3623050128303a9af901c4</sys-id>
         <table>incident</table>
         <display-name>number</display-name>
         <display-value>INC0011019</display-value>
         <status>inserted</status>
       </parameters>
     </item>
   </response>
 </responses>
</service-now-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*