webservice criando uma solicitação / request - sc_req_item

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2018 09:32 AM
webservice criando uma solicitação / request - sc_req_item
Acesso a documentação
https://<instance>.service-now.com/sc_req_item.do?WSDL
.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.service-now.com/sc_req_item" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.service-now.com/sc_req_item">
<wsdl:types>
<xsd:schema elementFormDefault="unqualified" targetNamespace="http://www.service-now.com/sc_req_item">
<xsd:element name="getKeys">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_history" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_class_name" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain_path" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_mod_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__use_view" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__encoded_query" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__limit" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__first_row" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__last_row" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getKeysResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="count" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="get">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__use_view" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_class_name" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain_path" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_mod_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getRecords">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_history" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_class_name" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain_path" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_mod_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__use_view" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__encoded_query" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__limit" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__first_row" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__last_row" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__order_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__order_by_desc" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="__exclude_columns" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getRecordsResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="getRecordsResult">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_class_name" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain_path" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_mod_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="update">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_history" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="1" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="insert">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_history" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="insertResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteMultiple">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="active" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="activity_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="additional_assignee_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_history" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="approval_set" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assigned_to" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="assignment_group" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="backordered" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="billable" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="business_service" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="calendar_duration" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cat_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="close_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="closed_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="cmdb_ci" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="comments_and_work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="company" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="configuration_item" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="contact_type" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="context" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_display" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="correlation_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_plan" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="delivery_task" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="due_date" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="escalation" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="estimated_delivery" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="expected_start" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="follow_up" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="group_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="impact" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="knowledge" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="location" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="made_sla" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="number" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_at" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="opened_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="order_guide" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="parent" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="priority" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="quantity" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reassignment_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_frequency" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="recurring_price" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="request" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sc_catalog" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="short_description" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sla_due" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="stage" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="state" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_class_name" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_created_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_domain_path" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_id" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_mod_count" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_by" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sys_updated_on" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="time_worked" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_approval" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="upon_reject" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="urgency" type="xsd:integer"/>
<xsd:element maxOccurs="1" minOccurs="0" name="user_input" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="watch_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_end" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_notes_list" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="work_start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteMultipleResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="count" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteRecord">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="sys_id" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteRecordResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="count" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="deleteMultipleSoapOut">
<wsdl:part name="sc_req_item" element="tns:deleteMultipleResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getKeysSoapIn">
<wsdl:part name="sc_req_item" element="tns:getKeys"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSoapOut">
<wsdl:part name="sc_req_item" element="tns:getResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getRecordsSoapIn">
<wsdl:part name="sc_req_item" element="tns:getRecords"></wsdl:part>
</wsdl:message>
<wsdl:message name="insertSoapIn">
<wsdl:part name="sc_req_item" element="tns:insert"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateSoapOut">
<wsdl:part name="sc_req_item" element="tns:updateResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getRecordsSoapOut">
<wsdl:part name="sc_req_item" element="tns:getRecordsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteMultipleSoapIn">
<wsdl:part name="sc_req_item" element="tns:deleteMultiple"></wsdl:part>
</wsdl:message>
<wsdl:message name="insertSoapOut">
<wsdl:part name="sc_req_item" element="tns:insertResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteRecordSoapIn">
<wsdl:part name="sc_req_item" element="tns:deleteRecord"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateSoapIn">
<wsdl:part name="sc_req_item" element="tns:update"></wsdl:part>
</wsdl:message>
<wsdl:message name="getKeysSoapOut">
<wsdl:part name="sc_req_item" element="tns:getKeysResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteRecordSoapOut">
<wsdl:part name="sc_req_item" element="tns:deleteRecordResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getSoapIn">
<wsdl:part name="sc_req_item" element="tns:get"></wsdl:part>
</wsdl:message>
<wsdl:portType name="ServiceNowSoap">
<wsdl:operation name="insert">
<wsdl:input message="tns:insertSoapIn"></wsdl:input>
<wsdl:output message="tns:insertSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="update">
<wsdl:input message="tns:updateSoapIn"></wsdl:input>
<wsdl:output message="tns:updateSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteMultiple">
<wsdl:input message="tns:deleteMultipleSoapIn"></wsdl:input>
<wsdl:output message="tns:deleteMultipleSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getKeys">
<wsdl:input message="tns:getKeysSoapIn"></wsdl:input>
<wsdl:output message="tns:getKeysSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteRecord">
<wsdl:input message="tns:deleteRecordSoapIn"></wsdl:input>
<wsdl:output message="tns:deleteRecordSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="get">
<wsdl:input message="tns:getSoapIn"></wsdl:input>
<wsdl:output message="tns:getSoapOut"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getRecords">
<wsdl:input message="tns:getRecordsSoapIn"></wsdl:input>
<wsdl:output message="tns:getRecordsSoapOut"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceNowSoap" type="tns:ServiceNowSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="insert">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/insert" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="update">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/update" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteMultiple">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/deleteMultiple" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getKeys">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/getKeys" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteRecord">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/deleteRecord" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="get">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/get" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getRecords">
<soap:operation soapAction="http://www.service-now.com/sc_req_item/getRecords" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ServiceNow_sc_req_item">
<wsdl:port name="ServiceNowSoap" binding="tns:ServiceNowSoap">
<soap:address location="https://dev14014.service-now.com/sc_req_item.do?SOAP"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
.
Endereço do Post
POST https://<instance>.service-now.com/api/now/table/{tableName}
Exemplo CURL
curl "https://<instance>.service-now.com/api/now/table/sc_req_item" \ --request POST \ --header "Accept:application/json" \ --user 'admin':'admin'
Exemplo Python
#Need to install requests package for python #easy_install requests import requests # Set the request parameters url = 'https://<instance>.service-now.com/api/now/table/sc_req_item' # Eg. User name="admin", Password="admin" for this code sample. user = 'admin' pwd = 'admin' # Set proper headers headers = {"Content-Type":"application/json","Accept":"application/json"} # Do the HTTP request response = requests.post(url, auth=(user, pwd), headers=headers ) # Check for HTTP codes other than 200 if response.status_code != 200: print('Status:', response.status_code, 'Headers:', response.headers, 'Error Response:',response.json()) exit() # Decode the JSON response into a dictionary and use the data data = response.json() print(data)
Exemplo Ruby
#!/usr/bin/env ruby require 'base64' # https://rubygems.org/gems/json # Example install using gem # gem install json require 'json' # https://rubygems.org/gems/rest-client # Example install using gem # gem install rest-client require 'rest_client' # Set the request parameters url = 'https://<instance>.service-now.com/api/now/table/sc_req_item' # Eg. User name="admin", Password="admin" for this code sample. user = 'admin' pwd = 'admin' request_body_map = ""; begin response = RestClient.post("#{url}", {:authorization => "Basic #{Base64.strict_encode64("#{user}:#{pwd}")}", :accept => 'application/json' }) puts "#{response.to_str}" puts "Response status: #{response.code}" response.headers.each { |k,v| puts "Header: #{k}=#{v}" } rescue => e puts "ERROR: #{e}" end
Exemplo JavaScript
var requestBody = ""; var client=new XMLHttpRequest(); client.open("post","https://<instance>.service-now.com/api/now/table/sc_req_item"); client.setRequestHeader('Accept','application/json'); client.setRequestHeader('Content-Type','application/json'); //Eg. UserName="admin", Password="admin" for this code sample. client.setRequestHeader('Authorization', 'Basic '+btoa('admin'+':'+'admin')); client.onreadystatechange = function() { if(this.readyState == this.DONE) { document.getElementById("response").innerHTML=this.status + this.response; } }; client.send(requestBody);
Exemplo Perl
#!/usr/bin/env perl -w use strict; use warnings; use MIME::Base64; # http://search.cpan.org/~makamaka/JSON/lib/JSON.pm # Example install using cpanm: # sudo cpanm -i JSON use JSON; # http://search.cpan.org/~mcrawfor/REST-Client/lib/REST/Client.pm # Example install using cpanm: # sudo cpanm -i REST::Client use REST::Client; # Set the request parameters my $host = 'https://<instance>.service-now.com'; # Eg. User name="admin", Password="admin" for this code sample. my $user = 'admin'; my $pwd = 'admin'; my $client = REST::Client->new(host => $host); my $encoded_auth = encode_base64("$user:$pwd", ''); $client->POST("/api/now/table/sc_req_item", {'Authorization' => "Basic $encoded_auth", 'Accept' => 'application/json'}); print 'Response: ' . $client->responseContent() . "\n"; print 'Response status: ' . $client->responseCode() . "\n"; foreach ( $client->responseHeaders() ) { print 'Header: ' . $_ . '=' . $client->responseHeader($_) . "\n"; }
Exemplo Powershell
# Eg. User name="admin", Password="admin" for this code sample. $user = "admin" $pass = "admin" # Build auth header $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $user, $pass))) # Set proper headers $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add('Authorization',('Basic {0}' -f $base64AuthInfo)) $headers.Add('Accept','application/json') # Specify endpoint uri $uri = "https://<instance>.service-now.com/api/now/table/sc_req_item" # Specify HTTP method $method = "post" {request.body ? "$body = \"" :""}} # Send HTTP request $response = Invoke-WebRequest -Headers $headers -Method $method -Uri $uri # Print response $response.RawContent
Exemplo C#
rtbResponse.Text = "";
bool retorno = false;
string userName = txtUser.Text;
string password = txtPassword.Text;
var url = "https://<instance>.service-now.com/api/now/table/sc_req_item";
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);
request.Method = "POST";
request.KeepAlive = true;
request.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
request.UseDefaultCredentials = true;
request.Credentials = new System.Net.NetworkCredential(userName, password, "");
request.ContentType = "application/json";
//request.Accept = "application/json";
string postData = "{ 'short_description' : 'Titulo da solicitação',";
postData += "'description' : 'Descrição da solicitação',";
postData += "'u_affected_end_user' : '7fe2d5ea0f61c300844ce0ba42050ef7',";
postData += "'state' : '3',";
postData += "'u_stage' : '3',";
postData += "'contact_type' : 'URA',";
//postData += "'priority' : '4',";
//postData += "'cat_item' : 'f85c60fe0f794780844ce0ba42050e72',";
postData += "'assignment_group' : 'd8e0e6940fc707001bb14d6a42050efa'";
postData += "}";
byte[] byteArray = Encoding.UTF8.GetBytes(postData);
request.ContentLength = byteArray.Length;
System.IO.Stream dataStream = request.GetRequestStream();
dataStream.Write(byteArray, 0, byteArray.Length);
dataStream.Close();
System.Net.HttpWebResponse response;
response = (System.Net.HttpWebResponse)request.GetResponse();
if (response.ContentLength > 0)
{
rtbResponse.Text = "Atualizado /n";
retorno = true;
}
else
{
retorno = false;
}
This video covers:
- 0:39 Background Information
- 1:37 Using the RESTMessageV2 scripting API to call REST web services
- 3:39 Creating outbound REST messages
- 4:21 Using HTTP methods to send headers, query parameters, and content
- 6:06 Testing REST messages
- 7:29 Using variable substitution
- 8:38 Using the Content field
- 10:18 Previewing the script to use across the platform
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2018 11:50 AM