Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

XML web service

Log in to subscribe to topics and get notified when content changes.

XML web service

The Now Platform supports programmatic retrieval of XML data through a URL query (HTTP GET request).

The request is triggered by use of a URL parameter. The following XML-based export formats from a URL query are supported.

Table 1. XML-based export formats
Export Processor URL Syntax Example URL
Schema ?SCHEMA https://instance_name.service-now.com/incident.do?SCHEMA
XML ?XML https://instance_name.service-now.com/incident.do?XML
XSD ?XSD https://instance_name.service-now.com/incident.do?XSD
An example XML document retrieved using a URL with the following pattern https://instancename.service-now.com/change_request.do?XML is displayed below. Access control is protected using Basic Authentication.
<xml>
  <change_request>
    <description>Please install new Cat. 6500 in Data center 01</description>
    <category>Hardware</category>
    <due_date/>
    <scope>3</scope>
    <comments/>
    <knowledge>false</knowledge>
    <active>true</active>
    <phase>requested</phase>
    <justification/>
    <cab_date/>
    <review_date/>
    <sys_created_on>2009-04-14 23:14:14</sys_created_on>
    <correlation_id/>
    <follow_up/>
    <sys_domain>global</sys_domain>
    <close_notes/>
    <urgency>3</urgency>
    <change_plan/>
    <business_duration/>
    <sys_id>46cb2f54a9fe198101cf6814a2754606</sys_id>
    <state>1</state>
    <reason/>
    <closed_at/>
    <closed_by/>
    <sys_updated_on>2009-12-21 23:47:15</sys_updated_on>
    <contact_type>phone</contact_type>
    <group_list/>
    <risk>3</risk>
    <assignment_group/>
    <sys_updated_by>pat.casey</sys_updated_by>
    <production_system>false</production_system>
    <approval_history/>
    <sys_created_by>glide.maint</sys_created_by>
    <end_date>2009-12-21 00:30:00</end_date>
    <order/>
    <variables/>
    <calendar_duration/>
    <work_start/>
    <backout_plan/>
    <start_date>2009-12-20 19:30:00</start_date>
    <correlation_display/>
    <made_sla>false</made_sla>
    <location/>
    <test_plan/>
    <approval_set/>
    <sys_class_name>change_request</sys_class_name>
    <sys_mod_count>6</sys_mod_count>
    <review_comments/>
    <phase_state>open</phase_state>
    <time_worked/>
    <type/>
    <implementation_plan/>
    <priority>1</priority>
    <user_input/>
    <work_end/>
    <rejection_goto/>
    <upon_reject/>
    <requested_by_date>2009-04-08 00:00:00</requested_by_date>
    <delivery_plan/>
    <parent/>
    <delivery_task/>
    <short_description>Install new Cisco</short_description>
    <assigned_to>681b365ec0a80164000fb0b05854a0cd</assigned_to>
    <approval>requested</approval>
    <escalation>0</escalation>
    <review_status>3</review_status>
    <impact>3</impact>
    <watch_list/>
    <cmdb_ci/>
    <cab_recommendation/>
    <work_notes/>
    <sla_due/>
    <company/>
    <wf_activity/>
    <upon_approval/>
    <expected_start/>
    <requested_by/>
    <opened_at>2009-04-14 23:14:14</opened_at>
    <number>CHG0000008</number>
    <opened_by>glide.maint</opened_by>
    <activity_due/>
  </change_request>
...
</xml>
Feedback