Reference for https://api.circuitree.com/Entity/UpsertIndividual.json

Url: https://api.circuitree.com/Entity/UpsertIndividual.json

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:

<UpsertIndividualRequest xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities">
  <ApiToken xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models">String content</ApiToken>
  <BirthDate>String content</BirthDate>
  <DLClassType>String content</DLClassType>
  <DLNumber>String content</DLNumber>
  <DLState>String content</DLState>
  <EmailAddresses>
    <EmailAddress>
      <Address>String content</Address>
      <IsPrimary>true</IsPrimary>
      <UpdateAllEntities>true</UpdateAllEntities>
    </EmailAddress>
    <EmailAddress>
      <Address>String content</Address>
      <IsPrimary>true</IsPrimary>
      <UpdateAllEntities>true</UpdateAllEntities>
    </EmailAddress>
  </EmailAddresses>
  <ExternalID>String content</ExternalID>
  <ExternalSource>2147483647</ExternalSource>
  <FirstName>String content</FirstName>
  <FullName>String content</FullName>
  <FullTimeStudent>true</FullTimeStudent>
  <Gender>String content</Gender>
  <Grade>String content</Grade>
  <GradeLevel>Preschool</GradeLevel>
  <GradeYear>2147483647</GradeYear>
  <Greeting>String content</Greeting>
  <IsInCollege>true</IsInCollege>
  <LastName>String content</LastName>
  <MiddleName>String content</MiddleName>
  <Nickname>String content</Nickname>
  <Password>String content</Password>
  <PhoneNumbers>
    <PhoneNumber>
      <Extension>String content</Extension>
      <IsPrimary>true</IsPrimary>
      <Number>String content</Number>
      <NumberType>NotSet</NumberType>
      <UpdateAllEntities>true</UpdateAllEntities>
    </PhoneNumber>
    <PhoneNumber>
      <Extension>String content</Extension>
      <IsPrimary>true</IsPrimary>
      <Number>String content</Number>
      <NumberType>NotSet</NumberType>
      <UpdateAllEntities>true</UpdateAllEntities>
    </PhoneNumber>
  </PhoneNumbers>
  <PostalAddresses>
    <PostalAddress>
      <Address1>String content</Address1>
      <Address2>String content</Address2>
      <Address3>String content</Address3>
      <AddressTypeID>NotSet</AddressTypeID>
      <City>String content</City>
      <CountryCode>String content</CountryCode>
      <CountryName>String content</CountryName>
      <IsPrimary>true</IsPrimary>
      <State>String content</State>
      <UpdateAllEntities>true</UpdateAllEntities>
      <Zip>String content</Zip>
    </PostalAddress>
    <PostalAddress>
      <Address1>String content</Address1>
      <Address2>String content</Address2>
      <Address3>String content</Address3>
      <AddressTypeID>NotSet</AddressTypeID>
      <City>String content</City>
      <CountryCode>String content</CountryCode>
      <CountryName>String content</CountryName>
      <IsPrimary>true</IsPrimary>
      <State>String content</State>
      <UpdateAllEntities>true</UpdateAllEntities>
      <Zip>String content</Zip>
    </PostalAddress>
  </PostalAddresses>
  <PreferredName>String content</PreferredName>
  <Profession>String content</Profession>
  <SSNumber>String content</SSNumber>
  <Suffix>String content</Suffix>
  <WorkName>String content</WorkName>
  <AttributeValues>
    <ImportAttributeValueModel xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models">
      <AttributeID>2147483647</AttributeID>
      <AttributeValue>String content</AttributeValue>
      <AttributeYear>2147483647</AttributeYear>
    </ImportAttributeValueModel>
    <ImportAttributeValueModel xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models">
      <AttributeID>2147483647</AttributeID>
      <AttributeValue>String content</AttributeValue>
      <AttributeYear>2147483647</AttributeYear>
    </ImportAttributeValueModel>
  </AttributeValues>
  <DoNotSaveBlankValues>true</DoNotSaveBlankValues>
  <EntityID>9223372036854775807</EntityID>
  <EntityRelationship>Parent</EntityRelationship>
  <FamilyRole>NotSet</FamilyRole>
  <GroupEntityID>9223372036854775807</GroupEntityID>
  <IsAdministrator>true</IsAdministrator>
  <IsFinancialContact>true</IsFinancialContact>
</UpsertIndividualRequest>

The following is an example request Json body:

{
	"ApiToken":"String content",
	"BirthDate":"String content",
	"DLClassType":"String content",
	"DLNumber":"String content",
	"DLState":"String content",
	"EmailAddresses":[{
		"Address":"String content",
		"IsPrimary":true,
		"UpdateAllEntities":true
	}],
	"ExternalID":"String content",
	"ExternalSource":2147483647,
	"FirstName":"String content",
	"FullName":"String content",
	"FullTimeStudent":true,
	"Gender":"String content",
	"Grade":"String content",
	"GradeLevel":0,
	"GradeYear":2147483647,
	"Greeting":"String content",
	"IsInCollege":true,
	"LastName":"String content",
	"MiddleName":"String content",
	"Nickname":"String content",
	"Password":"String content",
	"PhoneNumbers":[{
		"Extension":"String content",
		"IsPrimary":true,
		"Number":"String content",
		"NumberType":0,
		"UpdateAllEntities":true
	}],
	"PostalAddresses":[{
		"Address1":"String content",
		"Address2":"String content",
		"Address3":"String content",
		"AddressTypeID":0,
		"City":"String content",
		"CountryCode":"String content",
		"CountryName":"String content",
		"IsPrimary":true,
		"State":"String content",
		"UpdateAllEntities":true,
		"Zip":"String content"
	}],
	"PreferredName":"String content",
	"Profession":"String content",
	"SSNumber":"String content",
	"Suffix":"String content",
	"WorkName":"String content",
	"AttributeValues":[{
		"AttributeID":2147483647,
		"AttributeValue":"String content",
		"AttributeYear":2147483647
	}],
	"DoNotSaveBlankValues":true,
	"EntityID":9223372036854775807,
	"EntityRelationship":0,
	"FamilyRole":0,
	"GroupEntityID":9223372036854775807,
	"IsAdministrator":true,
	"IsFinancialContact":true
}

The following is an example response Xml body:

<UpsertIndividualResult xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities">
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models">Unknown</StatusCode>
  <StatusMessage xmlns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models">String content</StatusMessage>
  <EntityID>9223372036854775807</EntityID>
  <ExternalID>String content</ExternalID>
  <FoundDuplicate>true</FoundDuplicate>
</UpsertIndividualResult>

The following is an example response Json body:

{
	"StatusCode":0,
	"StatusMessage":"String content",
	"EntityID":9223372036854775807,
	"ExternalID":"String content",
	"FoundDuplicate":true
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums.Entities" />
  <xs:complexType name="UpsertIndividualRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:UpdateIndividualRequest">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UpsertIndividualRequest" nillable="true" type="tns:UpsertIndividualRequest" />
  <xs:complexType name="UpdateIndividualRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CreateIndividualRequest">
        <xs:sequence>
          <xs:element minOccurs="0" name="AttributeValues" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" type="q1:ArrayOfImportAttributeValueModel" />
          <xs:element minOccurs="0" name="DoNotSaveBlankValues" type="xs:boolean" />
          <xs:element minOccurs="0" name="EntityID" type="xs:long" />
          <xs:element minOccurs="0" name="EntityRelationship" xmlns:q2="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" type="q2:EntityRelationshipTypes" />
          <xs:element minOccurs="0" name="FamilyRole" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums.Entities" type="q3:FamilyRoleTypes" />
          <xs:element minOccurs="0" name="GroupEntityID" type="xs:long" />
          <xs:element minOccurs="0" name="IsAdministrator" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsFinancialContact" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UpdateIndividualRequest" nillable="true" type="tns:UpdateIndividualRequest" />
  <xs:complexType name="CreateIndividualRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" base="q4:BaseRequest">
        <xs:sequence>
          <xs:element minOccurs="0" name="BirthDate" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DLClassType" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DLNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DLState" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EmailAddresses" nillable="true" type="tns:ArrayOfEmailAddress" />
          <xs:element minOccurs="0" name="ExternalID" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ExternalSource" type="xs:int" />
          <xs:element name="FirstName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FullTimeStudent" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="Gender" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Grade" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GradeLevel" xmlns:q5="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" type="q5:GradeLevels" />
          <xs:element minOccurs="0" name="GradeYear" type="xs:int" />
          <xs:element minOccurs="0" name="Greeting" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsInCollege" nillable="true" type="xs:boolean" />
          <xs:element name="LastName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MiddleName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Nickname" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PhoneNumbers" nillable="true" type="tns:ArrayOfPhoneNumber" />
          <xs:element minOccurs="0" name="PostalAddresses" nillable="true" type="tns:ArrayOfPostalAddress" />
          <xs:element minOccurs="0" name="PreferredName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Profession" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SSNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Suffix" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="WorkName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CreateIndividualRequest" nillable="true" type="tns:CreateIndividualRequest" />
  <xs:complexType name="ArrayOfEmailAddress">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="EmailAddress" nillable="true" type="tns:EmailAddress" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfEmailAddress" nillable="true" type="tns:ArrayOfEmailAddress" />
  <xs:complexType name="EmailAddress">
    <xs:sequence>
      <xs:element name="Address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsPrimary" type="xs:boolean" />
      <xs:element minOccurs="0" name="UpdateAllEntities" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EmailAddress" nillable="true" type="tns:EmailAddress" />
  <xs:complexType name="ArrayOfPhoneNumber">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PhoneNumber" nillable="true" type="tns:PhoneNumber" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPhoneNumber" nillable="true" type="tns:ArrayOfPhoneNumber" />
  <xs:complexType name="PhoneNumber">
    <xs:sequence>
      <xs:element minOccurs="0" name="Extension" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsPrimary" type="xs:boolean" />
      <xs:element name="Number" nillable="true" type="xs:string" />
      <xs:element name="NumberType" xmlns:q6="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" type="q6:PhoneNumberTypes" />
      <xs:element minOccurs="0" name="UpdateAllEntities" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PhoneNumber" nillable="true" type="tns:PhoneNumber" />
  <xs:complexType name="ArrayOfPostalAddress">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PostalAddress" nillable="true" type="tns:PostalAddress" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPostalAddress" nillable="true" type="tns:ArrayOfPostalAddress" />
  <xs:complexType name="PostalAddress">
    <xs:sequence>
      <xs:element name="Address1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Address3" nillable="true" type="xs:string" />
      <xs:element name="AddressTypeID" xmlns:q7="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" type="q7:AddressTypes" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsPrimary" type="xs:boolean" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdateAllEntities" type="xs:boolean" />
      <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PostalAddress" nillable="true" type="tns:PostalAddress" />
</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>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="BaseRequest">
    <xs:sequence>
      <xs:element name="ApiToken" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseRequest" nillable="true" type="tns:BaseRequest" />
  <xs:complexType name="ArrayOfImportAttributeValueModel">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ImportAttributeValueModel" nillable="true" type="tns:ImportAttributeValueModel" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfImportAttributeValueModel" nillable="true" type="tns:ArrayOfImportAttributeValueModel" />
  <xs:complexType name="ImportAttributeValueModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="AttributeID" type="xs:int" />
      <xs:element minOccurs="0" name="AttributeValue" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AttributeYear" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ImportAttributeValueModel" nillable="true" type="tns:ImportAttributeValueModel" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="GradeLevels">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Preschool">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">-2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Kindergarten">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">-1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NotSet">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="First">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Second">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Third">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Fourth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Fifth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Sixth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Seventh">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Eighth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Ninth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Tenth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Eleventh">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">11</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Twelfth">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Fr">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Soph">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Jr">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Sr">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Other">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">99</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="GradeLevels" nillable="true" type="tns:GradeLevels" />
  <xs:simpleType name="PhoneNumberTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="Home" />
      <xs:enumeration value="Work" />
      <xs:enumeration value="Cell" />
      <xs:enumeration value="Fax" />
      <xs:enumeration value="Alternate" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PhoneNumberTypes" nillable="true" type="tns:PhoneNumberTypes" />
  <xs:simpleType name="AddressTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="Home" />
      <xs:enumeration value="Work" />
      <xs:enumeration value="Alternate" />
      <xs:enumeration value="School" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="AddressTypes" nillable="true" type="tns:AddressTypes" />
  <xs:simpleType name="EntityRelationshipTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Parent">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Stepparent">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">21</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Grandparent" />
      <xs:enumeration value="PAH" />
      <xs:enumeration value="Child" />
      <xs:enumeration value="Grandchild" />
      <xs:enumeration value="AuntUncle" />
      <xs:enumeration value="ExSpouse" />
      <xs:enumeration value="FriendOfFamily" />
      <xs:enumeration value="Cousin" />
      <xs:enumeration value="NieceNephew" />
      <xs:enumeration value="SubGroup" />
      <xs:enumeration value="Spouse" />
      <xs:enumeration value="Sibling" />
      <xs:enumeration value="LegalGuardian" />
      <xs:enumeration value="Employee" />
      <xs:enumeration value="Member" />
      <xs:enumeration value="Customer" />
      <xs:enumeration value="Owner">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">22</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Stepchild">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">18</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SignificantOther">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">19</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Other">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">20</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Husband">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">23</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Wife">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">24</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="_single">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">25</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FosterParent">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">26</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="EntityRelationshipTypes" nillable="true" type="tns:EntityRelationshipTypes" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Common.Enums.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="FamilyRoleTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NotSet" />
      <xs:enumeration value="Father" />
      <xs:enumeration value="Mother" />
      <xs:enumeration value="StepFather" />
      <xs:enumeration value="StepMother" />
      <xs:enumeration value="Grandfather" />
      <xs:enumeration value="Grandmother" />
      <xs:enumeration value="Uncle" />
      <xs:enumeration value="Aunt" />
      <xs:enumeration value="Husband" />
      <xs:enumeration value="Wife" />
      <xs:enumeration value="LegalGuardian" />
      <xs:enumeration value="FriendOfFamily" />
      <xs:enumeration value="_single" />
      <xs:enumeration value="Child" />
      <xs:enumeration value="StepChild" />
      <xs:enumeration value="Grandchild" />
      <xs:enumeration value="Niece" />
      <xs:enumeration value="Nephew" />
      <xs:enumeration value="Cousin" />
      <xs:enumeration value="FosterParent" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FamilyRoleTypes" nillable="true" type="tns:FamilyRoleTypes" />
</xs:schema>

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

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" />
  <xs:complexType name="UpsertIndividualResult">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CreateIndividualResult">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UpsertIndividualResult" nillable="true" type="tns:UpsertIndividualResult" />
  <xs:complexType name="CreateIndividualResult">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" base="q1:BaseResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="EntityID" type="xs:long" />
          <xs:element minOccurs="0" name="ExternalID" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FoundDuplicate" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CreateIndividualResult" nillable="true" type="tns:CreateIndividualResult" />
</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/CircuiTree.Business.Components.API.Models" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CircuiTree.Business.Components.API.Models" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CTS.Common" />
  <xs:complexType name="BaseResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="StatusCode" xmlns:q1="http://schemas.datacontract.org/2004/07/CTS.Common" type="q1:Enums.APIStatusCodes" />
      <xs:element minOccurs="0" name="StatusMessage" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseResult" nillable="true" type="tns:BaseResult" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CTS.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CTS.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="Enums.APIStatusCodes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Success" />
      <xs:enumeration value="InvalidCredentials" />
      <xs:enumeration value="InvalidCompanyCode" />
      <xs:enumeration value="Configuration" />
      <xs:enumeration value="UnexpectedError" />
      <xs:enumeration value="Invalid" />
      <xs:enumeration value="Failed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Enums.APIStatusCodes" nillable="true" type="tns:Enums.APIStatusCodes" />
</xs:schema>

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