Reference for http://studio.mdl.io/REST/contactservice/GetContactInfo

To get summary information about the contact

Url: http://studio.mdl.io/REST/contactservice/GetContactInfo

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:

<DTO_ContactInfoRequest xmlns="http://schemas.datacontract.org/2004/07/MindFireInc.Services.DTO">
  <ContactID>9223372036854775807</ContactID>
  <Credentials>
    <IsEncrypted>true</IsEncrypted>
    <PartnerPassword>String content</PartnerPassword>
    <PartnerTicket>String content</PartnerTicket>
    <Ticket>String content</Ticket>
    <UserPassword>String content</UserPassword>
  </Credentials>
</DTO_ContactInfoRequest>

The following is an example request Json body:

{
	"ContactID":9223372036854775807,
	"Credentials":{
		"IsEncrypted":true,
		"PartnerPassword":"String content",
		"PartnerTicket":"String content",
		"Ticket":"String content",
		"UserPassword":"String content"
	}
}

The following is an example response Xml body:

<DTO_ContactInfoResponse xmlns="http://schemas.datacontract.org/2004/07/MindFireInc.Services.DTO">
  <Company>String content</Company>
  <CreationDate>1999-05-31T11:20:00</CreationDate>
  <CreationMethod>String content</CreationMethod>
  <Email>String content</Email>
  <FirstName>String content</FirstName>
  <Gender>String content</Gender>
  <Imports>
    <DTO_ImportSummary>
      <Date>1999-05-31T11:20:00</Date>
      <ID>9223372036854775807</ID>
      <Name>String content</Name>
    </DTO_ImportSummary>
    <DTO_ImportSummary>
      <Date>1999-05-31T11:20:00</Date>
      <ID>9223372036854775807</ID>
      <Name>String content</Name>
    </DTO_ImportSummary>
  </Imports>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <IsSeed>true</IsSeed>
  <LastName>String content</LastName>
  <LastUpdate>1999-05-31T11:20:00</LastUpdate>
  <Mobile>String content</Mobile>
  <Phone>String content</Phone>
  <PhotoUrl>String content</PhotoUrl>
  <Purl>String content</Purl>
  <Result>
    <ErrorCode>String content</ErrorCode>
    <ErrorMessage>String content</ErrorMessage>
    <ExceptionMessage>String content</ExceptionMessage>
  </Result>
  <Title>String content</Title>
</DTO_ContactInfoResponse>

The following is an example response Json body:

{
	"Company":"String content",
	"CreationDate":"\/Date(928174800000-0700)\/",
	"CreationMethod":"String content",
	"Email":"String content",
	"FirstName":"String content",
	"Gender":"String content",
	"Imports":[{
		"Date":"\/Date(928174800000-0700)\/",
		"ID":9223372036854775807,
		"Name":"String content"
	}],
	"IsActive":true,
	"IsDeleted":true,
	"IsSeed":true,
	"LastName":"String content",
	"LastUpdate":"\/Date(928174800000-0700)\/",
	"Mobile":"String content",
	"Phone":"String content",
	"PhotoUrl":"String content",
	"Purl":"String content",
	"Result":{
		"ErrorCode":"String content",
		"ErrorMessage":"String content",
		"ExceptionMessage":"String content"
	},
	"Title":"String content"
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/MindFireInc.Services.DTO" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MindFireInc.Services.DTO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="DTO_ContactInfoRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="ContactID" type="xs:long" />
      <xs:element minOccurs="0" name="Credentials" nillable="true" type="tns:DTO_Credentials" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DTO_ContactInfoRequest" nillable="true" type="tns:DTO_ContactInfoRequest" />
  <xs:complexType name="DTO_Credentials">
    <xs:sequence>
      <xs:element minOccurs="0" name="IsEncrypted" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="PartnerPassword" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PartnerTicket" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Ticket" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserPassword" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DTO_Credentials" nillable="true" type="tns:DTO_Credentials" />
</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/MindFireInc.Services.DTO" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MindFireInc.Services.DTO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="DTO_ContactInfoResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="Company" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreationDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CreationMethod" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Gender" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Imports" nillable="true" type="tns:ArrayOfDTO_ImportSummary" />
      <xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsDeleted" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSeed" type="xs:boolean" />
      <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastUpdate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Mobile" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhotoUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Purl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:DTO_Result" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DTO_ContactInfoResponse" nillable="true" type="tns:DTO_ContactInfoResponse" />
  <xs:complexType name="ArrayOfDTO_ImportSummary">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DTO_ImportSummary" nillable="true" type="tns:DTO_ImportSummary" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDTO_ImportSummary" nillable="true" type="tns:ArrayOfDTO_ImportSummary" />
  <xs:complexType name="DTO_ImportSummary">
    <xs:sequence>
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ID" type="xs:long" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DTO_ImportSummary" nillable="true" type="tns:DTO_ImportSummary" />
  <xs:complexType name="DTO_Result">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExceptionMessage" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DTO_Result" nillable="true" type="tns:DTO_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>

<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>