Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Example XML export

Example XML export

The URL query produces an XML document similar to this sample.

The following URL query produces an XML document similar to the sample shown:

https://<instance name>.service-now.com/incident_list.do?XML&sysparm_query=priority=1&sysparm_orderby=assigned_to

<?xmlversion="1.0"encoding="UTF-8"?><xml><incident><active>true</active><activity_due>2012-11-28 20:44:11</activity_due><approval>not requested</approval><approval_history/><approval_set/><assigned_to/><assignment_group>d625dccec0a8016700a222a0f7900d06</assignment_group><business_duration/><business_stc/><calendar_duration/><calendar_stc/><caller_id/><category>inquiry</category><caused_by/><child_incidents>0</child_incidents><close_code/><close_notes/><closed_at/><closed_by/><cmdb_ci/><comments/><comments_and_work_notes/><company/><contact_type>phone</contact_type><correlation_display/><correlation_id/><delivery_plan/><delivery_task/><description/><due_date/><escalation>0</escalation><expected_start/><follow_up/><group_list/><impact>1</impact><incident_state>1</incident_state><knowledge>false</knowledge><location>108752c8c611227501d4ab0e392ba97f</location><made_sla>true</made_sla><notify>1</notify><number>INC0010040</number><opened_at>2012-11-28 16:31:08</opened_at><opened_by>6816f79cc0a8016401c5a33be04be441</opened_by><order/><parent/><parent_incident/><priority>1</priority><problem_id/><reassignment_count>0</reassignment_count><rejection_goto/><reopen_count>0</reopen_count><resolved_at/><resolved_by/><rfc/><severity>3</severity><short_description>test +XB</short_description><skills/><sla_due/><state>1</state><subcategory/><sys_class_name>incident</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2012-11-28 16:31:33</sys_created_on><sys_domain>global</sys_domain><sys_id>4efe74640982300000a286aa871e705a</sys_id><sys_mod_count>4</sys_mod_count><sys_updated_by>admin</sys_updated_by><sys_updated_on>2012-11-28 18:44:11</sys_updated_on><time_worked/><upon_approval>proceed</upon_approval><upon_reject>cancel</upon_reject><urgency>1</urgency><user_input/><variables/><watch_list>dfdc91a809c2300000a286aa871e7057,46d44a23a9fe19810012d100cca80666</watch_list><wf_activity/><work_end/><work_notes/><work_notes_list/><work_start/></incident>
...
</xml>