Create Import Set Record operation
The Create Import Set Record operation creates an import set record.
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
<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
<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>