Reference for http://ws.veriscanonline.com/VSWebServices67/ReSyncOfflineCard

ReSyncOfflineCard.

Url: http://ws.veriscanonline.com/VSWebServices67/ReSyncOfflineCard

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:

<ReSyncRequestModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Cards">
  <AppVersion xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</AppVersion>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</CompanyId>
  <ComputerName xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ComputerName>
  <HardwareId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</HardwareId>
  <IsLive xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">true</IsLive>
  <TimeZoneId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</TimeZoneId>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</UserId>
  <Login xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Login>
  <Password xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Password>
  <CustId>1627aea5-8e0a-4371-9022-9b504344e724</CustId>
  <Key>1627aea5-8e0a-4371-9022-9b504344e724</Key>
  <SyncRequestIds>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
  </SyncRequestIds>
</ReSyncRequestModel>

The following is an example request Json body:

{
	"AppVersion":"String content",
	"CompanyId":"String content",
	"ComputerName":"String content",
	"HardwareId":"String content",
	"IsLive":true,
	"TimeZoneId":"String content",
	"UserId":2147483647,
	"Login":"String content",
	"Password":"String content",
	"CustId":"1627aea5-8e0a-4371-9022-9b504344e724",
	"Key":"1627aea5-8e0a-4371-9022-9b504344e724",
	"SyncRequestIds":[2147483647]
}

The following is an example response Xml body:

<ReSyncResponseModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Cards">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ErrorCode>
  <Status xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Status>
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</StatusCode>
  <ValidationResult xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">
    <ResponseValidationResultItem>
      <Errors>
        <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>
      </Errors>
      <Field>String content</Field>
    </ResponseValidationResultItem>
    <ResponseValidationResultItem>
      <Errors>
        <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>
      </Errors>
      <Field>String content</Field>
    </ResponseValidationResultItem>
  </ValidationResult>
  <Result>
    <ReSyncResult>
      <Response>
        <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ErrorCode>
        <Status xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Status>
        <StatusCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</StatusCode>
        <ValidationResult xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">
          <ResponseValidationResultItem>
            <Errors>
              <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>
            </Errors>
            <Field>String content</Field>
          </ResponseValidationResultItem>
          <ResponseValidationResultItem>
            <Errors>
              <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>
            </Errors>
            <Field>String content</Field>
          </ResponseValidationResultItem>
        </ValidationResult>
        <Amount>2147483647</Amount>
        <CardId>2147483647</CardId>
        <DocumentId>2147483647</DocumentId>
        <IsNew>true</IsNew>
        <LastVisit>1999-05-31T11:20:00</LastVisit>
        <PaymentSourceId>2147483647</PaymentSourceId>
        <PersonId>2147483647</PersonId>
        <PersonStatistics>
          <FirstScannedLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</FirstScannedLocal>
          <LastCardId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</LastCardId>
          <LastOutLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastOutLocal>
          <LastScannedLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastScannedLocal>
          <TotalScans xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</TotalScans>
          <LastScannedUtc xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastScannedUtc>
          <PersonId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</PersonId>
        </PersonStatistics>
        <PhotoBlobId>1627aea5-8e0a-4371-9022-9b504344e724</PhotoBlobId>
        <PhotoUrl>String content</PhotoUrl>
        <ResultMessage>String content</ResultMessage>
        <TotalVisits>2147483647</TotalVisits>
        <idStripeBillingLog>9223372036854775807</idStripeBillingLog>
        <idVisitor>2147483647</idVisitor>
      </Response>
      <SyncRequestId>2147483647</SyncRequestId>
    </ReSyncResult>
    <ReSyncResult>
      <Response>
        <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ErrorCode>
        <Status xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Status>
        <StatusCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</StatusCode>
        <ValidationResult xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">
          <ResponseValidationResultItem>
            <Errors>
              <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>
            </Errors>
            <Field>String content</Field>
          </ResponseValidationResultItem>
          <ResponseValidationResultItem>
            <Errors>
              <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>
            </Errors>
            <Field>String content</Field>
          </ResponseValidationResultItem>
        </ValidationResult>
        <Amount>2147483647</Amount>
        <CardId>2147483647</CardId>
        <DocumentId>2147483647</DocumentId>
        <IsNew>true</IsNew>
        <LastVisit>1999-05-31T11:20:00</LastVisit>
        <PaymentSourceId>2147483647</PaymentSourceId>
        <PersonId>2147483647</PersonId>
        <PersonStatistics>
          <FirstScannedLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</FirstScannedLocal>
          <LastCardId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</LastCardId>
          <LastOutLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastOutLocal>
          <LastScannedLocal xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastScannedLocal>
          <TotalScans xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</TotalScans>
          <LastScannedUtc xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">1999-05-31T11:20:00</LastScannedUtc>
          <PersonId xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person">2147483647</PersonId>
        </PersonStatistics>
        <PhotoBlobId>1627aea5-8e0a-4371-9022-9b504344e724</PhotoBlobId>
        <PhotoUrl>String content</PhotoUrl>
        <ResultMessage>String content</ResultMessage>
        <TotalVisits>2147483647</TotalVisits>
        <idStripeBillingLog>9223372036854775807</idStripeBillingLog>
        <idVisitor>2147483647</idVisitor>
      </Response>
      <SyncRequestId>2147483647</SyncRequestId>
    </ReSyncResult>
  </Result>
</ReSyncResponseModel>

The following is an example response Json body:

{
	"ErrorCode":"String content",
	"Status":"String content",
	"StatusCode":2147483647,
	"ValidationResult":[{
		"Errors":["String content"],
		"Field":"String content"
	}],
	"Result":[{
		"Response":{
			"ErrorCode":"String content",
			"Status":"String content",
			"StatusCode":2147483647,
			"ValidationResult":[{
				"Errors":["String content"],
				"Field":"String content"
			}],
			"Amount":2147483647,
			"CardId":2147483647,
			"DocumentId":2147483647,
			"IsNew":true,
			"LastVisit":"\/Date(928149600000+0000)\/",
			"PaymentSourceId":2147483647,
			"PersonId":2147483647,
			"PersonStatistics":{
				"FirstScannedLocal":"\/Date(928149600000+0000)\/",
				"LastCardId":2147483647,
				"LastOutLocal":"\/Date(928149600000+0000)\/",
				"LastScannedLocal":"\/Date(928149600000+0000)\/",
				"TotalScans":2147483647,
				"LastScannedUtc":"\/Date(928149600000+0000)\/",
				"PersonId":2147483647
			},
			"PhotoBlobId":"1627aea5-8e0a-4371-9022-9b504344e724",
			"PhotoUrl":"String content",
			"ResultMessage":"String content",
			"TotalVisits":2147483647,
			"idStripeBillingLog":9223372036854775807,
			"idVisitor":2147483647
		},
		"SyncRequestId":2147483647
	}]
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Cards" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Cards" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" />
  <xs:complexType name="ReSyncRequestModel">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q1:RequestModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustId" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="Key" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="SyncRequestIds" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReSyncRequestModel" nillable="true" type="tns:ReSyncRequestModel" />
</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/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="RequestModel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RequestModelBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RequestModel" nillable="true" type="tns:RequestModel" />
  <xs:complexType name="RequestModelBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppVersion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ComputerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HardwareId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsLive" type="xs:boolean" />
      <xs:element minOccurs="0" name="TimeZoneId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RequestModelBase" nillable="true" type="tns:RequestModelBase" />
</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="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
</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/VSWebService.Models.Cards" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Cards" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ReSyncResponseModel">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q1:ResponseModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="Result" nillable="true" type="tns:ArrayOfReSyncResult" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReSyncResponseModel" nillable="true" type="tns:ReSyncResponseModel" />
  <xs:complexType name="ArrayOfReSyncResult">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ReSyncResult" nillable="true" type="tns:ReSyncResult" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfReSyncResult" nillable="true" type="tns:ArrayOfReSyncResult" />
  <xs:complexType name="ReSyncResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Response" nillable="true" type="tns:SyncOfflineCardResponseModel" />
      <xs:element minOccurs="0" name="SyncRequestId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReSyncResult" nillable="true" type="tns:ReSyncResult" />
  <xs:complexType name="SyncOfflineCardResponseModel">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q2:ResponseModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="Amount" type="xs:int" />
          <xs:element minOccurs="0" name="CardId" type="xs:int" />
          <xs:element minOccurs="0" name="DocumentId" type="xs:int" />
          <xs:element minOccurs="0" name="IsNew" type="xs:boolean" />
          <xs:element minOccurs="0" name="LastVisit" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="PaymentSourceId" type="xs:int" />
          <xs:element minOccurs="0" name="PersonId" type="xs:int" />
          <xs:element minOccurs="0" name="PersonStatistics" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person" type="q3:PersonStatisticsDetailedResponseModel" />
          <xs:element minOccurs="0" name="PhotoBlobId" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="PhotoUrl" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ResultMessage" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TotalVisits" type="xs:int" />
          <xs:element minOccurs="0" name="idStripeBillingLog" type="xs:long" />
          <xs:element minOccurs="0" name="idVisitor" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SyncOfflineCardResponseModel" nillable="true" type="tns:SyncOfflineCardResponseModel" />
</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/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StatusCode" type="xs:int" />
      <xs:element minOccurs="0" name="ValidationResult" nillable="true" type="tns:ArrayOfResponseValidationResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseModel" nillable="true" type="tns:ResponseModel" />
  <xs:complexType name="ArrayOfResponseValidationResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfResponseValidationResultItem" nillable="true" type="tns:ArrayOfResponseValidationResultItem" />
  <xs:complexType name="ResponseValidationResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="Errors" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="Field" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" />
</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>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Person" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="PersonStatisticsDetailedResponseModel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:PersonStatisticsResponseModel">
        <xs:sequence>
          <xs:element minOccurs="0" name="LastScannedUtc" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="PersonId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PersonStatisticsDetailedResponseModel" nillable="true" type="tns:PersonStatisticsDetailedResponseModel" />
  <xs:complexType name="PersonStatisticsResponseModel">
    <xs:sequence>
      <xs:element minOccurs="0" name="FirstScannedLocal" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LastCardId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="LastOutLocal" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LastScannedLocal" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TotalScans" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PersonStatisticsResponseModel" nillable="true" type="tns:PersonStatisticsResponseModel" />
</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>