Reference for http://api2.redtailtechnology.com/crm/v1/rest/calendar/search?page={PAGE}&deleted={DELETED}

Url: http://api2.redtailtechnology.com/crm/v1/rest/calendar/search?page={PAGE}&deleted={DELETED}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<ArrayOfActivitySearch xmlns="http://schemas.datacontract.org/2004/07/REDTAIL.Model">
  <ActivitySearch>
    <Field>lastupdate</Field>
    <Operand>Equals</Operand>
    <Value>String content</Value>
  </ActivitySearch>
  <ActivitySearch>
    <Field>lastupdate</Field>
    <Operand>Equals</Operand>
    <Value>String content</Value>
  </ActivitySearch>
</ArrayOfActivitySearch>

The following is an example request Json body:

[{
	"Field":0,
	"Operand":0,
	"Value":"String content"
}]

The following is an example response Xml body:

<Activities_Result xmlns="http://schemas.datacontract.org/2004/07/REDTAIL.Model.Responses.v1">
  <Activities>
    <Activity xmlns="http://schemas.datacontract.org/2004/07/REDTAIL.Model">
      <AccountID>2147483647</AccountID>
      <ActivityOwnerID>2147483647</ActivityOwnerID>
      <ActivityOwnerName>String content</ActivityOwnerName>
      <AllDayEvent>true</AllDayEvent>
      <Category>String content</Category>
      <CategoryID>2147483647</CategoryID>
      <ClientID>2147483647</ClientID>
      <ClientName>String content</ClientName>
      <Color>String content</Color>
      <ColorComplete>String content</ColorComplete>
      <Colors>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Colors>
      <Complete>true</Complete>
      <CompleteBy>String content</CompleteBy>
      <CompleteByID>2147483647</CompleteByID>
      <CompleteDate>1999-05-31T11:20:00</CompleteDate>
      <Deleted>true</Deleted>
      <DeletedBy>String content</DeletedBy>
      <DeletedByID>2147483647</DeletedByID>
      <DeletedDate>1999-05-31T11:20:00</DeletedDate>
      <EndDate>1999-05-31T11:20:00</EndDate>
      <Importance>2147483647</Importance>
      <LastUpdate>1999-05-31T11:20:00</LastUpdate>
      <LastUpdateString>String content</LastUpdateString>
      <LinkedNotesCount>2147483647</LinkedNotesCount>
      <Location>String content</Location>
      <Note>String content</Note>
      <PercentDone>2147483647</PercentDone>
      <Priority>2147483647</Priority>
      <RecAdd>1999-05-31T11:20:00</RecAdd>
      <RecAddString>String content</RecAddString>
      <RecAddUser>2147483647</RecAddUser>
      <RecAddUserName>String content</RecAddUserName>
      <RecID>2147483647</RecID>
      <Reminder>true</Reminder>
      <ReminderDate>1999-05-31T11:20:00</ReminderDate>
      <Repeat>true</Repeat>
      <RepeatParent>2147483647</RepeatParent>
      <Repeat_EndDate>1999-05-31T11:20:00</Repeat_EndDate>
      <Repeat_Freq>String content</Repeat_Freq>
      <Repeat_Freq2>String content</Repeat_Freq2>
      <Repeat_Interval>2147483647</Repeat_Interval>
      <Repeat_Interval2>2147483647</Repeat_Interval2>
      <Restore>true</Restore>
      <RestoreDate>1999-05-31T11:20:00</RestoreDate>
      <StartDate>1999-05-31T11:20:00</StartDate>
      <Subject>String content</Subject>
      <Type>String content</Type>
      <TypeID>2147483647</TypeID>
    </Activity>
    <Activity xmlns="http://schemas.datacontract.org/2004/07/REDTAIL.Model">
      <AccountID>2147483647</AccountID>
      <ActivityOwnerID>2147483647</ActivityOwnerID>
      <ActivityOwnerName>String content</ActivityOwnerName>
      <AllDayEvent>true</AllDayEvent>
      <Category>String content</Category>
      <CategoryID>2147483647</CategoryID>
      <ClientID>2147483647</ClientID>
      <ClientName>String content</ClientName>
      <Color>String content</Color>
      <ColorComplete>String content</ColorComplete>
      <Colors>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      </Colors>
      <Complete>true</Complete>
      <CompleteBy>String content</CompleteBy>
      <CompleteByID>2147483647</CompleteByID>
      <CompleteDate>1999-05-31T11:20:00</CompleteDate>
      <Deleted>true</Deleted>
      <DeletedBy>String content</DeletedBy>
      <DeletedByID>2147483647</DeletedByID>
      <DeletedDate>1999-05-31T11:20:00</DeletedDate>
      <EndDate>1999-05-31T11:20:00</EndDate>
      <Importance>2147483647</Importance>
      <LastUpdate>1999-05-31T11:20:00</LastUpdate>
      <LastUpdateString>String content</LastUpdateString>
      <LinkedNotesCount>2147483647</LinkedNotesCount>
      <Location>String content</Location>
      <Note>String content</Note>
      <PercentDone>2147483647</PercentDone>
      <Priority>2147483647</Priority>
      <RecAdd>1999-05-31T11:20:00</RecAdd>
      <RecAddString>String content</RecAddString>
      <RecAddUser>2147483647</RecAddUser>
      <RecAddUserName>String content</RecAddUserName>
      <RecID>2147483647</RecID>
      <Reminder>true</Reminder>
      <ReminderDate>1999-05-31T11:20:00</ReminderDate>
      <Repeat>true</Repeat>
      <RepeatParent>2147483647</RepeatParent>
      <Repeat_EndDate>1999-05-31T11:20:00</Repeat_EndDate>
      <Repeat_Freq>String content</Repeat_Freq>
      <Repeat_Freq2>String content</Repeat_Freq2>
      <Repeat_Interval>2147483647</Repeat_Interval>
      <Repeat_Interval2>2147483647</Repeat_Interval2>
      <Restore>true</Restore>
      <RestoreDate>1999-05-31T11:20:00</RestoreDate>
      <StartDate>1999-05-31T11:20:00</StartDate>
      <Subject>String content</Subject>
      <Type>String content</Type>
      <TypeID>2147483647</TypeID>
    </Activity>
  </Activities>
  <TotalRecords>2147483647</TotalRecords>
</Activities_Result>

The following is an example response Json body:

{
	"Activities":[{
		"AccountID":2147483647,
		"ActivityOwnerID":2147483647,
		"ActivityOwnerName":"String content",
		"AllDayEvent":true,
		"Category":"String content",
		"CategoryID":2147483647,
		"ClientID":2147483647,
		"ClientName":"String content",
		"Color":"String content",
		"ColorComplete":"String content",
		"Colors":["String content"],
		"Complete":true,
		"CompleteBy":"String content",
		"CompleteByID":2147483647,
		"CompleteDate":"\/Date(928174800000-0700)\/",
		"Deleted":true,
		"DeletedBy":"String content",
		"DeletedByID":2147483647,
		"DeletedDate":"\/Date(928174800000-0700)\/",
		"EndDate":"\/Date(928174800000-0700)\/",
		"Importance":2147483647,
		"LastUpdate":"\/Date(928174800000-0700)\/",
		"LastUpdateString":"String content",
		"LinkedNotesCount":2147483647,
		"Location":"String content",
		"Note":"String content",
		"PercentDone":2147483647,
		"Priority":2147483647,
		"RecAdd":"\/Date(928174800000-0700)\/",
		"RecAddString":"String content",
		"RecAddUser":2147483647,
		"RecAddUserName":"String content",
		"RecID":2147483647,
		"Reminder":true,
		"ReminderDate":"\/Date(928174800000-0700)\/",
		"Repeat":true,
		"RepeatParent":2147483647,
		"Repeat_EndDate":"\/Date(928174800000-0700)\/",
		"Repeat_Freq":"String content",
		"Repeat_Freq2":"String content",
		"Repeat_Interval":2147483647,
		"Repeat_Interval2":2147483647,
		"Restore":true,
		"RestoreDate":"\/Date(928174800000-0700)\/",
		"StartDate":"\/Date(928174800000-0700)\/",
		"Subject":"String content",
		"Type":"String content",
		"TypeID":2147483647
	}],
	"TotalRecords":2147483647
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/REDTAIL.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/REDTAIL.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfActivitySearch">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActivitySearch" nillable="true" type="tns:ActivitySearch" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfActivitySearch" nillable="true" type="tns:ArrayOfActivitySearch" />
  <xs:complexType name="ActivitySearch">
    <xs:sequence>
      <xs:element minOccurs="0" name="Field" type="tns:ActivitySearch.SearchField" />
      <xs:element minOccurs="0" name="Operand" type="tns:ActivitySearch.SearchOperand" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ActivitySearch" nillable="true" type="tns:ActivitySearch" />
  <xs:simpleType name="ActivitySearch.SearchField">
    <xs:restriction base="xs:string">
      <xs:enumeration value="lastupdate" />
      <xs:enumeration value="recadd">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="allday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="startdate">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="enddate">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="type">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="complete">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="subject">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="location">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="reminder">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="contactid">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">20</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="userid">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">21</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ActivitySearch.SearchField" nillable="true" type="tns:ActivitySearch.SearchField" />
  <xs:simpleType name="ActivitySearch.SearchOperand">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Equals" />
      <xs:enumeration value="GreaterThan" />
      <xs:enumeration value="LessThan" />
      <xs:enumeration value="NotEqual" />
      <xs:enumeration value="Like" />
      <xs:enumeration value="Begins" />
      <xs:enumeration value="IsEmpty" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ActivitySearch.SearchOperand" nillable="true" type="tns:ActivitySearch.SearchOperand" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/REDTAIL.Model.Responses.v1" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/REDTAIL.Model.Responses.v1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/REDTAIL.Model" />
  <xs:complexType name="Activities_Result">
    <xs:sequence>
      <xs:element minOccurs="0" name="Activities" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/REDTAIL.Model" type="q1:ArrayOfActivity" />
      <xs:element minOccurs="0" name="TotalRecords" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Activities_Result" nillable="true" type="tns:Activities_Result" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/REDTAIL.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/REDTAIL.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ArrayOfActivity">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Activity" nillable="true" type="tns:Activity" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfActivity" nillable="true" type="tns:ArrayOfActivity" />
  <xs:complexType name="Activity">
    <xs:sequence>
      <xs:element minOccurs="0" name="AccountID" type="xs:int" />
      <xs:element minOccurs="0" name="ActivityOwnerID" type="xs:int" />
      <xs:element minOccurs="0" name="ActivityOwnerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AllDayEvent" type="xs:boolean" />
      <xs:element minOccurs="0" name="Category" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CategoryID" type="xs:int" />
      <xs:element minOccurs="0" name="ClientID" type="xs:int" />
      <xs:element minOccurs="0" name="ClientName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Color" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ColorComplete" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Colors" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="Complete" type="xs:boolean" />
      <xs:element minOccurs="0" name="CompleteBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompleteByID" type="xs:int" />
      <xs:element minOccurs="0" name="CompleteDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Deleted" type="xs:boolean" />
      <xs:element minOccurs="0" name="DeletedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeletedByID" type="xs:int" />
      <xs:element minOccurs="0" name="DeletedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Importance" type="xs:int" />
      <xs:element minOccurs="0" name="LastUpdate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LastUpdateString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LinkedNotesCount" type="xs:int" />
      <xs:element minOccurs="0" name="Location" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PercentDone" type="xs:int" />
      <xs:element minOccurs="0" name="Priority" type="xs:int" />
      <xs:element minOccurs="0" name="RecAdd" type="xs:dateTime" />
      <xs:element minOccurs="0" name="RecAddString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecAddUser" type="xs:int" />
      <xs:element minOccurs="0" name="RecAddUserName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecID" type="xs:int" />
      <xs:element minOccurs="0" name="Reminder" type="xs:boolean" />
      <xs:element minOccurs="0" name="ReminderDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Repeat" type="xs:boolean" />
      <xs:element minOccurs="0" name="RepeatParent" type="xs:int" />
      <xs:element minOccurs="0" name="Repeat_EndDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Repeat_Freq" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Repeat_Freq2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Repeat_Interval" type="xs:int" />
      <xs:element minOccurs="0" name="Repeat_Interval2" type="xs:int" />
      <xs:element minOccurs="0" name="Restore" type="xs:boolean" />
      <xs:element minOccurs="0" name="RestoreDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TypeID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Activity" nillable="true" type="tns:Activity" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>