File manager - Edit - /home/opticamezl/www/newok/soapclient.tar
Back
enterprise.wsdl.xml 0000604 00001254253 15173770240 0010434 0 ustar 00 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Salesforce.com Enterprise Web Services API Version 13.0 Generated on 2008-07-15 00:25:44 +0000. Copyright 1999-2008 salesforce.com, inc. All Rights Reserved --><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ens="urn:sobject.enterprise.soap.sforce.com" xmlns:fns="urn:fault.enterprise.soap.sforce.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:enterprise.soap.sforce.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:enterprise.soap.sforce.com"> <types> <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:sobject.enterprise.soap.sforce.com"> <import namespace="urn:enterprise.soap.sforce.com"/> <!-- Base sObject (abstract) --> <complexType name="sObject"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="fieldsToNull" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="Id" nillable="true" type="tns:ID"/> </sequence> </complexType> <complexType name="Account"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AccountNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AccountPartnersFrom" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AccountPartnersTo" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Active__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AnnualRevenue" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Assets" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="BillingCity" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingCountry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingPostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingState" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingStreet" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Cases" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Contacts" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Contracts" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="CustomerPriority__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Fax" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Industry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterRecord" nillable="true" type="ens:Account"/> <element minOccurs="0" name="MasterRecordId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NumberOfEmployees" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberofLocations__c" nillable="true" type="xsd:double"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Opportunities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityPartnersTo" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Ownership" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Account"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PartnersFrom" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="PartnersTo" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Rating" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SLAExpirationDate__c" nillable="true" type="xsd:date"/> <element minOccurs="0" name="SLASerialNumber__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SLA__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ShippingCity" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ShippingCountry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ShippingPostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ShippingState" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ShippingStreet" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Sic" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Site" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="TickerSymbol" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UpsellOpportunity__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Website" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AccountContactRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AccountHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AccountPartner"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountFrom" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountFromId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="AccountTo" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountToId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ReversePartnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AccountShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CaseAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ContactAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OpportunityAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ActivityHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="ActivityType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallDisposition" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallDurationInSeconds" nillable="true" type="xsd:int"/> <element minOccurs="0" name="CallObject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DurationInMinutes" nillable="true" type="xsd:int"/> <element minOccurs="0" name="IsAllDayEvent" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReminderSet" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsTask" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Location" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Priority" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ReminderDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="What" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhatId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Who" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhoId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AdditionalNumber"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CallCenterId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ApexClass"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApiVersion" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Body" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BodyCrc" nillable="true" type="xsd:double"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsValid" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LengthWithoutComments" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ApexComponent"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApiVersion" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ControllerKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ControllerType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Markup" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ApexPage"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApiVersion" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ControllerKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ControllerType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Markup" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ApexTrigger"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApiVersion" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Body" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BodyCrc" nillable="true" type="xsd:double"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsValid" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LengthWithoutComments" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TableEnumOrId" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UsageAfterDelete" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageAfterInsert" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageAfterUndelete" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageAfterUpdate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageBeforeDelete" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageBeforeInsert" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageBeforeUpdate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UsageIsBulk" nillable="true" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Approval"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApproveComment" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Contract"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RequestComment" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Asset"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Cases" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="InstallDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="IsCompetitorProduct" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Price" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Product2" nillable="true" type="ens:Product2"/> <element minOccurs="0" name="Product2Id" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PurchaseDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Quantity" nillable="true" type="xsd:double"/> <element minOccurs="0" name="SerialNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="UsageEndDate" nillable="true" type="xsd:date"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AssignmentRule"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Active" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SobjectType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="AsyncApexJob"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ApexClass" nillable="true" type="ens:ApexClass"/> <element minOccurs="0" name="ApexClassId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CompletedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="JobItemsProcessed" nillable="true" type="xsd:int"/> <element minOccurs="0" name="JobType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MethodName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NumberOfErrors" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="TotalJobItems" nillable="true" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Attachment"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Body" nillable="true" type="xsd:base64Binary"/> <element minOccurs="0" name="BodyLength" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ContentType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrivate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="BrandTemplate"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DeveloperName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Value" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="BusinessHours"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Cases" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="FridayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="FridayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MondayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="MondayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SaturdayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="SaturdayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="SundayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="SundayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="ThursdayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="ThursdayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="TimeZoneSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="TuesdayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="TuesdayStartTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="WednesdayEndTime" nillable="true" type="xsd:time"/> <element minOccurs="0" name="WednesdayStartTime" nillable="true" type="xsd:time"/> </sequence> </extension> </complexContent> </complexType> <complexType name="BusinessProcess"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TableEnumOrId" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CallCenter"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="InternalName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Campaign"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ActualCost" nillable="true" type="xsd:double"/> <element minOccurs="0" name="AmountAllOpportunities" nillable="true" type="xsd:double"/> <element minOccurs="0" name="AmountWonOpportunities" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="BudgetedCost" nillable="true" type="xsd:double"/> <element minOccurs="0" name="CampaignMembers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ChildCampaigns" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EndDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ExpectedResponse" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ExpectedRevenue" nillable="true" type="xsd:double"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Leads" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NumberOfContacts" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberOfConvertedLeads" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberOfLeads" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberOfOpportunities" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberOfResponses" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberOfWonOpportunities" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberSent" nillable="true" type="xsd:double"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Opportunities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="StartDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CampaignMember"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Campaign" nillable="true" type="ens:Campaign"/> <element minOccurs="0" name="CampaignId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="FirstRespondedDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="HasResponded" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Lead" nillable="true" type="ens:Lead"/> <element minOccurs="0" name="LeadId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CampaignMemberStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CampaignId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="HasResponded" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Label" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CampaignShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Campaign" nillable="true" type="ens:Campaign"/> <element minOccurs="0" name="CampaignAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CampaignId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Case"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Asset" nillable="true" type="ens:Asset"/> <element minOccurs="0" name="AssetId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CaseComments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CaseContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CaseNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CaseSolutions" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Cases" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ClosedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EngineeringReqNumber__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="HasCommentsUnreadByOwner" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="HasSelfServiceComments" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsEscalated" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Origin" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PotentialLiability__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Priority" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Product__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Reason" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SLAViolation__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Solutions" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SuppliedCompany" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SuppliedEmail" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SuppliedName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SuppliedPhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseComment"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CommentBody" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPublished" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Case"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseContactRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Cases" nillable="true" type="ens:Case"/> <element minOccurs="0" name="CasesId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Case" nillable="true" type="ens:Case"/> <element minOccurs="0" name="CaseId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Case" nillable="true" type="ens:Case"/> <element minOccurs="0" name="CaseAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CaseId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseSolution"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Case" nillable="true" type="ens:Case"/> <element minOccurs="0" name="CaseId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Solution" nillable="true" type="ens:Solution"/> <element minOccurs="0" name="SolutionId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CaseStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CategoryData"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CategoryNodeId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RelatedSobjectId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="CategoryNode"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SortStyle" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Community"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Contact"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Assets" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AssistantName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AssistantPhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Birthdate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="CampaignMembers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CaseContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Cases" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ContractContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ContractsSigned" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Department" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Email" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmailBouncedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="EmailBouncedReason" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmailStatuses" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Fax" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="HomePhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Languages__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastCURequestDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastCUUpdateDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LeadSource" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Level__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MailingCity" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MailingCountry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MailingPostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MailingState" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MailingStreet" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MasterRecord" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="MasterRecordId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="MobilePhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Opportunities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OtherCity" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OtherCountry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OtherPhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OtherPostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OtherState" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OtherStreet" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ReportsTo" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ReportsToId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Salutation" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Title" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ContactHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ContactShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Contract"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="ActivatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Approvals" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="BillingCity" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingCountry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingPostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingState" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BillingStreet" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CompanySigned" nillable="true" type="ens:User"/> <element minOccurs="0" name="CompanySignedDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="CompanySignedId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ContractContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ContractNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ContractTerm" nillable="true" type="xsd:int"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="CustomerSigned" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="CustomerSignedDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="CustomerSignedId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CustomerSignedTitle" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EndDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastApprovedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerExpirationNotice" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="SpecialTerms" nillable="true" type="xsd:string"/> <element minOccurs="0" name="StartDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="StatusCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ContractContactRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Contract" nillable="true" type="ens:Contract"/> <element minOccurs="0" name="ContractId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ContractHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Contract" nillable="true" type="ens:Contract"/> <element minOccurs="0" name="ContractId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ContractStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="StatusCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Document"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Author" nillable="true" type="ens:User"/> <element minOccurs="0" name="AuthorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Body" nillable="true" type="xsd:base64Binary"/> <element minOccurs="0" name="BodyLength" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ContentType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Folder" nillable="true" type="ens:Folder"/> <element minOccurs="0" name="FolderId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsInternalUseOnly" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPublic" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Keywords" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Url" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="DocumentAttachmentMap"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DocumentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="DocumentSequence" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="EmailServicesAddress"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AuthorizedSenders" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="EmailDomainName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Function" nillable="true" type="ens:EmailServicesFunction"/> <element minOccurs="0" name="FunctionId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LocalPart" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RunAsUserId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="EmailServicesFunction"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AddressInactiveAction" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Addresses" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ApexClassId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="AttachmentOption" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AuthenticationFailureAction" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AuthorizationFailureAction" nillable="true" type="xsd:string"/> <element minOccurs="0" name="AuthorizedSenders" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="FunctionInactiveAction" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FunctionName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsAuthenticationRequired" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsTlsRequired" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OverLimitAction" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="EmailStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="EmailTemplateName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstOpenDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastOpenDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Task" nillable="true" type="ens:Task"/> <element minOccurs="0" name="TaskId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="TimesOpened" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Who" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhoId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="EmailTemplate"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Body" nillable="true" type="xsd:string"/> <element minOccurs="0" name="BrandTemplateId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Encoding" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Folder" nillable="true" type="ens:Folder"/> <element minOccurs="0" name="FolderId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="HtmlValue" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastUsedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TemplateStyle" nillable="true" type="xsd:string"/> <element minOccurs="0" name="TemplateType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="TimesUsed" nillable="true" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Event"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="ActivityDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DurationInMinutes" nillable="true" type="xsd:int"/> <element minOccurs="0" name="EndDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="EventAttendees" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="IsAllDayEvent" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsArchived" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsChild" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsGroupEvent" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrivate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsRecurrence" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReminderSet" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Location" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RecurrenceActivityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RecurrenceDayOfMonth" nillable="true" type="xsd:int"/> <element minOccurs="0" name="RecurrenceDayOfWeekMask" nillable="true" type="xsd:int"/> <element minOccurs="0" name="RecurrenceEndDateOnly" nillable="true" type="xsd:date"/> <element minOccurs="0" name="RecurrenceInstance" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RecurrenceInterval" nillable="true" type="xsd:int"/> <element minOccurs="0" name="RecurrenceMonthOfYear" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RecurrenceStartDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RecurrenceTimeZoneSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RecurrenceType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RecurringEvents" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ReminderDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="ShowAs" nillable="true" type="xsd:string"/> <element minOccurs="0" name="StartDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="What" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhatId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Who" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhoId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="EventAttendee"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Attendee" nillable="true" type="ens:Name"/> <element minOccurs="0" name="AttendeeId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Event" nillable="true" type="ens:Event"/> <element minOccurs="0" name="EventId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RespondedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Response" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="FiscalYearSettings"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EndDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="IsStandardYear" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PeriodId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PeriodLabelScheme" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PeriodPrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Periods" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="QuarterLabelScheme" nillable="true" type="xsd:string"/> <element minOccurs="0" name="QuarterPrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="StartDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="WeekLabelScheme" nillable="true" type="xsd:string"/> <element minOccurs="0" name="WeekStartDay" nillable="true" type="xsd:int"/> <element minOccurs="0" name="YearType" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Folder"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccessType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DeveloperName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsReadonly" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ForecastShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CanSubmit" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="UserRoleId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Group"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DelegatedUsers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="DoesSendEmailToMembers" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Email" nillable="true" type="xsd:string"/> <element minOccurs="0" name="GroupMembers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="QueueSobjects" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="RelatedId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="GroupMember"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Group" nillable="true" type="ens:Group"/> <element minOccurs="0" name="GroupId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Lead"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="AnnualRevenue" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Campaign" nillable="true" type="ens:Campaign"/> <element minOccurs="0" name="CampaignMembers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="City" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Company" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ConvertedAccount" nillable="true" type="ens:Account"/> <element minOccurs="0" name="ConvertedAccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ConvertedContact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ConvertedContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ConvertedDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="ConvertedOpportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="ConvertedOpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Country" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="CurrentGenerators__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Email" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmailBouncedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="EmailBouncedReason" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmailStatuses" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Fax" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Industry" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsConverted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsUnreadByOwner" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LeadSource" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MasterRecord" nillable="true" type="ens:Lead"/> <element minOccurs="0" name="MasterRecordId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="MobilePhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NumberOfEmployees" nillable="true" type="xsd:int"/> <element minOccurs="0" name="NumberofLocations__c" nillable="true" type="xsd:double"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Primary__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProductInterest__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Rating" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SICCode__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Salutation" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="State" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Street" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Title" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Website" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="LeadHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Lead" nillable="true" type="ens:Lead"/> <element minOccurs="0" name="LeadId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> </sequence> </extension> </complexContent> </complexType> <complexType name="LeadShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Lead" nillable="true" type="ens:Lead"/> <element minOccurs="0" name="LeadAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LeadId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="LeadStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsConverted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="MailmergeTemplate"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Body" nillable="true" type="xsd:base64Binary"/> <element minOccurs="0" name="BodyLength" nillable="true" type="xsd:int"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Filename" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastUsedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Name"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Alias" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserRole" nillable="true" type="ens:UserRole"/> <element minOccurs="0" name="UserRoleId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Note"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Body" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrivate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Title" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="NoteAndAttachment"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsNote" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrivate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Title" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpenActivity"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="ActivityType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallDisposition" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallDurationInSeconds" nillable="true" type="xsd:int"/> <element minOccurs="0" name="CallObject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DurationInMinutes" nillable="true" type="xsd:int"/> <element minOccurs="0" name="IsAllDayEvent" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReminderSet" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsTask" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Location" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Priority" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ReminderDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="What" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhatId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Who" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhoId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Opportunity"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Account" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="AccountPartners" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Amount" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Campaign" nillable="true" type="ens:Campaign"/> <element minOccurs="0" name="CampaignId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CloseDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="CurrentGenerators__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DeliveryInstallationStatus__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ExpectedRevenue" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Fiscal" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FiscalQuarter" nillable="true" type="xsd:int"/> <element minOccurs="0" name="FiscalYear" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ForecastCategory" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ForecastCategoryName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="HasOpportunityLineItem" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrivate" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsWon" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LeadSource" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MainCompetitors__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NextStep" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityCompetitors" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityContactRoles" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityLineItems" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityPartnersFrom" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OrderNumber__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Partners" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Pricebook2" nillable="true" type="ens:Pricebook2"/> <element minOccurs="0" name="Pricebook2Id" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Probability" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Shares" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="StageName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="TotalOpportunityQuantity" nillable="true" type="xsd:double"/> <element minOccurs="0" name="TrackingNumber__c" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityCompetitor"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CompetitorName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Strengths" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Weaknesses" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityContactRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityFieldHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Amount" nillable="true" type="xsd:double"/> <element minOccurs="0" name="CloseDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="ExpectedRevenue" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ForecastCategory" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Probability" nillable="true" type="xsd:double"/> <element minOccurs="0" name="StageName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityLineItem"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="ListPrice" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PricebookEntry" nillable="true" type="ens:PricebookEntry"/> <element minOccurs="0" name="PricebookEntryId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Quantity" nillable="true" type="xsd:double"/> <element minOccurs="0" name="ServiceDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TotalPrice" nillable="true" type="xsd:double"/> <element minOccurs="0" name="UnitPrice" nillable="true" type="xsd:double"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityPartner"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountTo" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountToId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ReversePartnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityShare"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityAccessLevel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RowCause" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserOrGroupId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="OpportunityStage"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DefaultProbability" nillable="true" type="xsd:double"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ForecastCategory" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ForecastCategoryName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsWon" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Organization"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="City" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ComplianceBccEmail" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Country" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DefaultAccountAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultCalendarAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultCampaignAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultCaseAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultContactAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultLeadAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultLocaleSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultOpportunityAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DefaultPricebookAccess" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Division" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Fax" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FiscalYearStartMonth" nillable="true" type="xsd:int"/> <element minOccurs="0" name="LanguageLocaleKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MaxActionsPerRule" nillable="true" type="xsd:int"/> <element minOccurs="0" name="MaxRulesPerEntity" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OrganizationType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PreferencesRequireOpportunityProducts" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PrimaryContact" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ReceivesAdminInfoEmails" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="ReceivesInfoEmails" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="State" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Street" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TrialExpirationDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="UiSkin" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UsesStartDateAsFiscalYearName" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="WebToCaseDefaultOrigin" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Partner"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountFrom" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountFromId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="AccountTo" nillable="true" type="ens:Account"/> <element minOccurs="0" name="AccountToId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPrimary" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Opportunity" nillable="true" type="ens:Opportunity"/> <element minOccurs="0" name="OpportunityId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ReversePartnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Role" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="PartnerRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ReverseRole" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Period"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="EndDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="FiscalYearSettings" nillable="true" type="ens:FiscalYearSettings"/> <element minOccurs="0" name="FiscalYearSettingsId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="IsForecastPeriod" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Number" nillable="true" type="xsd:int"/> <element minOccurs="0" name="PeriodLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="QuarterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="StartDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Pricebook2"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsStandard" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Opportunities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="PricebookEntries" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="PricebookEntry"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OpportunityLineItems" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Pricebook2" nillable="true" type="ens:Pricebook2"/> <element minOccurs="0" name="Pricebook2Id" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Product2" nillable="true" type="ens:Product2"/> <element minOccurs="0" name="Product2Id" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProductCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="UnitPrice" nillable="true" type="xsd:double"/> <element minOccurs="0" name="UseStandardPrice" nillable="true" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessInstance"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Steps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="StepsAndWorkitems" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TargetObject" nillable="true" type="ens:Name"/> <element minOccurs="0" name="TargetObjectId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Workitems" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessInstanceHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Actor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Comments" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPending" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="OriginalActor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OriginalActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstance" nillable="true" type="ens:ProcessInstance"/> <element minOccurs="0" name="ProcessInstanceId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="RemindersSent" nillable="true" type="xsd:int"/> <element minOccurs="0" name="StepStatus" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TargetObject" nillable="true" type="ens:Name"/> <element minOccurs="0" name="TargetObjectId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessInstanceStep"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Actor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Comments" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OriginalActor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OriginalActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstance" nillable="true" type="ens:ProcessInstance"/> <element minOccurs="0" name="ProcessInstanceId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="StepStatus" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessInstanceWorkitem"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Actor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="OriginalActor" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OriginalActorId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstance" nillable="true" type="ens:ProcessInstance"/> <element minOccurs="0" name="ProcessInstanceId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Product2"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Assets" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Family" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Notes" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="NotesAndAttachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="OpportunityLineItems" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="PricebookEntries" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProductCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Profile"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PermissionsApiEnabled" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsAuthorApex" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsConvertLeads" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsCreateMultiforce" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsCustomSidebarOnAllPages" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsCustomizeApplication" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsDisableNotifications" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditEvent" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditOppLineItemUnitPrice" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditPublicDocuments" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditReadonlyFields" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditReports" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsEditTask" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsImportLeads" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsInstallMultiforce" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageAnalyticSnapshots" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageCallCenters" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageCases" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageCategories" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageCssUsers" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageCustomReportTypes" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageDashboards" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageLeads" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageMobile" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageSelfService" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageSolutions" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsManageUsers" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsModifyAllData" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsPasswordNeverExpires" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsPublishMultiforce" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsRunReports" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsSendSitRequests" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsSolutionImport" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsTransferAnyEntity" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsTransferAnyLead" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsUseTeamReassignWizards" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsViewAllData" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="PermissionsViewSetup" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="UserLicenseId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="UserType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Users" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="QueueSobject"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Queue" nillable="true" type="ens:Group"/> <element minOccurs="0" name="QueueId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SobjectType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="RecordType"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="BusinessProcessId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SobjectType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Scontrol"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Binary" nillable="true" type="xsd:base64Binary"/> <element minOccurs="0" name="BodyLength" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ContentSource" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DeveloperName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EncodingKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Filename" nillable="true" type="xsd:string"/> <element minOccurs="0" name="HtmlWrapper" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SupportsCaching" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="SelfServiceUser"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Email" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LanguageLocaleKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastLoginDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LocaleSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SuperUser" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TimeZoneSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Username" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Solution"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="ActivityHistories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CaseSolutions" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Events" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Histories" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsHtml" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPublished" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsPublishedInPublicKb" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReviewed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OpenActivities" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:User"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ProcessInstances" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="ProcessSteps" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="SolutionName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SolutionNote" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SolutionNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Tasks" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="TimesUsed" nillable="true" type="xsd:int"/> <element minOccurs="0" name="Votes" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="SolutionHistory"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:Name"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Field" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="NewValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="OldValue" nillable="true" type="xsd:anyType"/> <element minOccurs="0" name="Solution" nillable="true" type="ens:Solution"/> <element minOccurs="0" name="SolutionId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="SolutionStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReviewed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="StaticResource"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Body" nillable="true" type="xsd:base64Binary"/> <element minOccurs="0" name="BodyLength" nillable="true" type="xsd:int"/> <element minOccurs="0" name="ContentType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Task"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="AccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ActivityDate" nillable="true" type="xsd:date"/> <element minOccurs="0" name="Attachments" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="CallDisposition" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallDurationInSeconds" nillable="true" type="xsd:int"/> <element minOccurs="0" name="CallObject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="IsArchived" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsReminderSet" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Owner" nillable="true" type="ens:Name"/> <element minOccurs="0" name="OwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Priority" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ReminderDateTime" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Status" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Subject" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="What" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhatId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Who" nillable="true" type="ens:Name"/> <element minOccurs="0" name="WhoId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="TaskPriority"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsHighPriority" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="TaskStatus"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsClosed" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SortOrder" nillable="true" type="xsd:int"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="User"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Alias" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CallCenterId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="City" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CompanyName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Contact" nillable="true" type="ens:Contact"/> <element minOccurs="0" name="ContactId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ContractsSigned" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Country" nillable="true" type="xsd:string"/> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="DelegatedApproverId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="DelegatedUsers" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="Department" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Division" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Email" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmailEncodingKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EmployeeNumber" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Extension" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Fax" nillable="true" type="xsd:string"/> <element minOccurs="0" name="FirstName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ForecastEnabled" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="IsActive" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LanguageLocaleKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LastLoginDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LastName" nillable="true" type="xsd:string"/> <element minOccurs="0" name="LocaleSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Manager" nillable="true" type="ens:User"/> <element minOccurs="0" name="ManagerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="MobilePhone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OfflinePdaTrialExpirationDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="OfflineTrialExpirationDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Phone" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PostalCode" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Profile" nillable="true" type="ens:Profile"/> <element minOccurs="0" name="ProfileId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ReceivesAdminInfoEmails" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="ReceivesInfoEmails" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="State" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Street" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="TimeZoneSidKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Title" nillable="true" type="xsd:string"/> <element minOccurs="0" name="UserPermissionsCallCenterAutoLogin" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPermissionsMarketingUser" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPermissionsMobileUser" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPermissionsOfflineUser" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPreferences" nillable="true" type="tns:QueryResult"/> <element minOccurs="0" name="UserPreferencesActivityRemindersPopup" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPreferencesApexPagesDeveloperMode" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPreferencesEventRemindersCheckboxDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPreferencesReminderSoundOff" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserPreferencesTaskRemindersCheckboxDefault" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="UserRole" nillable="true" type="ens:UserRole"/> <element minOccurs="0" name="UserRoleId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="UserType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Username" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="UserLicense"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="LicenseDefinitionKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> </sequence> </extension> </complexContent> </complexType> <complexType name="UserPreference"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="Preference" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="UserId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="Value" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="UserRole"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CaseAccessForAccountOwner" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ContactAccessForAccountOwner" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ForecastUserId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="MayForecastManagerShare" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OpportunityAccessForAccountOwner" nillable="true" type="xsd:string"/> <element minOccurs="0" name="ParentRoleId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PortalAccountId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PortalAccountOwnerId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="PortalType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RollupDescription" nillable="true" type="xsd:string"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Users" nillable="true" type="tns:QueryResult"/> </sequence> </extension> </complexContent> </complexType> <complexType name="Vote"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="IsDeleted" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Parent" nillable="true" type="ens:Name"/> <element minOccurs="0" name="ParentId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Type" nillable="true" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType> <complexType name="WebLink"> <complexContent> <extension base="ens:sObject"> <sequence> <element minOccurs="0" name="CreatedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="CreatedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="CreatedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Description" nillable="true" type="xsd:string"/> <element minOccurs="0" name="DisplayType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="EncodingKey" nillable="true" type="xsd:string"/> <element minOccurs="0" name="HasMenubar" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="HasScrollbars" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="HasToolbar" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="Height" nillable="true" type="xsd:int"/> <element minOccurs="0" name="IsResizable" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="LastModifiedBy" nillable="true" type="ens:User"/> <element minOccurs="0" name="LastModifiedById" nillable="true" type="tns:ID"/> <element minOccurs="0" name="LastModifiedDate" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="LinkType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="MasterLabel" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Name" nillable="true" type="xsd:string"/> <element minOccurs="0" name="NamespacePrefix" nillable="true" type="xsd:string"/> <element minOccurs="0" name="OpenType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="PageOrSobjectType" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Position" nillable="true" type="xsd:string"/> <element minOccurs="0" name="RequireRowSelection" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="ScontrolId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="ShowsLocation" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="ShowsStatus" nillable="true" type="xsd:boolean"/> <element minOccurs="0" name="SystemModstamp" nillable="true" type="xsd:dateTime"/> <element minOccurs="0" name="Url" nillable="true" type="xsd:string"/> <element minOccurs="0" name="Width" nillable="true" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:enterprise.soap.sforce.com"> <import namespace="urn:sobject.enterprise.soap.sforce.com"/> <!-- Our simple ID Type --> <simpleType name="ID"> <restriction base="xsd:string"> <length value="18"/> <pattern value="[a-zA-Z0-9]{18}"/> </restriction> </simpleType> <simpleType name="QueryLocator"> <restriction base="xsd:string"/> </simpleType> <!-- Shared Result Types --> <complexType name="QueryResult"> <sequence> <element name="done" type="xsd:boolean"/> <element name="queryLocator" nillable="true" type="tns:QueryLocator"/> <element maxOccurs="unbounded" minOccurs="0" name="records" nillable="true" type="ens:sObject"/> <element name="size" type="xsd:int"/> </sequence> </complexType> <!-- Search Result --> <complexType name="SearchResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="searchRecords" type="tns:SearchRecord"/> <element maxOccurs="1" minOccurs="0" name="sforceReserved" type="xsd:string"/> </sequence> </complexType> <complexType name="SearchRecord"> <sequence> <element name="record" type="ens:sObject"/> </sequence> </complexType> <!-- GetUpdated Result --> <complexType name="GetUpdatedResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="ids" type="tns:ID"/> <element name="latestDateCovered" type="xsd:dateTime"/> <element maxOccurs="1" minOccurs="0" name="sforceReserved" type="xsd:string"/> </sequence> </complexType> <!-- GetDeleted Result --> <complexType name="GetDeletedResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="deletedRecords" type="tns:DeletedRecord"/> <element name="earliestDateAvailable" type="xsd:dateTime"/> <element name="latestDateCovered" type="xsd:dateTime"/> <element maxOccurs="1" minOccurs="0" name="sforceReserved" type="xsd:string"/> </sequence> </complexType> <complexType name="DeletedRecord"> <sequence> <element name="deletedDate" type="xsd:dateTime"/> <element name="id" type="tns:ID"/> </sequence> </complexType> <complexType name="GetServerTimestampResult"> <sequence> <element name="timestamp" type="xsd:dateTime"/> </sequence> </complexType> <!-- InvalidateSessions Result --> <complexType name="InvalidateSessionsResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="SetPasswordResult"> </complexType> <complexType name="ResetPasswordResult"> <sequence> <element name="password" type="xsd:string"/> </sequence> </complexType> <complexType name="GetUserInfoResult"> <sequence> <element name="accessibilityMode" type="xsd:boolean"/> <element name="currencySymbol" nillable="true" type="xsd:string"/> <element name="orgDefaultCurrencyIsoCode" nillable="true" type="xsd:string"/> <element name="orgHasPersonAccounts" type="xsd:boolean"/> <element name="organizationId" type="tns:ID"/> <element name="organizationMultiCurrency" type="xsd:boolean"/> <element name="organizationName" type="xsd:string"/> <element name="profileId" type="tns:ID"/> <element name="roleId" nillable="true" type="tns:ID"/> <element name="userDefaultCurrencyIsoCode" nillable="true" type="xsd:string"/> <element name="userEmail" type="xsd:string"/> <element name="userFullName" type="xsd:string"/> <element name="userId" type="tns:ID"/> <element name="userLanguage" type="xsd:string"/> <element name="userLocale" type="xsd:string"/> <element name="userName" type="xsd:string"/> <element name="userTimeZone" type="xsd:string"/> <element name="userType" type="xsd:string"/> <element name="userUiSkin" type="xsd:string"/> </sequence> </complexType> <complexType name="LoginResult"> <sequence> <element name="metadataServerUrl" nillable="true" type="xsd:string"/> <element name="passwordExpired" type="xsd:boolean"/> <element name="sandbox" type="xsd:boolean"/> <element name="serverUrl" nillable="true" type="xsd:string"/> <element name="sessionId" nillable="true" type="xsd:string"/> <element name="userId" nillable="true" type="tns:ID"/> <element minOccurs="0" name="userInfo" type="tns:GetUserInfoResult"/> </sequence> </complexType> <simpleType name="StatusCode"> <restriction base="xsd:string"> <enumeration value="ALREADY_IN_PROCESS"/> <enumeration value="ASSIGNEE_TYPE_REQUIRED"/> <enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/> <enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/> <enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/> <enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/> <enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/> <enumeration value="CANNOT_DEACTIVATE_DIVISION"/> <enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/> <enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/> <enumeration value="CANNOT_DISABLE_LAST_ADMIN"/> <enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/> <enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/> <enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/> <enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/> <enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/> <enumeration value="CANNOT_REPARENT_RECORD"/> <enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/> <enumeration value="CANT_DISABLE_CORP_CURRENCY"/> <enumeration value="CANT_UNSET_CORP_CURRENCY"/> <enumeration value="CHILD_SHARE_FAILS_PARENT"/> <enumeration value="CIRCULAR_DEPENDENCY"/> <enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/> <enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/> <enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/> <enumeration value="CUSTOM_INDEX_EXISTS"/> <enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/> <enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/> <enumeration value="DELETE_FAILED"/> <enumeration value="DELETE_REQUIRED_ON_CASCADE"/> <enumeration value="DEPENDENCY_EXISTS"/> <enumeration value="DUPLICATE_CASE_SOLUTION"/> <enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/> <enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/> <enumeration value="DUPLICATE_DEVELOPER_NAME"/> <enumeration value="DUPLICATE_EXTERNAL_ID"/> <enumeration value="DUPLICATE_MASTER_LABEL"/> <enumeration value="DUPLICATE_USERNAME"/> <enumeration value="DUPLICATE_VALUE"/> <enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/> <enumeration value="EMPTY_SCONTROL_FILE_NAME"/> <enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/> <enumeration value="ENTITY_IS_ARCHIVED"/> <enumeration value="ENTITY_IS_DELETED"/> <enumeration value="ENTITY_IS_LOCKED"/> <enumeration value="ERROR_IN_MAILER"/> <enumeration value="FAILED_ACTIVATION"/> <enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/> <enumeration value="FIELD_INTEGRITY_EXCEPTION"/> <enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/> <enumeration value="IMAGE_TOO_LARGE"/> <enumeration value="INACTIVE_OWNER_OR_USER"/> <enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/> <enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/> <enumeration value="INVALID_ACCESS_LEVEL"/> <enumeration value="INVALID_ARGUMENT_TYPE"/> <enumeration value="INVALID_ASSIGNEE_TYPE"/> <enumeration value="INVALID_ASSIGNMENT_RULE"/> <enumeration value="INVALID_BATCH_OPERATION"/> <enumeration value="INVALID_CREDIT_CARD_INFO"/> <enumeration value="INVALID_CROSS_REFERENCE_KEY"/> <enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/> <enumeration value="INVALID_CURRENCY_CONV_RATE"/> <enumeration value="INVALID_CURRENCY_CORP_RATE"/> <enumeration value="INVALID_CURRENCY_ISO"/> <enumeration value="INVALID_EMAIL_ADDRESS"/> <enumeration value="INVALID_EMPTY_KEY_OWNER"/> <enumeration value="INVALID_FIELD"/> <enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/> <enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/> <enumeration value="INVALID_FILTER_ACTION"/> <enumeration value="INVALID_GOOGLE_DOCS_URL"/> <enumeration value="INVALID_ID_FIELD"/> <enumeration value="INVALID_INET_ADDRESS"/> <enumeration value="INVALID_LINEITEM_CLONE_STATE"/> <enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/> <enumeration value="INVALID_OPERATION"/> <enumeration value="INVALID_OPERATOR"/> <enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/> <enumeration value="INVALID_PARTNER_NETWORK_STATUS"/> <enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/> <enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/> <enumeration value="INVALID_SESSION_ID"/> <enumeration value="INVALID_SETUP_OWNER"/> <enumeration value="INVALID_STATUS"/> <enumeration value="INVALID_TYPE"/> <enumeration value="INVALID_TYPE_FOR_OPERATION"/> <enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/> <enumeration value="IP_RANGE_LIMIT_EXCEEDED"/> <enumeration value="LICENSE_LIMIT_EXCEEDED"/> <enumeration value="LIMIT_EXCEEDED"/> <enumeration value="MALFORMED_ID"/> <enumeration value="MANAGER_NOT_DEFINED"/> <enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/> <enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/> <enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/> <enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/> <enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/> <enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/> <enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/> <enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/> <enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/> <enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/> <enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/> <enumeration value="MAX_RULES_EXCEEDED"/> <enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/> <enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/> <enumeration value="MAX_TM_RULES_EXCEEDED"/> <enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/> <enumeration value="MERGE_FAILED"/> <enumeration value="MISSING_ARGUMENT"/> <enumeration value="MIXED_DML_OPERATION"/> <enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/> <enumeration value="NO_APPLICABLE_PROCESS"/> <enumeration value="NO_ATTACHMENT_PERMISSION"/> <enumeration value="NO_MASS_MAIL_PERMISSION"/> <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/> <enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/> <enumeration value="OPTED_OUT_OF_MASS_MAIL"/> <enumeration value="PACKAGE_LICENSE_REQUIRED"/> <enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/> <enumeration value="PRIVATE_CONTACT_ON_ASSET"/> <enumeration value="RECORD_IN_USE_BY_WORKFLOW"/> <enumeration value="REQUEST_RUNNING_TOO_LONG"/> <enumeration value="REQUIRED_FIELD_MISSING"/> <enumeration value="SELF_REFERENCE_FROM_TRIGGER"/> <enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/> <enumeration value="STANDARD_PRICE_NOT_DEFINED"/> <enumeration value="STORAGE_LIMIT_EXCEEDED"/> <enumeration value="STRING_TOO_LONG"/> <enumeration value="TABSET_LIMIT_EXCEEDED"/> <enumeration value="TEMPLATE_NOT_ACTIVE"/> <enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/> <enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/> <enumeration value="TOO_MANY_APEX_REQUESTS"/> <enumeration value="TOO_MANY_ENUM_VALUE"/> <enumeration value="TRANSFER_REQUIRES_READ"/> <enumeration value="UNABLE_TO_LOCK_ROW"/> <enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/> <enumeration value="UNDELETE_FAILED"/> <enumeration value="UNKNOWN_EXCEPTION"/> <enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/> <enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/> <enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/> </restriction> </simpleType> <complexType name="Error"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="fields" nillable="true" type="xsd:string"/> <element name="message" type="xsd:string"/> <element name="statusCode" type="tns:StatusCode"/> </sequence> </complexType> <complexType name="SendEmailError"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="fields" nillable="true" type="xsd:string"/> <element name="message" type="xsd:string"/> <element name="statusCode" type="tns:StatusCode"/> <element name="targetObjectId" nillable="true" type="tns:ID"/> </sequence> </complexType> <complexType name="SaveResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="UpsertResult"> <sequence> <element name="created" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="MergeRequest"> <sequence> <element name="masterRecord" type="ens:sObject"/> <element maxOccurs="unbounded" minOccurs="1" name="recordToMergeIds" type="tns:ID"/> </sequence> </complexType> <complexType name="MergeResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element maxOccurs="unbounded" minOccurs="0" name="mergedRecordIds" type="tns:ID"/> <element name="success" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="updatedRelatedIds" type="tns:ID"/> </sequence> </complexType> <complexType name="ProcessRequest"> <sequence> <element name="comments" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="nextApproverIds" nillable="true" type="tns:ID"/> </sequence> </complexType> <complexType name="ProcessSubmitRequest"> <complexContent> <extension base="tns:ProcessRequest"> <sequence> <element name="objectId" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessWorkitemRequest"> <complexContent> <extension base="tns:ProcessRequest"> <sequence> <element name="action" type="xsd:string"/> <element name="workitemId" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="ProcessResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="actorIds" nillable="false" type="tns:ID"/> <element name="entityId" nillable="true" type="tns:ID"/> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="instanceId" nillable="true" type="tns:ID"/> <element name="instanceStatus" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="newWorkitemIds" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DeleteResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" nillable="true" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="UndeleteResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="EmptyRecycleBinResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="id" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="LeadConvert"> <sequence> <element name="accountId" nillable="true" type="tns:ID"/> <element name="contactId" nillable="true" type="tns:ID"/> <element name="convertedStatus" type="xsd:string"/> <element name="doNotCreateOpportunity" type="xsd:boolean"/> <element name="leadId" type="tns:ID"/> <element name="opportunityName" nillable="true" type="xsd:string"/> <element name="overwriteLeadSource" type="xsd:boolean"/> <element name="ownerId" nillable="true" type="tns:ID"/> <element name="sendNotificationEmail" type="xsd:boolean"/> </sequence> </complexType> <complexType name="LeadConvertResult"> <sequence> <element name="accountId" nillable="true" type="tns:ID"/> <element name="contactId" nillable="true" type="tns:ID"/> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:Error"/> <element name="leadId" nillable="true" type="tns:ID"/> <element name="opportunityId" nillable="true" type="tns:ID"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DescribeSObjectResult"> <sequence> <element name="activateable" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="childRelationships" type="tns:ChildRelationship"/> <element name="createable" type="xsd:boolean"/> <element name="custom" type="xsd:boolean"/> <element name="deletable" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="fields" nillable="true" type="tns:Field"/> <element name="keyPrefix" nillable="true" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="labelPlural" type="xsd:string"/> <element name="layoutable" type="xsd:boolean"/> <element name="mergeable" type="xsd:boolean"/> <element name="name" type="xsd:string"/> <element name="queryable" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="recordTypeInfos" type="tns:RecordTypeInfo"/> <element name="replicateable" type="xsd:boolean"/> <element name="retrieveable" type="xsd:boolean"/> <element name="searchable" type="xsd:boolean"/> <element minOccurs="0" name="triggerable" type="xsd:boolean"/> <element name="undeletable" type="xsd:boolean"/> <element name="updateable" type="xsd:boolean"/> <element name="urlDetail" nillable="true" type="xsd:string"/> <element name="urlEdit" nillable="true" type="xsd:string"/> <element name="urlNew" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="ChildRelationship"> <sequence> <element name="cascadeDelete" type="xsd:boolean"/> <element name="childSObject" type="xsd:string"/> <element name="field" type="xsd:string"/> <element minOccurs="0" name="relationshipName" type="xsd:string"/> </sequence> </complexType> <complexType name="DescribeGlobalResult"> <sequence> <element name="encoding" nillable="true" type="xsd:string"/> <element name="maxBatchSize" type="xsd:int"/> <element maxOccurs="unbounded" minOccurs="0" name="types" nillable="true" type="xsd:string"/> </sequence> </complexType> <simpleType name="fieldType"> <restriction base="xsd:string"> <enumeration value="string"/> <enumeration value="picklist"/> <enumeration value="multipicklist"/> <enumeration value="combobox"/> <enumeration value="reference"/> <enumeration value="base64"/> <enumeration value="boolean"/> <enumeration value="currency"/> <enumeration value="textarea"/> <enumeration value="int"/> <enumeration value="double"/> <enumeration value="percent"/> <enumeration value="phone"/> <enumeration value="id"/> <enumeration value="date"/> <enumeration value="datetime"/> <enumeration value="time"/> <enumeration value="url"/> <enumeration value="email"/> <enumeration value="encryptedstring"/> <enumeration value="anyType"/> <!-- can be string, picklist, reference, boolean, currency, int, double, percent, id, date, datetime, url, email --> </restriction> </simpleType> <simpleType name="soapType"> <restriction base="xsd:string"> <enumeration value="tns:ID"/> <enumeration value="xsd:base64Binary"/> <enumeration value="xsd:boolean"/> <enumeration value="xsd:double"/> <enumeration value="xsd:int"/> <enumeration value="xsd:string"/> <enumeration value="xsd:date"/> <enumeration value="xsd:dateTime"/> <enumeration value="xsd:time"/> <enumeration value="xsd:anyType"/> <!-- can be id, booolean, double, int, string, date, dateTime --> </restriction> </simpleType> <complexType name="Field"> <sequence> <element name="autoNumber" type="xsd:boolean"/> <element name="byteLength" type="xsd:int"/> <element name="calculated" type="xsd:boolean"/> <element minOccurs="0" name="calculatedFormula" type="xsd:string"/> <element name="caseSensitive" type="xsd:boolean"/> <element minOccurs="0" name="controllerName" type="xsd:string"/> <element name="createable" type="xsd:boolean"/> <element name="custom" type="xsd:boolean"/> <element minOccurs="0" name="defaultValueFormula" type="xsd:string"/> <element name="defaultedOnCreate" type="xsd:boolean"/> <element minOccurs="0" name="dependentPicklist" type="xsd:boolean"/> <element name="digits" type="xsd:int"/> <element minOccurs="0" name="externalId" type="xsd:boolean"/> <element name="filterable" type="xsd:boolean"/> <element minOccurs="0" name="htmlFormatted" type="xsd:boolean"/> <element name="idLookup" type="xsd:boolean"/> <element minOccurs="0" name="inlineHelpText" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="length" type="xsd:int"/> <element name="name" type="xsd:string"/> <element name="nameField" type="xsd:boolean"/> <element minOccurs="0" name="namePointing" type="xsd:boolean"/> <element name="nillable" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="picklistValues" nillable="true" type="tns:PicklistEntry"/> <element name="precision" type="xsd:int"/> <element maxOccurs="unbounded" minOccurs="0" name="referenceTo" nillable="true" type="xsd:string"/> <element minOccurs="0" name="relationshipName" type="xsd:string"/> <element minOccurs="0" name="relationshipOrder" type="xsd:int"/> <element name="restrictedPicklist" type="xsd:boolean"/> <element name="scale" type="xsd:int"/> <element name="soapType" type="tns:soapType"/> <element minOccurs="0" name="sortable" type="xsd:boolean"/> <element name="type" type="tns:fieldType"/> <element name="unique" type="xsd:boolean"/> <element name="updateable" type="xsd:boolean"/> <element minOccurs="0" name="writeRequiresMasterRead" type="xsd:boolean"/> </sequence> </complexType> <complexType name="PicklistEntry"> <sequence> <element name="active" type="xsd:boolean"/> <element name="defaultValue" type="xsd:boolean"/> <element name="label" nillable="true" type="xsd:string"/> <element minOccurs="0" name="validFor" type="xsd:base64Binary"/> <element name="value" type="xsd:string"/> </sequence> </complexType> <complexType name="DescribeSoftphoneLayoutResult"> <sequence> <element maxOccurs="unbounded" name="callTypes" type="tns:DescribeSoftphoneLayoutCallType"/> <element name="id" type="tns:ID"/> <element name="name" type="xsd:string"/> </sequence> </complexType> <complexType name="DescribeSoftphoneLayoutCallType"> <sequence> <element maxOccurs="unbounded" name="infoFields" type="tns:DescribeSoftphoneLayoutInfoField"/> <element name="name" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="sections" type="tns:DescribeSoftphoneLayoutSection"/> </sequence> </complexType> <complexType name="DescribeSoftphoneLayoutInfoField"> <sequence> <element name="name" type="xsd:string"/> </sequence> </complexType> <complexType name="DescribeSoftphoneLayoutSection"> <sequence> <element name="entityApiName" type="xsd:string"/> <element maxOccurs="unbounded" name="items" type="tns:DescribeSoftphoneLayoutItem"/> </sequence> </complexType> <complexType name="DescribeSoftphoneLayoutItem"> <sequence> <element name="itemApiName" type="xsd:string"/> </sequence> </complexType> <complexType name="DescribeLayoutResult"> <sequence> <element maxOccurs="unbounded" name="layouts" type="tns:DescribeLayout"/> <element maxOccurs="unbounded" minOccurs="0" name="recordTypeMappings" type="tns:RecordTypeMapping"/> <element name="recordTypeSelectorRequired" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DescribeLayout"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="detailLayoutSections" type="tns:DescribeLayoutSection"/> <element maxOccurs="unbounded" minOccurs="0" name="editLayoutSections" type="tns:DescribeLayoutSection"/> <element name="id" type="tns:ID"/> <element maxOccurs="unbounded" minOccurs="0" name="relatedLists" type="tns:RelatedList"/> </sequence> </complexType> <complexType name="DescribeLayoutSection"> <sequence> <element name="columns" type="xsd:int"/> <element name="heading" type="xsd:string"/> <element maxOccurs="unbounded" name="layoutRows" type="tns:DescribeLayoutRow"/> <element name="rows" type="xsd:int"/> <element name="useCollapsibleSection" type="xsd:boolean"/> <element name="useHeading" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DescribeLayoutRow"> <sequence> <element maxOccurs="unbounded" name="layoutItems" type="tns:DescribeLayoutItem"/> <element name="numItems" type="xsd:int"/> </sequence> </complexType> <complexType name="DescribeLayoutItem"> <sequence> <element name="editable" type="xsd:boolean"/> <element name="label" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="layoutComponents" type="tns:DescribeLayoutComponent"/> <element name="placeholder" type="xsd:boolean"/> <element name="required" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DescribeLayoutComponent"> <sequence> <element name="displayLines" type="xsd:int"/> <element name="tabOrder" type="xsd:int"/> <element name="type" type="tns:layoutComponentType"/> <element name="value" type="xsd:string"/> </sequence> </complexType> <simpleType name="layoutComponentType"> <restriction base="xsd:string"> <enumeration value="Field"/> <enumeration value="Separator"/> <enumeration value="SControl"/> </restriction> </simpleType> <complexType name="RecordTypeInfo"> <sequence> <element name="available" type="xsd:boolean"/> <element name="defaultRecordTypeMapping" type="xsd:boolean"/> <element name="name" type="xsd:string"/> <element name="recordTypeId" nillable="true" type="tns:ID"/> </sequence> </complexType> <complexType name="RecordTypeMapping"> <sequence> <element name="available" type="xsd:boolean"/> <element name="defaultRecordTypeMapping" type="xsd:boolean"/> <element name="layoutId" type="tns:ID"/> <element name="name" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="picklistsForRecordType" nillable="true" type="tns:PicklistForRecordType"/> <element name="recordTypeId" nillable="true" type="tns:ID"/> </sequence> </complexType> <complexType name="PicklistForRecordType"> <sequence> <element name="picklistName" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="picklistValues" nillable="true" type="tns:PicklistEntry"/> </sequence> </complexType> <complexType name="RelatedList"> <sequence> <element maxOccurs="unbounded" name="columns" type="tns:RelatedListColumn"/> <element name="custom" type="xsd:boolean"/> <element name="field" nillable="true" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="limitRows" type="xsd:int"/> <element name="name" type="xsd:string"/> <element name="sobject" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="sort" type="tns:RelatedListSort"/> </sequence> </complexType> <complexType name="RelatedListColumn"> <sequence> <element name="field" nillable="true" type="xsd:string"/> <element name="format" nillable="true" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="name" type="xsd:string"/> </sequence> </complexType> <complexType name="RelatedListSort"> <sequence> <element name="ascending" type="xsd:boolean"/> <element name="column" type="xsd:string"/> </sequence> </complexType> <complexType name="EmailFileAttachment"> <sequence> <element minOccurs="0" name="body" nillable="true" type="xsd:base64Binary"/> <element name="fileName" type="xsd:string"/> </sequence> </complexType> <simpleType name="EmailPriority"> <restriction base="xsd:string"> <enumeration value="Highest"/> <enumeration value="High"/> <enumeration value="Normal"/> <enumeration value="Low"/> <enumeration value="Lowest"/> </restriction> </simpleType> <complexType name="Email"> <sequence> <element name="bccSender" nillable="true" type="xsd:boolean"/> <element name="emailPriority" nillable="true" type="tns:EmailPriority"/> <element name="replyTo" nillable="true" type="xsd:string"/> <element name="saveAsActivity" nillable="true" type="xsd:boolean"/> <element name="senderDisplayName" nillable="true" type="xsd:string"/> <element name="subject" nillable="true" type="xsd:string"/> <element name="useSignature" nillable="true" type="xsd:boolean"/> </sequence> </complexType> <complexType name="MassEmailMessage"> <complexContent> <extension base="tns:Email"> <sequence> <element name="description" nillable="true" type="xsd:string"/> <element maxOccurs="250" minOccurs="0" name="targetObjectIds" type="tns:ID"/> <element name="templateId" type="tns:ID"/> <element maxOccurs="250" minOccurs="0" name="whatIds" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="SingleEmailMessage"> <complexContent> <extension base="tns:Email"> <sequence> <element maxOccurs="5" minOccurs="0" name="bccAddresses" nillable="true" type="xsd:string"/> <element maxOccurs="5" minOccurs="0" name="ccAddresses" nillable="true" type="xsd:string"/> <element name="charset" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="documentAttachments" type="tns:ID"/> <element name="htmlBody" nillable="true" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="fileAttachments" type="tns:EmailFileAttachment"/> <element name="plainTextBody" nillable="true" type="xsd:string"/> <element name="targetObjectId" nillable="true" type="tns:ID"/> <element name="templateId" nillable="true" type="tns:ID"/> <element maxOccurs="10" minOccurs="0" name="toAddresses" nillable="true" type="xsd:string"/> <element name="whatId" nillable="true" type="tns:ID"/> </sequence> </extension> </complexContent> </complexType> <complexType name="SendEmailResult"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="errors" type="tns:SendEmailError"/> <element name="success" type="xsd:boolean"/> </sequence> </complexType> <complexType name="DescribeTabSetResult"> <sequence> <element name="label" type="xsd:string"/> <element name="logoUrl" type="xsd:string"/> <element minOccurs="0" name="namespace" type="xsd:string"/> <element name="selected" type="xsd:boolean"/> <element maxOccurs="unbounded" minOccurs="0" name="tabs" type="tns:DescribeTab"/> </sequence> </complexType> <complexType name="DescribeTab"> <sequence> <element name="custom" type="xsd:boolean"/> <element name="iconUrl" type="xsd:string"/> <element name="label" type="xsd:string"/> <element name="miniIconUrl" type="xsd:string"/> <element name="sobjectName" nillable="true" type="xsd:string"/> <element name="url" type="xsd:string"/> </sequence> </complexType> <!-- Login Message Types --> <element name="login"> <complexType> <sequence> <element name="username" type="xsd:string"/> <element name="password" type="xsd:string"/> </sequence> </complexType> </element> <element name="loginResponse"> <complexType> <sequence> <element name="result" type="tns:LoginResult"/> </sequence> </complexType> </element> <!-- Describe Message Types --> <element name="describeSObject"> <complexType> <sequence> <element name="sObjectType" type="xsd:string"/> </sequence> </complexType> </element> <element name="describeSObjectResponse"> <complexType> <sequence> <element name="result" nillable="true" type="tns:DescribeSObjectResult"/> </sequence> </complexType> </element> <!-- DescibeSObjects Message Types --> <element name="describeSObjects"> <complexType> <sequence> <element maxOccurs="100" minOccurs="0" name="sObjectType" type="xsd:string"/> </sequence> </complexType> </element> <element name="describeSObjectsResponse"> <complexType> <sequence> <element maxOccurs="100" minOccurs="0" name="result" nillable="true" type="tns:DescribeSObjectResult"/> </sequence> </complexType> </element> <!-- Describe Global Message Types --> <element name="describeGlobal"> <complexType> <sequence/> </complexType> </element> <element name="describeGlobalResponse"> <complexType> <sequence> <element name="result" type="tns:DescribeGlobalResult"/> </sequence> </complexType> </element> <element name="describeLayout"> <complexType> <sequence> <element name="sObjectType" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="recordTypeIds" type="tns:ID"/> </sequence> </complexType> </element> <element name="describeLayoutResponse"> <complexType> <sequence> <element name="result" nillable="true" type="tns:DescribeLayoutResult"/> </sequence> </complexType> </element> <element name="describeSoftphoneLayout"> <complexType> <sequence/> </complexType> </element> <element name="describeSoftphoneLayoutResponse"> <complexType> <sequence> <element name="result" nillable="true" type="tns:DescribeSoftphoneLayoutResult"/> </sequence> </complexType> </element> <element name="describeTabs"> <complexType> <sequence/> </complexType> </element> <element name="describeTabsResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" nillable="true" type="tns:DescribeTabSetResult"/> </sequence> </complexType> </element> <!-- Create Message Types --> <element name="create"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="sObjects" type="ens:sObject"/> </sequence> </complexType> </element> <element name="createResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:SaveResult"/> </sequence> </complexType> </element> <!-- Send Email Types --> <element name="sendEmail"> <complexType> <sequence> <element maxOccurs="10" minOccurs="0" name="messages" type="tns:Email"/> </sequence> </complexType> </element> <element name="sendEmailResponse"> <complexType> <sequence> <element maxOccurs="10" minOccurs="0" name="result" type="tns:SendEmailResult"/> </sequence> </complexType> </element> <!-- Update Message Types --> <element name="update"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="sObjects" type="ens:sObject"/> </sequence> </complexType> </element> <element name="updateResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:SaveResult"/> </sequence> </complexType> </element> <!-- Upsert Message Types --> <element name="upsert"> <complexType> <sequence> <element name="externalIDFieldName" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="sObjects" type="ens:sObject"/> </sequence> </complexType> </element> <element name="upsertResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:UpsertResult"/> </sequence> </complexType> </element> <!-- Merge Message Types --> <element name="merge"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="request" type="tns:MergeRequest"/> </sequence> </complexType> </element> <element name="mergeResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:MergeResult"/> </sequence> </complexType> </element> <!-- Delete Message Types --> <element name="delete"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="ids" type="tns:ID"/> </sequence> </complexType> </element> <element name="deleteResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:DeleteResult"/> </sequence> </complexType> </element> <!-- Undelete Message Types --> <element name="undelete"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="1" name="ids" type="tns:ID"/> </sequence> </complexType> </element> <element name="undeleteResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="1" name="result" type="tns:UndeleteResult"/> </sequence> </complexType> </element> <!-- EmptyRecycleBin Message Types --> <element name="emptyRecycleBin"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="1" name="ids" type="tns:ID"/> </sequence> </complexType> </element> <element name="emptyRecycleBinResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="1" name="result" type="tns:EmptyRecycleBinResult"/> </sequence> </complexType> </element> <!-- Process Message Types --> <element name="process"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="actions" type="tns:ProcessRequest"/> </sequence> </complexType> </element> <element name="processResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:ProcessResult"/> </sequence> </complexType> </element> <!-- Retrieve (ID List) Message Types --> <element name="retrieve"> <complexType> <sequence> <element name="fieldList" type="xsd:string"/> <element name="sObjectType" type="xsd:string"/> <element maxOccurs="unbounded" minOccurs="0" name="ids" type="tns:ID"/> </sequence> </complexType> </element> <element name="retrieveResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" nillable="true" type="ens:sObject"/> </sequence> </complexType> </element> <!-- Convert Lead Message Types --> <element name="convertLead"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="leadConverts" type="tns:LeadConvert"/> </sequence> </complexType> </element> <element name="convertLeadResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:LeadConvertResult"/> </sequence> </complexType> </element> <!-- Get Updated Message Types --> <element name="getUpdated"> <complexType> <sequence> <element name="sObjectType" type="xsd:string"/> <element name="startDate" type="xsd:dateTime"/> <element name="endDate" type="xsd:dateTime"/> </sequence> </complexType> </element> <element name="getUpdatedResponse"> <complexType> <sequence> <element name="result" type="tns:GetUpdatedResult"/> </sequence> </complexType> </element> <!-- Get Deleted Message Types --> <element name="getDeleted"> <complexType> <sequence> <element name="sObjectType" type="xsd:string"/> <element name="startDate" type="xsd:dateTime"/> <element name="endDate" type="xsd:dateTime"/> </sequence> </complexType> </element> <element name="getDeletedResponse"> <complexType> <sequence> <element name="result" type="tns:GetDeletedResult"/> </sequence> </complexType> </element> <!-- Logout current session --> <element name="logout"> <complexType> </complexType> </element> <element name="logoutResponse"> <complexType> </complexType> </element> <!-- Invalidate a list of session ids --> <element name="invalidateSessions"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="sessionIds" type="xsd:string"/> </sequence> </complexType> </element> <element name="invalidateSessionsResponse"> <complexType> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="result" type="tns:InvalidateSessionsResult"/> </sequence> </complexType> </element> <!-- Create Query --> <element name="query"> <complexType> <sequence> <element name="queryString" type="xsd:string"/> </sequence> </complexType> </element> <element name="queryResponse"> <complexType> <sequence> <element name="result" type="tns:QueryResult"/> </sequence> </complexType> </element> <!-- Create Query All --> <element name="queryAll"> <complexType> <sequence> <element name="queryString" type="xsd:string"/> </sequence> </complexType> </element> <element name="queryAllResponse"> <complexType> <sequence> <element name="result" type="tns:QueryResult"/> </sequence> </complexType> </element> <!-- Next Batch of sObjects from a query --> <element name="queryMore"> <complexType> <sequence> <element name="queryLocator" type="tns:QueryLocator"/> </sequence> </complexType> </element> <element name="queryMoreResponse"> <complexType> <sequence> <element name="result" type="tns:QueryResult"/> </sequence> </complexType> </element> <!-- Create Search --> <element name="search"> <complexType> <sequence> <element name="searchString" type="xsd:string"/> </sequence> </complexType> </element> <element name="searchResponse"> <complexType> <sequence> <element name="result" type="tns:SearchResult"/> </sequence> </complexType> </element> <element name="getServerTimestamp"> <complexType> <sequence/> </complexType> </element> <element name="getServerTimestampResponse"> <complexType> <sequence> <element name="result" type="tns:GetServerTimestampResult"/> </sequence> </complexType> </element> <element name="setPassword"> <complexType> <sequence> <element name="userId" type="tns:ID"/> <element name="password" type="xsd:string"/> </sequence> </complexType> </element> <element name="setPasswordResponse"> <complexType> <sequence> <element name="result" type="tns:SetPasswordResult"/> </sequence> </complexType> </element> <element name="resetPassword"> <complexType> <sequence> <element name="userId" type="tns:ID"/> </sequence> </complexType> </element> <element name="resetPasswordResponse"> <complexType> <sequence> <element name="result" type="tns:ResetPasswordResult"/> </sequence> </complexType> </element> <element name="getUserInfo"> <complexType> <sequence/> </complexType> </element> <element name="getUserInfoResponse"> <complexType> <sequence> <element name="result" type="tns:GetUserInfoResult"/> </sequence> </complexType> </element> <!-- Header Elements --> <element name="SessionHeader"> <complexType> <sequence> <element name="sessionId" type="xsd:string"/> </sequence> </complexType> </element> <element name="LoginScopeHeader"> <complexType> <sequence> <element name="organizationId" type="tns:ID"/> <element minOccurs="0" name="portalId" type="tns:ID"/> </sequence> </complexType> </element> <element name="QueryOptions"> <complexType> <sequence> <element minOccurs="0" name="batchSize" type="xsd:int"/> </sequence> </complexType> </element> <simpleType name="DebugLevel"> <restriction base="xsd:string"> <enumeration value="None"/> <enumeration value="DebugOnly"/> <enumeration value="Db"/> </restriction> </simpleType> <element name="DebuggingHeader"> <complexType> <sequence> <element name="debugLevel" type="tns:DebugLevel"/> </sequence> </complexType> </element> <element name="DebuggingInfo"> <complexType> <sequence> <element name="debugLog" type="xsd:string"/> </sequence> </complexType> </element> <!-- ideally this could of just been elem name="..." type="xsd:boolean" but is required to be nested within a complexType for .NET 1.1 compatibility --> <element name="MruHeader"> <complexType> <sequence> <element name="updateMru" type="xsd:boolean"/> </sequence> </complexType> </element> <element name="EmailHeader"> <complexType> <sequence> <element name="triggerAutoResponseEmail" type="xsd:boolean"/> <element name="triggerOtherEmail" type="xsd:boolean"/> <element name="triggerUserEmail" type="xsd:boolean"/> </sequence> </complexType> </element> <element name="AssignmentRuleHeader"> <complexType> <sequence> <element name="assignmentRuleId" nillable="true" type="tns:ID"/> <element name="useDefaultRule" nillable="true" type="xsd:boolean"/> </sequence> </complexType> </element> <element name="UserTerritoryDeleteHeader"> <complexType> <sequence> <element name="transferToUserId" nillable="true" type="tns:ID"/> </sequence> </complexType> </element> <element name="LocaleOptions"> <complexType> <sequence> <element minOccurs="0" name="language" type="xsd:string"/> </sequence> </complexType> </element> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:fault.enterprise.soap.sforce.com"> <simpleType name="ExceptionCode"> <restriction base="xsd:string"> <enumeration value="API_CURRENTLY_DISABLED"/> <enumeration value="API_DISABLED_FOR_ORG"/> <enumeration value="CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/> <enumeration value="CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/> <enumeration value="CIRCULAR_OBJECT_GRAPH"/> <enumeration value="CLIENT_NOT_ACCESSIBLE_FOR_USER"/> <enumeration value="CLIENT_REQUIRE_UPDATE_FOR_USER"/> <enumeration value="CUSTOM_METADATA_LIMIT_EXCEEDED"/> <enumeration value="DUPLICATE_VALUE"/> <enumeration value="EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/> <enumeration value="EMAIL_TO_CASE_INVALID_ROUTING"/> <enumeration value="EMAIL_TO_CASE_LIMIT_EXCEEDED"/> <enumeration value="EMAIL_TO_CASE_NOT_ENABLED"/> <enumeration value="EXCEEDED_ID_LIMIT"/> <enumeration value="EXCEEDED_LEAD_CONVERT_LIMIT"/> <enumeration value="EXCEEDED_MAX_SIZE_REQUEST"/> <enumeration value="EXCEEDED_MAX_TYPES_LIMIT"/> <enumeration value="EXCEEDED_QUOTA"/> <enumeration value="FUNCTIONALITY_NOT_ENABLED"/> <enumeration value="INACTIVE_OWNER_OR_USER"/> <enumeration value="INACTIVE_PORTAL"/> <enumeration value="INSUFFICIENT_ACCESS"/> <enumeration value="INVALID_ASSIGNMENT_RULE"/> <enumeration value="INVALID_BATCH_SIZE"/> <enumeration value="INVALID_CLIENT"/> <enumeration value="INVALID_CROSS_REFERENCE_KEY"/> <enumeration value="INVALID_FIELD"/> <enumeration value="INVALID_FILTER_LANGUAGE"/> <enumeration value="INVALID_FILTER_VALUE"/> <enumeration value="INVALID_ID_FIELD"/> <enumeration value="INVALID_LOCALE_LANGUAGE"/> <enumeration value="INVALID_LOCATOR"/> <enumeration value="INVALID_LOGIN"/> <enumeration value="INVALID_NEW_PASSWORD"/> <enumeration value="INVALID_OPERATION"/> <enumeration value="INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/> <enumeration value="INVALID_QUERY_FILTER_OPERATOR"/> <enumeration value="INVALID_QUERY_LOCATOR"/> <enumeration value="INVALID_QUERY_SCOPE"/> <enumeration value="INVALID_REPLICATION_DATE"/> <enumeration value="INVALID_SEARCH"/> <enumeration value="INVALID_SEARCH_SCOPE"/> <enumeration value="INVALID_SESSION_ID"/> <enumeration value="INVALID_SOAP_HEADER"/> <enumeration value="INVALID_SSO_GATEWAY_URL"/> <enumeration value="INVALID_TYPE"/> <enumeration value="INVALID_TYPE_FOR_OPERATION"/> <enumeration value="LIMIT_EXCEEDED"/> <enumeration value="LOGIN_CHALLENGE_ISSUED"/> <enumeration value="LOGIN_CHALLENGE_PENDING"/> <enumeration value="LOGIN_DURING_RESTRICTED_DOMAIN"/> <enumeration value="LOGIN_DURING_RESTRICTED_TIME"/> <enumeration value="LOGIN_MUST_USE_SECURITY_TOKEN"/> <enumeration value="MALFORMED_ID"/> <enumeration value="MALFORMED_QUERY"/> <enumeration value="MALFORMED_SEARCH"/> <enumeration value="MISSING_ARGUMENT"/> <enumeration value="NOT_MODIFIED"/> <enumeration value="NO_SOFTPHONE_LAYOUT"/> <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/> <enumeration value="OPERATION_TOO_LARGE"/> <enumeration value="ORG_LOCKED"/> <enumeration value="ORG_NOT_OWNED_BY_INSTANCE"/> <enumeration value="PASSWORD_LOCKOUT"/> <enumeration value="PORTAL_NO_ACCESS"/> <enumeration value="QUERY_TIMEOUT"/> <enumeration value="QUERY_TOO_COMPLICATED"/> <enumeration value="REQUEST_LIMIT_EXCEEDED"/> <enumeration value="REQUEST_RUNNING_TOO_LONG"/> <enumeration value="SERVER_UNAVAILABLE"/> <enumeration value="SSO_SERVICE_DOWN"/> <enumeration value="TOO_MANY_APEX_REQUESTS"/> <enumeration value="TRIAL_EXPIRED"/> <enumeration value="UNKNOWN_EXCEPTION"/> <enumeration value="UNSUPPORTED_API_VERSION"/> <enumeration value="UNSUPPORTED_CLIENT"/> </restriction> </simpleType> <!-- For convenience these QNames are returned in the standard soap faultcode element --> <simpleType name="FaultCode"> <restriction base="xsd:QName"> <enumeration value="fns:API_CURRENTLY_DISABLED"/> <enumeration value="fns:API_DISABLED_FOR_ORG"/> <enumeration value="fns:CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/> <enumeration value="fns:CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/> <enumeration value="fns:CIRCULAR_OBJECT_GRAPH"/> <enumeration value="fns:CLIENT_NOT_ACCESSIBLE_FOR_USER"/> <enumeration value="fns:CLIENT_REQUIRE_UPDATE_FOR_USER"/> <enumeration value="fns:CUSTOM_METADATA_LIMIT_EXCEEDED"/> <enumeration value="fns:DUPLICATE_VALUE"/> <enumeration value="fns:EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/> <enumeration value="fns:EMAIL_TO_CASE_INVALID_ROUTING"/> <enumeration value="fns:EMAIL_TO_CASE_LIMIT_EXCEEDED"/> <enumeration value="fns:EMAIL_TO_CASE_NOT_ENABLED"/> <enumeration value="fns:EXCEEDED_ID_LIMIT"/> <enumeration value="fns:EXCEEDED_LEAD_CONVERT_LIMIT"/> <enumeration value="fns:EXCEEDED_MAX_SIZE_REQUEST"/> <enumeration value="fns:EXCEEDED_MAX_TYPES_LIMIT"/> <enumeration value="fns:EXCEEDED_QUOTA"/> <enumeration value="fns:FUNCTIONALITY_NOT_ENABLED"/> <enumeration value="fns:INACTIVE_OWNER_OR_USER"/> <enumeration value="fns:INACTIVE_PORTAL"/> <enumeration value="fns:INSUFFICIENT_ACCESS"/> <enumeration value="fns:INVALID_ASSIGNMENT_RULE"/> <enumeration value="fns:INVALID_BATCH_SIZE"/> <enumeration value="fns:INVALID_CLIENT"/> <enumeration value="fns:INVALID_CROSS_REFERENCE_KEY"/> <enumeration value="fns:INVALID_FIELD"/> <enumeration value="fns:INVALID_FILTER_LANGUAGE"/> <enumeration value="fns:INVALID_FILTER_VALUE"/> <enumeration value="fns:INVALID_ID_FIELD"/> <enumeration value="fns:INVALID_LOCALE_LANGUAGE"/> <enumeration value="fns:INVALID_LOCATOR"/> <enumeration value="fns:INVALID_LOGIN"/> <enumeration value="fns:INVALID_NEW_PASSWORD"/> <enumeration value="fns:INVALID_OPERATION"/> <enumeration value="fns:INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/> <enumeration value="fns:INVALID_QUERY_FILTER_OPERATOR"/> <enumeration value="fns:INVALID_QUERY_LOCATOR"/> <enumeration value="fns:INVALID_QUERY_SCOPE"/> <enumeration value="fns:INVALID_REPLICATION_DATE"/> <enumeration value="fns:INVALID_SEARCH"/> <enumeration value="fns:INVALID_SEARCH_SCOPE"/> <enumeration value="fns:INVALID_SESSION_ID"/> <enumeration value="fns:INVALID_SOAP_HEADER"/> <enumeration value="fns:INVALID_SSO_GATEWAY_URL"/> <enumeration value="fns:INVALID_TYPE"/> <enumeration value="fns:INVALID_TYPE_FOR_OPERATION"/> <enumeration value="fns:LIMIT_EXCEEDED"/> <enumeration value="fns:LOGIN_CHALLENGE_ISSUED"/> <enumeration value="fns:LOGIN_CHALLENGE_PENDING"/> <enumeration value="fns:LOGIN_DURING_RESTRICTED_DOMAIN"/> <enumeration value="fns:LOGIN_DURING_RESTRICTED_TIME"/> <enumeration value="fns:LOGIN_MUST_USE_SECURITY_TOKEN"/> <enumeration value="fns:MALFORMED_ID"/> <enumeration value="fns:MALFORMED_QUERY"/> <enumeration value="fns:MALFORMED_SEARCH"/> <enumeration value="fns:MISSING_ARGUMENT"/> <enumeration value="fns:NOT_MODIFIED"/> <enumeration value="fns:NO_SOFTPHONE_LAYOUT"/> <enumeration value="fns:NUMBER_OUTSIDE_VALID_RANGE"/> <enumeration value="fns:OPERATION_TOO_LARGE"/> <enumeration value="fns:ORG_LOCKED"/> <enumeration value="fns:ORG_NOT_OWNED_BY_INSTANCE"/> <enumeration value="fns:PASSWORD_LOCKOUT"/> <enumeration value="fns:PORTAL_NO_ACCESS"/> <enumeration value="fns:QUERY_TIMEOUT"/> <enumeration value="fns:QUERY_TOO_COMPLICATED"/> <enumeration value="fns:REQUEST_LIMIT_EXCEEDED"/> <enumeration value="fns:REQUEST_RUNNING_TOO_LONG"/> <enumeration value="fns:SERVER_UNAVAILABLE"/> <enumeration value="fns:SSO_SERVICE_DOWN"/> <enumeration value="fns:TOO_MANY_APEX_REQUESTS"/> <enumeration value="fns:TRIAL_EXPIRED"/> <enumeration value="fns:UNKNOWN_EXCEPTION"/> <enumeration value="fns:UNSUPPORTED_API_VERSION"/> <enumeration value="fns:UNSUPPORTED_CLIENT"/> </restriction> </simpleType> <!-- Fault --> <complexType name="ApiFault"> <sequence> <element name="exceptionCode" type="fns:ExceptionCode"/> <element name="exceptionMessage" type="xsd:string"/> </sequence> </complexType> <element name="fault" type="fns:ApiFault"/> <complexType name="ApiQueryFault"> <complexContent> <extension base="fns:ApiFault"> <sequence> <element name="row" type="xsd:int"/> <element name="column" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType> <complexType name="LoginFault"> <complexContent> <extension base="fns:ApiFault"/> </complexContent> </complexType> <element name="LoginFault" type="fns:LoginFault"/> <complexType name="InvalidQueryLocatorFault"> <complexContent> <extension base="fns:ApiFault"/> </complexContent> </complexType> <element name="InvalidQueryLocatorFault" type="fns:InvalidQueryLocatorFault"/> <complexType name="InvalidNewPasswordFault"> <complexContent> <extension base="fns:ApiFault"/> </complexContent> </complexType> <element name="InvalidNewPasswordFault" type="fns:InvalidNewPasswordFault"/> <complexType name="InvalidIdFault"> <complexContent> <extension base="fns:ApiFault"/> </complexContent> </complexType> <element name="InvalidIdFault" type="fns:InvalidIdFault"/> <complexType name="UnexpectedErrorFault"> <complexContent> <extension base="fns:ApiFault"/> </complexContent> </complexType> <element name="UnexpectedErrorFault" type="fns:UnexpectedErrorFault"/> <complexType name="InvalidFieldFault"> <complexContent> <extension base="fns:ApiQueryFault"/> </complexContent> </complexType> <element name="InvalidFieldFault" type="fns:InvalidFieldFault"/> <complexType name="InvalidSObjectFault"> <complexContent> <extension base="fns:ApiQueryFault"/> </complexContent> </complexType> <element name="InvalidSObjectFault" type="fns:InvalidSObjectFault"/> <complexType name="MalformedQueryFault"> <complexContent> <extension base="fns:ApiQueryFault"/> </complexContent> </complexType> <element name="MalformedQueryFault" type="fns:MalformedQueryFault"/> <complexType name="MalformedSearchFault"> <complexContent> <extension base="fns:ApiQueryFault"/> </complexContent> </complexType> <element name="MalformedSearchFault" type="fns:MalformedSearchFault"/> </schema> </types> <!-- Header Message --> <message name="Header"> <part element="tns:LoginScopeHeader" name="LoginScopeHeader"/> <part element="tns:SessionHeader" name="SessionHeader"/> <part element="tns:QueryOptions" name="QueryOptions"/> <part element="tns:AssignmentRuleHeader" name="AssignmentRuleHeader"/> <part element="tns:MruHeader" name="MruHeader"/> <part element="tns:EmailHeader" name="EmailHeader"/> <part element="tns:UserTerritoryDeleteHeader" name="UserTerritoryDeleteHeader"/> <part element="tns:DebuggingHeader" name="DebuggingHeader"/> <part element="tns:DebuggingInfo" name="DebuggingInfo"/> <part element="tns:LocaleOptions" name="LocaleOptions"/> </message> <!-- Fault Messages --> <message name="ApiFault"> <part element="fns:fault" name="fault"/> </message> <message name="LoginFault"> <part element="fns:LoginFault" name="fault"/> </message> <message name="InvalidQueryLocatorFault"> <part element="fns:InvalidQueryLocatorFault" name="fault"/> </message> <message name="InvalidNewPasswordFault"> <part element="fns:InvalidNewPasswordFault" name="fault"/> </message> <message name="InvalidIdFault"> <part element="fns:InvalidIdFault" name="fault"/> </message> <message name="UnexpectedErrorFault"> <part element="fns:UnexpectedErrorFault" name="fault"/> </message> <message name="InvalidFieldFault"> <part element="fns:InvalidFieldFault" name="fault"/> </message> <message name="InvalidSObjectFault"> <part element="fns:InvalidSObjectFault" name="fault"/> </message> <message name="MalformedQueryFault"> <part element="fns:MalformedQueryFault" name="fault"/> </message> <message name="MalformedSearchFault"> <part element="fns:MalformedSearchFault" name="fault"/> </message> <!-- Method Messages --> <message name="loginRequest"> <part element="tns:login" name="parameters"/> </message> <message name="loginResponse"> <part element="tns:loginResponse" name="parameters"/> </message> <message name="describeSObjectRequest"> <part element="tns:describeSObject" name="parameters"/> </message> <message name="describeSObjectResponse"> <part element="tns:describeSObjectResponse" name="parameters"/> </message> <message name="describeSObjectsRequest"> <part element="tns:describeSObjects" name="parameters"/> </message> <message name="describeSObjectsResponse"> <part element="tns:describeSObjectsResponse" name="parameters"/> </message> <message name="describeGlobalRequest"> <part element="tns:describeGlobal" name="parameters"/> </message> <message name="describeGlobalResponse"> <part element="tns:describeGlobalResponse" name="parameters"/> </message> <message name="describeLayoutRequest"> <part element="tns:describeLayout" name="parameters"/> </message> <message name="describeLayoutResponse"> <part element="tns:describeLayoutResponse" name="parameters"/> </message> <message name="describeSoftphoneLayoutRequest"> <part element="tns:describeSoftphoneLayout" name="parameters"/> </message> <message name="describeSoftphoneLayoutResponse"> <part element="tns:describeSoftphoneLayoutResponse" name="parameters"/> </message> <message name="describeTabsRequest"> <part element="tns:describeTabs" name="parameters"/> </message> <message name="describeTabsResponse"> <part element="tns:describeTabsResponse" name="parameters"/> </message> <message name="createRequest"> <part element="tns:create" name="parameters"/> </message> <message name="createResponse"> <part element="tns:createResponse" name="parameters"/> </message> <message name="updateRequest"> <part element="tns:update" name="parameters"/> </message> <message name="updateResponse"> <part element="tns:updateResponse" name="parameters"/> </message> <message name="upsertRequest"> <part element="tns:upsert" name="parameters"/> </message> <message name="upsertResponse"> <part element="tns:upsertResponse" name="parameters"/> </message> <message name="mergeRequest"> <part element="tns:merge" name="parameters"/> </message> <message name="mergeResponse"> <part element="tns:mergeResponse" name="parameters"/> </message> <message name="deleteRequest"> <part element="tns:delete" name="parameters"/> </message> <message name="deleteResponse"> <part element="tns:deleteResponse" name="parameters"/> </message> <message name="undeleteRequest"> <part element="tns:undelete" name="parameters"/> </message> <message name="undeleteResponse"> <part element="tns:undeleteResponse" name="parameters"/> </message> <message name="emptyRecycleBinRequest"> <part element="tns:emptyRecycleBin" name="parameters"/> </message> <message name="emptyRecycleBinResponse"> <part element="tns:emptyRecycleBinResponse" name="parameters"/> </message> <message name="retrieveRequest"> <part element="tns:retrieve" name="parameters"/> </message> <message name="retrieveResponse"> <part element="tns:retrieveResponse" name="parameters"/> </message> <message name="processRequest"> <part element="tns:process" name="parameters"/> </message> <message name="processResponse"> <part element="tns:processResponse" name="parameters"/> </message> <message name="convertLeadRequest"> <part element="tns:convertLead" name="parameters"/> </message> <message name="convertLeadResponse"> <part element="tns:convertLeadResponse" name="parameters"/> </message> <message name="logoutRequest"> <part element="tns:logout" name="parameters"/> </message> <message name="logoutResponse"> <part element="tns:logoutResponse" name="parameters"/> </message> <message name="invalidateSessionsRequest"> <part element="tns:invalidateSessions" name="parameters"/> </message> <message name="invalidateSessionsResponse"> <part element="tns:invalidateSessionsResponse" name="parameters"/> </message> <message name="getDeletedRequest"> <part element="tns:getDeleted" name="parameters"/> </message> <message name="getDeletedResponse"> <part element="tns:getDeletedResponse" name="parameters"/> </message> <message name="getUpdatedRequest"> <part element="tns:getUpdated" name="parameters"/> </message> <message name="getUpdatedResponse"> <part element="tns:getUpdatedResponse" name="parameters"/> </message> <message name="queryRequest"> <part element="tns:query" name="parameters"/> </message> <message name="queryResponse"> <part element="tns:queryResponse" name="parameters"/> </message> <message name="queryAllRequest"> <part element="tns:queryAll" name="parameters"/> </message> <message name="queryAllResponse"> <part element="tns:queryAllResponse" name="parameters"/> </message> <message name="queryMoreRequest"> <part element="tns:queryMore" name="parameters"/> </message> <message name="queryMoreResponse"> <part element="tns:queryMoreResponse" name="parameters"/> </message> <message name="searchRequest"> <part element="tns:search" name="parameters"/> </message> <message name="searchResponse"> <part element="tns:searchResponse" name="parameters"/> </message> <message name="getServerTimestampRequest"> <part element="tns:getServerTimestamp" name="parameters"/> </message> <message name="getServerTimestampResponse"> <part element="tns:getServerTimestampResponse" name="parameters"/> </message> <message name="setPasswordRequest"> <part element="tns:setPassword" name="parameters"/> </message> <message name="setPasswordResponse"> <part element="tns:setPasswordResponse" name="parameters"/> </message> <message name="resetPasswordRequest"> <part element="tns:resetPassword" name="parameters"/> </message> <message name="resetPasswordResponse"> <part element="tns:resetPasswordResponse" name="parameters"/> </message> <message name="getUserInfoRequest"> <part element="tns:getUserInfo" name="parameters"/> </message> <message name="getUserInfoResponse"> <part element="tns:getUserInfoResponse" name="parameters"/> </message> <message name="sendEmailRequest"> <part element="tns:sendEmail" name="parameters"/> </message> <message name="sendEmailResponse"> <part element="tns:sendEmailResponse" name="parameters"/> </message> <!-- Soap PortType --> <portType name="Soap"> <operation name="login"> <documentation>Login to the Salesforce.com SOAP Api</documentation> <input message="tns:loginRequest"/> <output message="tns:loginResponse"/> <fault message="tns:LoginFault" name="LoginFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> </operation> <operation name="describeSObject"> <documentation>Describe an sObject</documentation> <input message="tns:describeSObjectRequest"/> <output message="tns:describeSObjectResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="describeSObjects"> <documentation>Describe a number sObjects</documentation> <input message="tns:describeSObjectsRequest"/> <output message="tns:describeSObjectsResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="describeGlobal"> <documentation>Describe the Global state</documentation> <input message="tns:describeGlobalRequest"/> <output message="tns:describeGlobalResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="describeLayout"> <documentation>Describe the layout of an sObject</documentation> <input message="tns:describeLayoutRequest"/> <output message="tns:describeLayoutResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> </operation> <operation name="describeSoftphoneLayout"> <documentation>Describe the layout of the SoftPhone</documentation> <input message="tns:describeSoftphoneLayoutRequest"/> <output message="tns:describeSoftphoneLayoutResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="describeTabs"> <documentation>Describe the tabs that appear on a users page</documentation> <input message="tns:describeTabsRequest"/> <output message="tns:describeTabsResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="create"> <documentation>Create a set of new sObjects</documentation> <input message="tns:createRequest"/> <output message="tns:createResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> </operation> <operation name="update"> <documentation>Update a set of sObjects</documentation> <input message="tns:updateRequest"/> <output message="tns:updateResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> </operation> <operation name="upsert"> <documentation>Update or insert a set of sObjects based on object id</documentation> <input message="tns:upsertRequest"/> <output message="tns:upsertResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> </operation> <operation name="merge"> <documentation>Merge and update a set of sObjects based on object id</documentation> <input message="tns:mergeRequest"/> <output message="tns:mergeResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> </operation> <operation name="delete"> <documentation>Delete a set of sObjects</documentation> <input message="tns:deleteRequest"/> <output message="tns:deleteResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="undelete"> <documentation>Undelete a set of sObjects</documentation> <input message="tns:undeleteRequest"/> <output message="tns:undeleteResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="emptyRecycleBin"> <documentation>Empty a set of sObjects from the recycle bin</documentation> <input message="tns:emptyRecycleBinRequest"/> <output message="tns:emptyRecycleBinResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="retrieve"> <documentation>Get a set of sObjects</documentation> <input message="tns:retrieveRequest"/> <output message="tns:retrieveResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> </operation> <operation name="process"> <documentation>Submit an entity to a workflow process or process a workitem</documentation> <input message="tns:processRequest"/> <output message="tns:processResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> </operation> <operation name="convertLead"> <documentation>convert a set of leads</documentation> <input message="tns:convertLeadRequest"/> <output message="tns:convertLeadResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="logout"> <documentation>Logout the current user, invalidating the current session.</documentation> <input message="tns:logoutRequest"/> <output message="tns:logoutResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="invalidateSessions"> <documentation>Logs out and invalidates session ids</documentation> <input message="tns:invalidateSessionsRequest"/> <output message="tns:invalidateSessionsResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="getDeleted"> <documentation>Get the IDs for deleted sObjects</documentation> <input message="tns:getDeletedRequest"/> <output message="tns:getDeletedResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="getUpdated"> <documentation>Get the IDs for updated sObjects</documentation> <input message="tns:getUpdatedRequest"/> <output message="tns:getUpdatedResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="query"> <documentation>Create a Query Cursor</documentation> <input message="tns:queryRequest"/> <output message="tns:queryResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/> </operation> <operation name="queryAll"> <documentation>Create a Query Cursor, including deleted sObjects</documentation> <input message="tns:queryAllRequest"/> <output message="tns:queryAllResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> <fault message="tns:MalformedQueryFault" name="MalformedQueryFault"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/> </operation> <operation name="queryMore"> <documentation>Gets the next batch of sObjects from a query</documentation> <input message="tns:queryMoreRequest"/> <output message="tns:queryMoreResponse"/> <fault message="tns:InvalidQueryLocatorFault" name="InvalidQueryLocatorFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> </operation> <operation name="search"> <documentation>Search for sObjects</documentation> <input message="tns:searchRequest"/> <output message="tns:searchResponse"/> <fault message="tns:InvalidSObjectFault" name="InvalidSObjectFault"/> <fault message="tns:InvalidFieldFault" name="InvalidFieldFault"/> <fault message="tns:MalformedSearchFault" name="MalformedSearchFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="getServerTimestamp"> <documentation>Gets server timestamp</documentation> <input message="tns:getServerTimestampRequest"/> <output message="tns:getServerTimestampResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="setPassword"> <documentation>Set a user's password</documentation> <input message="tns:setPasswordRequest"/> <output message="tns:setPasswordResponse"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:InvalidNewPasswordFault" name="InvalidNewPasswordFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="resetPassword"> <documentation>Reset a user's password</documentation> <input message="tns:resetPasswordRequest"/> <output message="tns:resetPasswordResponse"/> <fault message="tns:InvalidIdFault" name="InvalidIdFault"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="getUserInfo"> <documentation>Returns standard information relevant to the current user</documentation> <input message="tns:getUserInfoRequest"/> <output message="tns:getUserInfoResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> <operation name="sendEmail"> <documentation>Send outbound email</documentation> <input message="tns:sendEmailRequest"/> <output message="tns:sendEmailResponse"/> <fault message="tns:UnexpectedErrorFault" name="UnexpectedErrorFault"/> </operation> </portType> <!-- Soap Binding --> <binding name="SoapBinding" type="tns:Soap"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="login"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="LoginScopeHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="LoginFault"> <soap:fault name="LoginFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> </operation> <operation name="describeSObject"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="LocaleOptions" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="describeSObjects"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="LocaleOptions" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="describeGlobal"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="describeLayout"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> </operation> <operation name="describeSoftphoneLayout"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="describeTabs"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="create"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="AssignmentRuleHeader" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> </operation> <operation name="update"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="AssignmentRuleHeader" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> </operation> <operation name="upsert"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="AssignmentRuleHeader" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> </operation> <operation name="merge"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="AssignmentRuleHeader" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> </operation> <operation name="delete"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="UserTerritoryDeleteHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="undelete"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="emptyRecycleBin"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="retrieve"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="QueryOptions" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> <fault name="MalformedQueryFault"> <soap:fault name="MalformedQueryFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> </operation> <operation name="process"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> </operation> <operation name="convertLead"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="DebuggingHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:header message="tns:Header" part="DebuggingInfo" use="literal"/> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="logout"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="invalidateSessions"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="getDeleted"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="getUpdated"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="query"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="QueryOptions" use="literal"/> <soap:header message="tns:Header" part="MruHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> <fault name="MalformedQueryFault"> <soap:fault name="MalformedQueryFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidQueryLocatorFault"> <soap:fault name="InvalidQueryLocatorFault" use="literal"/> </fault> </operation> <operation name="queryAll"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="QueryOptions" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> <fault name="MalformedQueryFault"> <soap:fault name="MalformedQueryFault" use="literal"/> </fault> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidQueryLocatorFault"> <soap:fault name="InvalidQueryLocatorFault" use="literal"/> </fault> </operation> <operation name="queryMore"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="QueryOptions" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidQueryLocatorFault"> <soap:fault name="InvalidQueryLocatorFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> </operation> <operation name="search"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidSObjectFault"> <soap:fault name="InvalidSObjectFault" use="literal"/> </fault> <fault name="InvalidFieldFault"> <soap:fault name="InvalidFieldFault" use="literal"/> </fault> <fault name="MalformedSearchFault"> <soap:fault name="MalformedSearchFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="getServerTimestamp"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="setPassword"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="InvalidNewPasswordFault"> <soap:fault name="InvalidNewPasswordFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="resetPassword"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:header message="tns:Header" part="EmailHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="InvalidIdFault"> <soap:fault name="InvalidIdFault" use="literal"/> </fault> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="getUserInfo"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> <operation name="sendEmail"> <soap:operation soapAction=""/> <input> <soap:header message="tns:Header" part="SessionHeader" use="literal"/> <soap:body parts="parameters" use="literal"/> </input> <output> <soap:body use="literal"/> </output> <fault name="UnexpectedErrorFault"> <soap:fault name="UnexpectedErrorFault" use="literal"/> </fault> </operation> </binding> <!-- Soap Service Endpoint --> <service name="SforceService"> <documentation>Sforce SOAP API</documentation> <port binding="tns:SoapBinding" name="Soap"> <soap:address location="https://www.salesforce.com/services/Soap/c/13.0"/> </port> </service> </definitions> SforceMetaObject.php 0000604 00000007642 15173770240 0010447 0 ustar 00 <?php require_once('SforceFieldTypes.php'); class SforceCustomObject { public function setDeploymentStatus($deploymentStatus) { $this->deploymentStatus = $deploymentStatus; } public function setDescription($description) { $this->description = $description; } public function setEnableActivities($enableActivities) { $this->enableActivities = $enableActivities; } public function setEnableDivisions($enableDivisions) { $this->enableDivisions = $enableDivisions; } public function setEnableHistory($enableHistory) { $this->enableHistory = $enableHistory; } public function setEnableReports($enableReports) { $this->enableReports = $enableReports; } public function setFields($fields) { $this->fields = $fields; } public function setFullName($fullName) { $this->fullName = $fullName; } public function setGender($gender) { $this->gender = $gender; } public function setHousehold($household) { $this->household = $household; } public function setLabel($label) { $this->label = $label; } public function setNameField($nameField) { $this->nameField = $nameField; } public function setPluralLabel($pluralLabel) { $this->pluralLabel = $pluralLabel; } public function setStartsWith($startsWith) { $this->startsWith = $startsWith; } } class SforceCustomField { public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } public function setDefaultValue($defaultValue) { $this->defaultValue = $defaultValue; } public function setDescription($description) { $this->description = $description; } public function setDisplayFormat($displayFormat) { $this->displayFormat = $displayFormat; } public function setExternalId($externalId) { $this->externalId = $externalId; } public function setFormula($formula) { $this->formula = $formula; } public function setFormulaTreatBlankAs($formulaTreatBlankAs) { $this->formulaTreatBlankAs = $formulaTreatBlankAs; } public function setFullName($fullName) { $this->fullName = $fullName; } public function setInlineHelpText($inlineHelpText) { $this->inlineHelpText = $inlineHelpText; } public function setLabel($label) { $this->label = $label; } public function setLength($length) { $this->length = $length; } public function setMaskChar($maskChar) { $this->maskChar = $maskChar; } public function setMaskType($maskType) { $this->maskType = $maskType; } public function setPicklist($picklist) { $this->picklist = $picklist; } public function setPopulateExistingRows($populateExistingRows) { $this->populateExistingRows = $populateExistingRows; } public function setPrecision($precision) { $this->precision = $precision; } public function setReferenceTo($referenceTo) { $this->referenceTo = $referenceTo; } public function setRelationshipName($relationshipName) { $this->relationshipName = $relationshipName; } public function setRequired($required) { $this->required = $required; } public function setScale($scale) { $this->scale = $scale; } public function setStartingNumber($startingNumber) { $this->startingNumber = $startingNumber; } public function setSummarizeField($summarizeField) { $this->summarizeField = $summarizeField; } public function setSummaryFilterItems($summaryFilterItems) { $this->summaryFilterItems = $summaryFilterItems; } public function setSummaryForeignKey($summaryForeignKey) { $this->summaryForeignKey = $summaryForeignKey; } public function setSummaryOperation($summaryOperation) { $this->summaryOperation = $summaryOperation; } public function setType($type) { $this->type = $type; } public function setUnique($unique) { $this->unique = $unique; } public function setVisibleLines($visibleLines) { $this->visibleLines = $visibleLines; } } ?> SforceMetadataClient.php 0000604 00000006123 15173770240 0011302 0 ustar 00 <?php require_once ('SforceMetaObject.php'); class SforceMetadataClient { public $sforce; protected $sessionId; protected $location; protected $namespace = 'http://soap.sforce.com/2006/04/metadata'; public function __construct($wsdl, $loginResult, $sforceConn) { $soapClientArray = null; if (phpversion() > '5.1.2') { $soapClientArray = array( 'encoding' => 'utf-8', 'trace' => 1, 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP, 'sessionId' => $loginResult->sessionId ); } else { $soapClientArray = array( 'encoding' => 'utf-8', 'trace' => 1, 'sessionId' => $loginResult->sessionId ); } $this->sforce = new SoapClient($wsdl,$soapClientArray); //$this->sforce->__setSoapHeaders($header_array); $sessionVar = array( 'sessionId' => new SoapVar($loginResult->sessionId, XSD_STRING) ); $headerBody = new SoapVar($sessionVar, SOAP_ENC_OBJECT); $session_header = new SoapHeader($this->namespace, 'SessionHeader', $headerBody, false); $header_array = array( $session_header ); $this->sforce->__setSoapHeaders($header_array); $this->sforce->__setLocation($loginResult->metadataServerUrl); return $this->sforce; } /** * Specifies the session ID returned from the login server after a successful * login. */ protected function _setLoginHeader($loginResult) { $this->sessionId = $loginResult->sessionId; $this->setSessionHeader($this->sessionId); $serverURL = $loginResult->serverUrl; $this->setEndPoint($serverURL); } /** * Set the endpoint. * * @param string $location Location */ public function setEndpoint($location) { $this->location = $location; $this->sforce->__setLocation($location); } /** * Set the Session ID * * @param string $sessionId Session ID */ public function setSessionHeader($sessionId) { $this->sforce->__setSoapHeaders(NULL); $session_header = new SoapHeader($this->namespace, 'SessionHeader', array( 'sessionId' => $sessionId )); $this->sessionId = $sessionId; $header_array = array( $session_header ); $this->_setClientId($header_array); $this->sforce->__setSoapHeaders($header_array); } public function create($obj) { $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, 'CustomObject', $this->namespace); return $this->sforce->create($encodedObj); } public function delete($obj) { $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, 'CustomObject', $this->namespace); return $this->sforce->delete($encodedObj); } public function checkStatus($ids) { return $this->sforce->checkStatus($ids); } public function getLastRequest() { return $this->sforce->__getLastRequest(); } public function getLastRequestHeaders() { return $this->sforce->__getLastRequestHeaders(); } public function getLastResponse() { return $this->sforce->__getLastResponse(); } public function getLastResponseHeaders() { return $this->sforce->__getLastResponseHeaders(); } } ?> SforcePartnerClient.php 0000604 00000036675 15173770240 0011214 0 ustar 00 <?php /* * Copyright (c) 2007, salesforce.com, inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of conditions and the * following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and * the following disclaimer in the documentation and/or other materials provided with the distribution. * * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or * promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ require_once ('SforceBaseClient.php'); //require_once ('SforceEmail.php'); /** * This file contains two classes. * @package SalesforceSoapClient */ /** * SforcePartnerClient class. * * @package SalesforceSoapClient */ class SforcePartnerClient extends SforceBaseClient { const PARTNER_NAMESPACE = 'urn:partner.soap.sforce.com'; function SforcePartnerClient() { $this->namespace = self::PARTNER_NAMESPACE; } /** * Adds one or more new individual objects to your organization's data. * @param array $sObjects Array of one or more sObjects (up to 200) to create. * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL * @param MruHeader $mru_header is optional. Defaults to NULL * @return SaveResult */ public function create($sObjects) { $arg = new stdClass; foreach ($sObjects as $sObject) { if (isset ($sObject->fields)) { $sObject->any = $this->_convertToAny($sObject->fields); } } $arg->sObjects = $sObjects; return parent::_create($arg); } /** * Merge records * * @param stdclass $mergeRequest * @param String $type * @return unknown */ public function merge($mergeRequest) { if (isset($mergeRequest->masterRecord)) { if (isset ($mergeRequest->masterRecord->fields)) { $mergeRequest->masterRecord->any = $this->_convertToAny($mergeRequest->masterRecord->fields); } //return parent::merge($mergeRequest, $type); $arg->request = $mergeRequest; return $this->_merge($arg); } } public function sendSingleEmail($request) { if (is_array($request)) { $messages = array(); foreach ($request as $r) { $email = new SoapVar($r, SOAP_ENC_OBJECT, 'SingleEmailMessage', $this->namespace); array_push($messages, $email); } $arg->messages = $messages; return parent::_sendEmail($arg); } else { $backtrace = debug_backtrace(); die('Please pass in array to this function: '.$backtrace[0]['function']); } } public function sendMassEmail($request) { if (is_array($request)) { $messages = array(); foreach ($request as $r) { $email = new SoapVar($r, SOAP_ENC_OBJECT, 'MassEmailMessage', $this->namespace); array_push($messages, $email); } $arg->messages = $messages; return parent::_sendEmail($arg); } else { $backtrace = debug_backtrace(); die('Please pass in array to this function: '.$backtrace[0]['function']); } } /** * Updates one or more new individual objects to your organization's data. * @param array sObjects Array of sObjects * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL * @param MruHeader $mru_header is optional. Defaults to NULL * @return UpdateResult */ public function update($sObjects) { $arg = new stdClass; foreach ($sObjects as $sObject) { if (isset ($sObject->fields)) { $sObject->any = $this->_convertToAny($sObject->fields); } } $arg->sObjects = $sObjects; return parent::_update($arg); } /** * Creates new objects and updates existing objects; uses a custom field to * determine the presence of existing objects. In most cases, we recommend * that you use upsert instead of create because upsert is idempotent. * Available in the API version 7.0 and later. * * @param string $ext_Id External Id * @param array $sObjects Array of sObjects * @return UpsertResult */ public function upsert($ext_Id, $sObjects) { // $this->_setSessionHeader(); $arg = new stdClass; $arg->externalIDFieldName = new SoapVar($ext_Id, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); foreach ($sObjects as $sObject) { if (isset ($sObject->fields)) { $sObject->any = $this->_convertToAny($sObject->fields); } } $arg->sObjects = $sObjects; return parent::_upsert($arg); } public function query($query) { return new QueryResult(parent::query($query)); } public function queryMore($queryLocator) { return new QueryResult(parent::queryMore($queryLocator)); } public function retrieve($fieldList, $sObjectType, $ids) { return $this->_retrieveResult(parent::retrieve($fieldList, $sObjectType, $ids)); } private function _retrieveResult($response) { $arr = array(); if (is_array($response)) { foreach($response as $r) { $sobject = new SObject($r); array_push($arr,$sobject); }; }else { $sobject = new SObject($response); array_push($arr, $sobject); } return $arr; } } class QueryResult { public $queryLocator; public $done; public $records; public $size; public function __construct($response) { $this->queryLocator = $response->queryLocator; $this->done = $response->done; $this->size = $response->size; if ($response instanceof QueryResult) { $this->records = $response->records; } else { $this->records = array(); if (isset($response->records)) { if (is_array($response->records)) { foreach ($response->records as $record) { $sobject = new SObject($record); array_push($this->records, $sobject); }; } else { $sobject = new SObject($response->records); array_push($this->records, $sobject); } } } } } /** * Salesforce Object * * @package SalesforceSoapClient */ class SObject { public $type; public $fields; // public $sobject; public function __construct($response=NULL) { if (isset($response)) { if (isset($response->Id)) $this->Id = $response->Id[0]; if (isset($response->type)) $this->type = $response->type; if (isset($response->any)) { try { //$this->fields = $this->convertFields($response->any); // If ANY is an object, instantiate another SObject if ($response->any instanceof stdClass) { if ($this->isSObject($response->any)) { $anArray = array(); $sobject = new SObject($response->any); $anArray[] = $sobject; $this->sobjects = $anArray; } else { // this is for parent to child relationships $this->queryResult = new QueryResult($response->any); } } else { // If ANY is an array if (is_array($response->any)) { // Loop through each and perform some action. $anArray = array(); // Modify the foreach to have $key=>$value // Added on 28th April 2008 foreach ($response->any as $k=>$item) { if ($item instanceof stdClass) { if ($this->isSObject($item)) { $sobject = new SObject($item); // make an associative array instead of a numeric one $anArray[$k] = $sobject; } else { // this is for parent to child relationships //$this->queryResult = new QueryResult($item); if (!isset($this->queryResult)) { $this->queryResult = array(); } array_push($this->queryResult, new QueryResult($item)); } } else { //$this->fields = $this->convertFields($item); if (!isset($fieldsToConvert)) { $fieldsToConvert = $item; } else { $fieldsToConvert .= $item; } } if (isset($fieldsToConvert)) { // If this line is commented, then the fields becomes a stdclass object and does not have the name variable // In this case the foreach loop on line 252 runs successfuly $this->fields = $this->convertFields($fieldsToConvert); } } if (sizeof($anArray) > 0) { // To add more variables to the the top level sobject foreach ($anArray as $k=>$children_sobject) { $this->fields->$k = $children_sobject; } //array_push($this->fields, $anArray); // Uncommented on 28th April since all the sobjects have now been moved to the fields //$this->sobjects = $anArray; } /* $this->fields = $this->convertFields($response->any[0]); if (isset($response->any[1]->records)) { $anArray = array(); if ($response->any[1]->size == 1) { $records = array( $response->any[1]->records ); } else { $records = $response->any[1]->records; } foreach ($records as $record) { $sobject = new SObject($record); array_push($anArray, $sobject); } $this->sobjects = $anArray; } else { $anArray = array(); $sobject = new SObject($response->any[1]); array_push($anArray, $sobject); $this->sobjects = $anArray; } */ } else { $this->fields = $this->convertFields($response->any); } } } catch (Exception $e) { var_dump($e); } } } } /** * Parse the "any" string from an sObject. First strip out the sf: and then * enclose string with <Object></Object>. Load the string using * simplexml_load_string and return an array that can be traversed. */ function convertFields($any) { // ereg_replace('sf:', '', $any); deprecated in PHP: 5.3.0 (use preg_replace('{sf:}', '', $any);) $str = preg_replace('{sf:}', '', $any); $array = $this->xml2array('<Object xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'.$str.'</Object>',0); $xml = new stdClass; if (!count($array['Object'])) return $xml; foreach ($array['Object'] as $k=>$v) { $xml->$k = $v; } //$new_string = '<Object xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'.$new_string.'</Object>'; //$new_string = $new_string; //$xml = simplexml_load_string($new_string); return $xml; } function xml2array($contents, $get_attributes=1) { if (!$contents) return array(); if (!function_exists('xml_parser_create')) { //print "'xml_parser_create()' function not found!"; return array('not found'); } //Get the XML parser of PHP - PHP must have this module for the parser to work $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1); xml_parse_into_struct($parser, $contents, $xml_values); xml_parser_free( $parser); if (!$xml_values) return;//Hmm... //Initializations $xml_array = array(); $parents = array(); $opened_tags = array(); $arr = array(); $current = &$xml_array; //Go through the tags. foreach($xml_values as $data) { unset($attributes,$value);//Remove existing values, or there will be trouble //This command will extract these variables into the foreach scope // tag(string), type(string), level(int), attributes(array). extract($data);//We could use the array by itself, but this cooler. $result = ''; if ($get_attributes) {//The second argument of the function decides this. $result = array(); if (isset($value)) $result['value'] = $value; //Set the attributes too. if (isset($attributes)) { foreach($attributes as $attr => $val) { if ($get_attributes == 1) $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr' /** :TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */ } } } elseif (isset($value)) { $result = $value; } //See tag status and do the needed. if ($type == "open") {//The starting of the tag '<tag>' $parent[$level-1] = &$current; if (!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag $current[$tag] = $result; $current = &$current[$tag]; } else { //There was another element with the same tag name if (isset($current[$tag][0])) { array_push($current[$tag], $result); } else { $current[$tag] = array($current[$tag],$result); } $last = count($current[$tag]) - 1; $current = &$current[$tag][$last]; } } elseif ($type == "complete") { //Tags that ends in 1 line '<tag />' //See if the key is already taken. if (!isset($current[$tag])) { //New Key $current[$tag] = $result; } else { //If taken, put all things inside a list(array) if ((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array... or (isset($current[$tag][0]) and is_array($current[$tag][0]) and $get_attributes == 1)) { array_push($current[$tag],$result); // ...push the new element into that array. } else { //If it is not an array... $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value } } } elseif ($type == 'close') { //End of tag '</tag>' $current = &$parent[$level-1]; } } return($xml_array); } /* * If the stdClass has a done, we know it is a QueryResult */ function isQueryResult($param) { return isset($param->done); } /* * If the stdClass has a type, we know it is an SObject */ function isSObject($param) { return isset($param->type); } } ?>